Switch Grid Control Agent to new OMS (11g):
1. Goto the AGENT Server:
cd $AGENT_HOME|
./emctl stop agent
./emctl switchOMS {OMS_URL}
e.g. ./emctl switchOMS https://new_oms:4900/em/upload
2. Modify $AGENT_HOME/sysman/config/emd.properties :
a. Make sure both EMD_URL & REPOSITORY_URL are pointed to https instead of http
b. change emdWalletSrcUrl to the new OMS hostname
> emdWalletSrcUrl=http://{new_oms}:4889/em/wallets/emd
3.
./emctl secure agent (Enter Agent Registration Password)
./emctl start agent
./emctl upload agent
./emctl status agent
ps. OMS port list can be obtained through the following command:
logon to OMS Server
cd $MW_HOME/oms11g/bin
./emct status oms -details