Changing the logical host name of the virtual machine is not mandatory for accessing Oracle E-Business Suite applications. Our recommendation is to continue using the logical or virtual name as set when you install and front end the virtual machine with the virtual machine's public host name or any other device, such as a reverse proxy or a load-balancer, for access from external clients. Administrators can use the configwebentry.sh script shipped in the /u01/install/scripts directory for this purpose.
Please note that the instructions described in this section have been validated on the single node Vision instance virtual machine.
Perform the following steps to change the host name of the virtual machine:
- Start the virtual machine.
- Log in as the oracle user.
- Source the runtime environment:
- Execute the following command to start the Admin server:
- Execute the following command:
- Source the patch environment in the patch edition file system:
- Execute the following command:
- Execute the following command:
- Execute the following command to shut down the Oracle E-Business Suite application tier services:
- Execute the following command to shut down the Oracle E-Business Suite database tier services:
- Execute the following command as the root user and provide the same IP configuration details and the new host name:
- Use the following two chkconfig commands to ensure that the boot scripts will not automatically start the database and application tiers upon boot. Use init 6 to reboot the VM.
- Once the virtual machine has rebooted, log in as the root user and ensure echo $HOSTNAME returns the new host name.
- Execute the following command as the root user:
Note: Change the SID of the Database (Conditional)
If you want to change the SID of the database at this stage, perform the following task before runningdbconfig.sh
:
- Edit the
db_pairs.txt
file in the/u01/install/APPS/scripts/
directory using the following commands:
[root@apps ~]# cd /u01/install/APPS/scripts/
[root@apps ~]# sed -i "s/^s_dbSid=.*$/s_dbSid=VIS1227/" db_pairs.txtIn this example, consider "VIS1227" the new SID.
- Edit the
- Execute the following command as the root user:
- Stop any processes that is running from the patch file system.
- Log in as the oracle user and source the run file system.
- Execute the following command to create the patch file system:
- Perform the following steps to ensure that you can run online patching cycles without any errors on the reconfigured environment:
- Bring up processes from the run file system if they are down.
- Execute two adop empty cycles using the following commands:
[oracle@apps ~]$ adop phase=prepare
[oracle@apps ~]$ adop phase=cutover
[oracle@apps ~]$ adop phase=prepare
[oracle@apps ~]$ adop phase=cutover - Attach inventory post appsconfig by executing the following command as the oracle user:
[oracle@apps ~]$ . /u01/install/APPS/EBSapps.env run
[oracle@apps ~]$ $INST_TOP/admin/scripts/adadminsrvctl.sh start
[oracle@apps ~]$ $INST_TOP/admin/scripts/adpreclone.pl appsTier
[oracle@apps ~]$ . /u01/install/APPS/EBSapps.env patch
[oracle@apps ~]$ $INST_TOP/admin/scripts/adadminsrvctl.sh start forcepatchfs
[oracle@apps ~]$ $INST_TOP/admin/scripts/adpreclone.pl appsTier
[oracle@apps ~]$ /u01/install/APPS/scripts/stopapps.sh
[oracle@apps ~]$ /u01/install/APPS/scripts/stopdb.sh
[root@apps ~]# /u01/install/scripts/configstatic.sh
[root@apps ~]# chkconfig apps off
[root@apps ~]# chkconfig ebsdb off
[root@apps ~]# init 6
[root@apps ~]# /u01/install/APPS/scripts/dbconfig.sh
dbconfig.sh
script completes, the database is left running with its new SID, such as "VIS1227", in this example.[root@apps ~]# /u01/install/APPS/scripts/appsconfig.sh
[oracle@apps ~]$ . /u01/install/APPS/EBSapps.env run
[oracle@apps ~]$ adop phase=fs_clone force=yes
[oracle@apps ~]$ /u01/install/APPS/12.1.0/oui/bin/attachHome.sh
Configure a Static IP/u01/install/scripts/configstatic.sh: line 75: ovm_configure_network: command not found
ReplyDelete