13 Ocak 2010 Çarşamba

Enterprise manager agent reconfigure

1- agent ı durdur

$PROMPT> cd AGENT_HOME/bin
$PROMPT> ./emctl stop agent

örn durumlar:
emctl start agent
emctl stop agent
emctl status agent

2-Locate the emd.properties file in the Management Agent home directory:

AGENT_HOME/sysman/config/emd.properties

3-Use a text editor to open the file and locate the REPOSITORY_URL property.

4-Modify the value for the REPOSITORY_URL property so it references the new Management Service.

For example:

REPOSITORY_URL=http://mgmthost2.acme.com:4889/em/upload

5-Modify the value for the emdWalletSrcUrl and emdWalletDest properties so they reference the new Management Service and the new Oracle home path, respectively:

For example, if the new Management Service is on a host called mgmthost2.acme.com and the new Oracle home is /private/oracle/em10g, modify the properties as follows:

emdWalletSrcUrl=http://mgmthost2.acme.com:4889/em/wallets/emd
emdWalletDest=/private/oracle/em10g/sysman/config/server

6-Save your changes and close the emd.properties file.

7-Delete all the files in the following directories:

AGENT_HOME/sysman/emd/upload/
AGENT_HOME/sysman/emd/state/
Note:

You can use the emctl clearstate agent command to delete the files in the state directory.
8-Restart the Management Agent.

ekstra işlemler


Securing the Management Agent
To secure the Management Agent of the new Management Service, use the following command:

emctl secure agent

Hiç yorum yok:

Yorum Gönder