Database Reference
In-Depth Information
connectivity, and so forth) is also stored in the OMS to enable it to connect to the repository and do its work, so these
commands are basically synchronizing between the two.
Table 3-3 lists some of the more commonly used emctl commands from the OMS home.
Table 3-3. OMS emctl Commands
Command
Description
emctl abortresync repos (-full|-agentlist
"agent names") -name "resync name" [-sysman_
pwd "sysman password"]
Aborts the currently running repository resynchronization
operation. Use the full option to stop a full repository
resynchronization. Use the agentlist option to stop resync
on a list of agents.
emctl config oms -change_repos_pwd
[-change_in_db] [-old_pwd ] [-new_pwd ]
[-use_sys_pwd [-sys_pwd ]]
Changes the repository password.
emctl config oms -change_view_user_pwd
[-sysman_pwd ] [-user_pwd] [-auto_generate]
Changes the password of the MGMT_VIEW user.
-auto_generate generates a random password.
emctl config oms -list_repos_details
Shows the repository details in the OMS.
emctl config oms -store_repos_details
(-repos_host -repos_port -repos_sid |
-repos_conndesc ) -repos_user [-repos_pwd ]
[-no_check_db]
Changes and stores repository information in the OMS.
emctl delete property [-sysman_pwd "sysman
password"] -name
Removes the property from the emoms.properties file for the
given property name.
emctl dump oms
Dumps all node manager logs, admin server logs, managed
server logs, sysman logs, and stack trace files.
emctl dump omsthread
Dumps thread that is causing CPU spin.
emctl exportconfig oms [-sysman_pwd ] [-dir ]
[-keep_host]
Exports the configuration from the primary management
service.
emctl get property [-sysman_pwd "sysman
password"] -name
Gets the property value from the emoms.properties file for
the given property name.
emctl importconfig oms -file
Imports the exported configuration on the standby
management service.
emctl list oms
Gives the OMS name configured in that local Oracle home.
emctl list properties [-sysman_pwd "sysman
password"] [-module]
Lists all the properties set from the emoms.properties file.
emctl resync repos -full -name "<resync name>"
Initiates repository resync from one of the OMS Oracle
homes.
emctl secure lock [-upload] [-console]
Restricts HTTP access (that is, allows only HTTP/S access) to
the management service.
( continued )
Search WWH ::




Custom Search