You can reset the time zone used by the Management Agent using the following command:
cd $AGENT_HOME/bin
cd $AGENT_HOME/bin
[oracle@testsrv bin]$ ./emctl resetTZ agent
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Updating /u01/app/oracle/agent12cr2/agent_inst/sysman/config/emd.properties...
Successfully updated /u01/app/oracle/agent12cr2/agent_inst/sysman/config/emd.properties.
Login as the em repository user and run the script:
exec mgmt_target.set_agent_tzrgn('testsrv:3872','Asia/Dacca')
and commit the changes
This can be done for example by logging into sqlplus and doing
SQL> exec mgmt_target.set_agent_tzrgn('testsrv:3872','Asia/Dacca')
SQL> commit
[oracle@testsrv bin]$
To see status of agent[oracle@testsrv bin]$ ./emctl config agent getTZ
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Asia/Dacca
No comments:
Post a Comment