How to install two PS_HOME with a unix to two DB id.

Team,


I have the connection with opfs000 id in unix and set with the below details and installed .bash_profile PS HOME, PS_APP_HOME for the DB (fsaaa).

Now, with the same id (id opfs000 of ), I need to install another PS HOME, PS_APP_HOME for the DB (fsbbb). Now, I don't know how to do this. can someone help me with the script or any suggeation of change in the psconfig.sh file

TEMP = / tmp

TUXDIR = / psoft/tux11g/tuxedo11gR1

PS_HOME = / psoft/PT853/fssit1

PS_APP_HOME = / psoft/FSCM92/fsaaa

ORACLE_HOME=/U01/app/Oracle/product/12.1.0/dbhome_1

PS_CFG_HOME = / psoft/PT853/fsaaa

javaHome=/usr/java/JDK1.7.0_60/JRE; javahome Export

COBDIR = / opt/chip/cobol; export COBDIR

Path = $PATH: $HOME: $ORACLE_HOME/bin: $COBDIR/bin: / bin. export PATH

LD_LIBRARY_PATH = $LD_LIBRARY_PATH: $ORACLE_HOME/lib: $TUXDIR/lib: $COBDIR/lib; export LD_LIBRARY_PATH

PATH = $TUXDIR/bin: $ORACLE_BASE: $ORACLE_HOME: $ORACLE_BIN: $PATH

. $PS_HOME/psconfig.sh

export of TEMP

export TUXDIR

export PS_HOME

Export ORACLE_HOME

export PS_CFG_HOME

The most common way to do this is to use an alias so when the user types something like the name of the environment originate the appropriate files.  For example, take what you have above and create a new script called fssit1_env.  Create aliases as psconfig.sh source and do other things you can do if it is not already in the script.

alias fssit1='export ORACLE_SID=FSAAA; . /home/opfs000/fssit1_env'
alias fssit2='export ORACLE_SID=FSBBB; . /home/opfs000/fssit2_env'

Then add these aliases line to .bash_profile or create a separate alias and source it comes from the .bash_profile file. You would have then two files distinct psconfig.sh in two separate houses.  You cannot reference several PS_HOMEs at the same time of a psconfig.sh. The easiest way to change the configuration would be and then disconnect and reconnect.  If it is heavy, you can create a script that resets the user environment so that she can get psconfig.sh properly again.  I wouldn't just the line that prevents you supply psconfig.sh again.  You can add this environment will give the script at the beginning of each alias then.

alias fssit2='. /home/opfs000/reset_env; export ORACLE_SID=FSBBB; . /home/opfs000/fssit2_env'

Other options may be edit .bash_profile to use a menu option for home use or simply echoing the statements for the user to copy and paste when they connect.

Tags: Oracle Applications

Similar Questions

  • How to install two operating systems on a single computer

    Original title: windows

    How to install two operating systems on a single computer, xp and windows 7... ?

    Hello

    Thank you for contacting Microsoft Community.
    For the installation of two Windows OS (called Dual Boot), you first determine what exactly the BONES. Based on this, you can proceed to install the oldest operating system first, then installing the latest OS. Here, in your case, Windows XP first and then Windows 7.
    If you change the order, the latest version of Windows will not work correctly.
    In addition, you can use Virtual PC or VMware to use Windows XP in Windows 7. Windows XP Mode is another version of Microsoft which allows you to use Windows XP in Windows 7 through Virtual PC. You can download Windows XP Mode from here:
    http://www.Microsoft.com/Windows/Virtual-PC/Download.aspx
    To install Windows XP Mode, you must have Windows 7 Professional or higher, with hardware virtualization enabled in your PC (you should check in the BIOS of your PC). If you prefer Windows XP Mode, you don't have to install Windows XP in the above mentioned way. It installs like any other program on Windows 7.
    Note that if you have Windows 7 Edition Home Premium or lower edition, you can try Windows XP using Virtual PC/VMware or dual-boot.
  • How to install an rpm with tdnf?

    I want an influxdb of installation in a container.  Web project page says that RedHat and CentOS users can install by downloading and installing the rpm like this:

    # 64-bit system install instructions
    wget http://influxdb.s3.amazonaws.com/influxdb-0.9.3-1.x86_64.rpm
    sudo yum localinstall influxdb-0.9.3-1.x86_64.rpm

    I'm smart, so after you download the file, I try this place:

    root [~] # tdnf install influxdb - 0.9.3 - 1.x86_64.rpm

    Error (905): nothing to do

    root [~] # tdnf info influxdb - 0.9.3 - 1.x86_64.rpm

    Error (1011): no matching packages to the list

    So, how to install an rpm with tdnf?

    Creating a file of .service turned out to be exaggerated.  After growth briefly in a huge mess, my final Dockerfile looks like this:

    Vmware/PHOTON

    MANAGER [email protected]

    ADD http://influxdb.s3.amazonaws.com/influxdb-0.9.3-1.x86_64.rpm my.rpm

    RPM - install my.rpm - noscripts

    RUN the ln-s /opt/influxdb/versions/0.9.3/influx/usr/local/bin. /

    EXPOSE THE 8086

    CMD ["" / opt/influxdb/versions/0.9.3/influxd ""]

    The "ln" seemed easier to add my WAY installation directory and allows me to launch the administrative CLI via exec docker.  There are still some adjustments to make, such as the implementation of a VOLUME to hold the database, but it seems to work well for me.

  • How to install two operating systems?

    win xp install

    All microsoft can do is talk talk talk you don't give any info how do you just say now with windows xp you can install two os on your computer. Worthless!  How are you stupid?

    Please see:

    Create a system for Windows 7 multiboot

    How to Dual Boot Windows 7 with XP or Vista

  • How to install xp sp3 with sata driver in my P8Z68-V THE?

    Hi my problem is that I want to install windows xp service Pack 3 in my new computer

    my new computer is compatible Windows7 how to install Windows XP on my new computer?
    It's my form of systems
    Motherboard: ASUS P8Z68-V (compatible with windows7)
    PROCESSOR: Intel Core i7-2600 CPU @3. 40 GHz (compatible with windows7)
    MEMORY: 8 GB
    GRAPHICS CARD: MSI AMD Radeon r6770 (compatible with windows7)
    is it posible to install windows xp sp3 on my profile?
    can u show me the steps by steps in the creation of the xp3 with sata controller
    and how to reformat and bios configuration or steps, follow the steps
    from the beginning to the end

    Hello

    You can follow this link & check if the problem persists:

    How to install or upgrade to Windows XP?

    You can also ask your question in the TechNet forum for assistance:

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

    Hope the helps of information.

  • How to install firefox last with the custom network home page

    I'm trying to figure out how to do a network with the latest firefox installation, but suitable for the bringing into default homepage for the intranet portal of companies. I have several thousand computers that require installation and pushing by network is the only realistic method, but I can't find a solution on how to change the homepage for this. Help, please!

    See:

  • How to install lightroom 4 with no CD on my macbook pro

    How to install Lightroom 4 on my Macbook Pro?  There is no cd drive.  Is there a link from the Web site where I can download the software?

    John, thank you - I thought about it!

  • How to install two screens-

    -HP pavilion h8xt, two monitors acer (w. both vga and dvi and also a socket dvi to Add ' l on the graphics card.) Monitors came with a double over dvi cord. Can I plug a monitor into the graphics card dvi connector and the other monitor into the other plug dvi on the computer back? I understand that once they come, I must make some adjustments in the settings but I do not know how to configure the plug in the monitor of the cords first. Thanks for any help-

    Given that you provide the model number or product number we can only guess at what are the specifications of your computer. Please provide this information for more detailed help.

    Guess you both integrated on the motherboard graphics and a discrete video card, SO you can use both sets of outputs at the same time. With a video card, built-in ports are disabled and can not be used. It seems to have been video graphic card in the series of h8xt option;

    1 GB DDR3 Radeon HD 6570 [DVI, HDMI. VGA adapter]

    2 GB DDR3 NVIDIA GeForce GT 530 [DVI, HDMI, VGA adapter]

    1 GB DDR3 Radeon HD 6670 [DVI, VGA, HDMI, DP]

    3GB DDR3 NVIDIA GeForce GT 545 [DVI, HDMI, VGA]

    1 GB DDR5 NVIDIA GeForce GTX 550 Ti [2 DVI, mini-HDMI. VGA adapter]

    1 GB DDR5 Radeon HD 6850 [2 DVI, 2 mini-DP, HDMI. VGA adapter]

    1.5 GB NVIDIA GeForce GTX 580 [2 DVI, HDMI, VGA adpt]

    The 2 above in RED will support 1 monitor using DVI adapter / VGA and the other using a monitor cable HDMI-DVI. The 5 listed above in GREEN will support 2 monitors using the DVI.

    Frank

  • How to install on Macbook with no cd-rom entry?

    I bought a photoshop elements 13 and used for a short time then on a window, but it is broken down and bought a new Macbook with no cd-rom entry but I don't have the serial number. How do we install?

    brgds Hanne

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • How to install a windows with different runas service account

    Hello
    I would like to ask, how can I change the account to connect to the course, I install the service. The default service account is localsystem. I would like to change in administrator or another account. The service needs to access the reader to share in the other server. If use the localsystem account, the service cannot access the network. someone has some idea for my case. I can't change it when it is installed, because I need to deploy the service of thousands of machines.

    Thank you
    Nicholas

    Hello

    1.) deploy the application on workstations
    2.) develop a batch script to automate the changing of credentials to services
    SC config obj = pass =

    You can use the administrator and the password admiistrator for the batch script.

    Don't forget to vote too useful for others and to accept the proposed response, if it is relevant build it KB in this Forum.

  • How to install the printer with the laptop. Printer was used with another computer.

    I wanted to use a printer with my laptop lexmark. The printer was used with another computer and it worked fine, but when I tried to use it with the laptop, I was not able find the installation disk and tried to install without it. The laptop produces a message indicating he could find the internet facility info if I accepted this. He had apparently fulfilled this function, and I tried to print a document. The document has been printed, but the result was so low, that it was not readable. I then found the installation disk and tried to restart but was confused by the messages and options. I don't have a printer that prints. Help.

    I wanted to use a printer with my laptop lexmark. The printer was used with another computer and it worked fine, but when I tried to use it with the laptop, I was not able find the installation disk and tried to install without it. The laptop produces a message indicating he could find the internet facility info if I accepted this. He had apparently fulfilled this function, and I tried to print a document. The document has been printed, but the result was so low, that it was not readable. I then found the installation disk and tried to restart but was confused by the messages and options. I don't have a printer that prints. Help.

    Unplug the printer from the laptop.  In Vista or Win 7, click Orb (Start), settings, Control Panel, printers. When the Lexmark printer is found, right-click on it and then click on remove.
     
    Equip your drive and install the drivers and programs on the disk, then when told the printer.  You should have a printer now works.
  • How to install hp dvd with the software and drivers, which came with a recovery CD?

    G72 259WM laptop... The application and Driver Recovery DVD supplied with the recovery kit (3 DVDs) was not loaded on my laptop when the hard drive has been replaced. I want to intall it butg there install the files on DVD and windows does not load it automatically. I just want my laptop to factory as it was when I bought the system.

     

    [personal information] I could not find a way to do this, please help! Thanks in advance!

    The shop obviously does not use your recovery disks to install Windows on the new drive. I had suspected that when you said that none of the original software has been installed. Recovery Manager also would have been installed.

    I would go back to the shop, with the recovery discs in hand and ask that they make a correct installation, or do the installation yourself. Put the first disk in the CD/DVD drive, and then restart the laptop. If you get a prompt to hit any key to boot from the CD/DVD, press the space bar.

  • How to install Adobe (purchased with a scanner) on another computer?

    I bought Adobe XI with a Fujitsu scanner.  I just had to get a new computer because my last one (where I installed initially Adobe) crashed.  The news has no DVR/CD drive so I can't install it that way.  And when I tried to download, the installer said that my serial number was not valid.  I know that it is valid, however, because it is marked 'serial number' on the cover of the disc.  Can anyone help?

    Adobe is a company... what Adobe program that you say?

    -http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

  • How to install Acrobat compatible with Windows XP compared to clouds Creative

    I got creative cloud since 2012 membership. I have only Windows XP on my desktop. I downloaded Adobe Acrobat XI previously and it was working fine, however, Avast deleted part of the program, saying that he was not sure. How can I reinstall Acrobat XI, as it says I need a serial number?

    You will not be able to get through the cloud because XP does not work with the cloud.  You should be able to download through the next page

    Acrobat XI, X - http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html

  • How to install Photoshop CS6 with another I have Mac (where you can not put a CD)

    Hello

    I new I Mac and I just realize there is nothing to put the Setup CD for my Photoshop CS6...

    How can I do to install it in my computer (I have the serial number and product number too).

    Thanks a lot for your help.

    You can answer in English, Spanish or french.

    Emilie

    You can download the trial and use your serial number to activate to use fully.  Here is a link to download via the Adobe website:

    http://helpx.Adobe.com/x-productkb/policy-pricing/CS6-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.  This is a direct download and does not imply the download assistant.

    Don't forget to follow the steps described in the Note: very important article Instructions on the pages to download to this site or the download may not work properly.

    CS6:

    http://prodesigntools.com/Adobe-CS6-direct-download-links.html

Maybe you are looking for

  • Spelling as I type does not. It is enabled in the preferences, but no red underscores

    He used to work in the previous version, I was runing Tiger, but not in OS10.6.6 (Firefox 3.6.13)

  • HP Pavilion Elite

    HP Pavilion HPE-170 t, Core i7, 1 GB ATI Radeon, W7 Home premium IE10. Last night I was on the PC was a blue screen. He said windows were shut down to avoid damage the system? and to remove new installed software or hardware. He gave me an option to

  • I'm sure that I've been hacked. Can you help me?

    I have never tried to install a Windows partition on my computer.  My iMac started running slowly and I was worried.  I now have Windows Server on the computer logs as well.  I have Offivc Here's what I found in one of the newspapers: Jan 26 06:01:29

  • Questions X 300 - 13p Qosmio Win 7 64 bit upgrade

    Hello I've updated X 300 - 13p up to Win 7 Home Premium 64-bit.Since the model somehow not in the list of models Qosmio X 300 (why?), I found all need drivers (win7 64 bit, Russia) using filter s/n and drivers laptop.Laptop works now. Questions (plea

  • Windows XP says need to activate to open a session. Caug in a loop.

    WINDOWS XP HOME SP1.  YOU MUST ACTIVATE IN LOG ON. WHEN I CLICK ON ACTIVATE NOW, IT SAYS WINDOWS IS ALREADY ACTIVATED AND ME LANCE IN THE LOG ON SCREEN. WHEN I CLICK ON THE ACCOUNT IT GOES BACK TO THE NEED TO ACTIVATE THE SCREEN. I CAN LOG ON IN SAFE