gc 10201安裝小問題

wmlm發表於2011-07-20

OMS安裝失敗的原因:
gc 10201中的BUG,將系統日期改為2010年可以安裝OMS;因為下載不到補丁

OMA安裝失敗的原因:
可能是因為jar的路徑沒有設定。
下一步透過在209上的安裝來驗證OMA失敗的原因。

重複安裝OMA的注意事項:
設定TZ=GMT環境變數之後,還需要與oms的TZ 一致 使用命令$OMA_HOME/bin/emctl resetTZ agent
刪除oraInventory目錄下的ContentsXML/inventory.xml中的條目
如果出現upload version not checked yet
那麼clearstate 之後,serure agent 如果重啟成功,則agent upload就沒有問題

[@more@]

agent相關的參考資料
[oracle@node2 OracleHomes]$ agent10g/bin/emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting agent ..... failed.
The agentTZRegion value in /u01/OracleHomes/agent10g/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment,
please stop the agent
and exectute 'emctl resetTZ agent'
and also execute the script mgmt_target.set_agent_tzrgn(, ) to get the value propagated to repository.
Consult the log files in: /u01/OracleHomes/agent10g/sysman/log


agentTZRegion=GMT

[oracle@node2 ~]$ $OMA_HOME/bin/emctl resetTZ agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Updating /u01/OracleHomes/agent10g/sysman/config/emd.properties...
Successfully updated /u01/OracleHomes/agent10g/sysman/config/emd.properties.
Login as the em repository user and run the script:
exec mgmt_target.set_agent_tzrgn('node2.localdomain:3872','GMT')
This can be done for example by logging into sqlplus and doing
SQL> exec mgmt_target.set_agent_tzrgn('node2.localdomain:3872','GMT')
[oracle@node2 ~]$
[oracle@node2 ~]$
[oracle@node2 ~]$ emctl secure agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent successfully stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Done.
Requesting an Oracle Wallet and Agent Key from the OMS... Done.
Check if HTTPS Upload URL is accessible from the agent... Done.
Configuring Agent for HTTPS in CENTRAL_AGENT mode... Done.
EMD_URL set in /u01/OracleHomes/agent10g/sysman/config/emd.properties
Securing agent... Successful.
Agent successfully restarted... Done.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271063/viewspace-1052789/,如需轉載,請註明出處,否則將追究法律責任。

相關文章