Beruflich Dokumente
Kultur Dokumente
or IP change
If the IP address and/or hostname changes for a system running Oracle, the following file
should be updated to include the new IP address and/or hostname.
# /etc/hosts
Before Example:
# cat /etc/hosts
127.0.0.1 localhost
After Example:
# cat /etc/hosts
127.0.0.1 localhost
If the hostname changes, the following Oracle files should be renamed to include the new
hostname.
$ORACLE_HOME/<hostname>_dbname
$ORACLE_OME/oc4j/j2ee/OC4J_DBConsole_<hostname>_dbname
Before Example:
$ORACLE_HOME/oracle-node-1_dbaccounting
$ORACLE_OME/oc4j/j2ee/OC4J_DBConsole_oracle-node-1_dbaccounting
After Example:
$ORACLE_HOME/oracle-node-2_dbaccounting
$ORACLE_OME/oc4j/j2ee/OC4J_DBConsole_oracle-node-2_dbname
Also, the following file must be updated to include the new hostname.
$ORACLE_HOME/network/admin/tnsnames.ora
Before Example:
(HOST = oracle-node-1)
After Example:
(HOST = oracle-node-2)
[ossadmin@oracle-node-2 ]$ cd $ORACLE_HOME/bin
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-----------------------------------------------------------------
-----------------------------------------------------------------
INFO: Uploading configuration data to EM repository (this may take a while) ...
WARNING:
Management Repository has been placed in secure mode wherein Enterprise Manager
data will be encrypted. The encryption key has been placed in the file:
/OSS/ORA/oracle/product/11.1.0/db_1/oracle-node-
2.transnexus.com_dbaccounting/sysman/config/emkey.ora. Please ensure this file is
backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
https://oracle-node-2.transnexus.com:1158/em/console/aboutApplication
... Stopped.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[root@oracle-node-2 bin]#
https://oracle-node-2.transnexus.com:1158/em/console/aboutApplication