9:58 AM
- On the server set the TZ to the correct time zone.
- $export TZ=US/Central
- $echo $TZ
- Create blackout
- $agent_home/bin/emctl start blackout `hostname` -nodeLevel
- Shutdown agent
- $agent_home/bin/emctl stop agent
- Reset agentTZ
- $agent_home/bin/emctl resetTZ agent
- Update agent target time zone in em repository
- Login to em repository database with sysman
- SQL>exec mgmt_target.set_agent_tzrgn('<AGENT_TARGET_NAME>','US/Central');
- SQL>commit;
- Start agent
- $agent_home/bin/emctl start agent
- $agent_home/bin/emctl upload agent
- Stop Blackout
- $agent_home/bin/emctl stop blackout `hostname`
Update Agent 12c time zone on Linux/UNIX for better synchronization. Tools like Site Country can optimize this process.
ReplyDelete