среда, 5 декабря 2012 г.

oracle server rehosting


EM Not working after host name change (11g R2 solaris)
http://www.orafaq.com/forum/t/162719/0/

1. попытка переделать конфиги (.properties) в $ORACLE_HOME/<nodename>_<SID>
потерпела неудачу из-за b64InternetCertificate.txt, b64LocalCertificate.txt, которые выданы для старого имени хоста.

Зато нашлась процедура в документации oracle:
http://docs.oracle.com/cd/E18283_01/server.112/e17120/dbcontrol006.htm (EMCA Troubleshooting Tips)

Раздел: "Using EMCA When the Database Host Name or IP Address Changes"

When the database host name (including the domain name) or the IP address changes, deconfigure and then reconfigure Database Control with the -repos recreate flag for the emca command. For example, to recreate Database Control with a new host name, complete the following steps:
  1. Set ORACLE_HOSTNAME=old_hostname in the environment.
  2. De-configure the old dbconsole by running the following command:
    For a single-instance database:
    $ $ORACLE_HOME/bin/emca -deconfig dbcontrol db
    
    For Oracle RAC:
    $ $ORACLE_HOME/bin/emca -deconfig dbcontrol db -cluster
    
  3. Un-set ORACLE_HOSTNAME in the environment.
  4. Configure a new dbconsole by running one of the following commands:
    For a single-instance database, enter:
    $ $ORACLE_HOME/bin/emca -config dbcontrol db -repos recreate
    
    For Oracle RAC, enter:
    $ $ORACLE_HOME/bin/emca -config dbcontrol db -repos recreate -cluster
    

Комментариев нет:

Отправить комментарий