References
Overview
This procedure sets up the Agent Deploy Application on
GRIDCTRL
.
Installing Management Agent Using 10.2.0.3 or higher Enterprise Manager Grid Control
As OEM on
GRIDCTRL
is 10.2.0.5, I am following
Installing Management Agent Using 10.2.0.3 or higher Enterprise Manager Grid Control
.
Set the TZ variable and Restart the SSH Daemon
Following
Set the TZ variable and Restart the SSH Daemon
, I added the following line to
~/.bashrc
for the
oracle
user on
GRIDCTRL
,
BANKSTOWN
, and
PENRITH1
:
export TZ=$(date +'%Z')
This gets the alphanumeric representation of the time zone as set by the system.
I then used the following command (as
root
):
service sshd restart
Validate All Command Locations
On
GRIDCTRL
,:
cd /opt/oracle/app/OracleHomes/oms10g/sysman/prov/resources/ export JAVAHOME="/opt/oracle/app/OracleHomes/oms10g/jdk" export JARS_LOC="/opt/oracle/app/OracleHomes/oms10g/sysman/prov/agentpush/jlib"
As directed by Validate All Command Locations , I validated the paths:
[oracle@gridctrl resources]$ scripts/validatePaths -dirloc . Using java from /opt/oracle/app/OracleHomes/oms10g/jdk Using jars from /opt/oracle/app/OracleHomes/oms10g/sysman/prov/agentpush/jlib Loading platformInfo.properties: /opt/oracle/app/OracleHomes/oms10g/sysman/prov/resources/./platformInfo.properties current platform id: 46 Loading properties: /opt/oracle/app/OracleHomes/oms10g/sysman/prov/resources/./Paths.properties Loading properties: /opt/oracle/app/OracleHomes/oms10g/sysman/prov/resources/./sPaths.properties Loading properties: /opt/oracle/app/OracleHomes/oms10g/sysman/prov/resources/./userPaths.properties Verify paths ............................. ############################################################### The following executables were not found at their default locations. Please provide the locations in userPaths.properties. SUDO_PATH=/usr/local/bin/sudo Steps to specify the command locations: Set system property oracle.sysman.prov.PathsPropertiesLoc to a directory d. Create a file userPaths.properties in the directory d. Specify the correct locations of the commands in the properties file.
The file,
userPaths.properties
, was updated with:
SUDO_PATH=/usr/bin/sudo
Verify User Credentials
Following
Verify User Credentials
, I used
visudo
as the
root
user on
GRIDCTRL
,
BANKSTOWN
, and
PENRITH1
to uncomment the following line in
/etc/sudoers
:
%wheel ALL=(ALL) NOPASSWD: ALL
And then, I used
usermod
to add the
wheel
group to the
oracle
user on
GRIDCTRL
,
BANKSTOWN
, and
PENRITH1
.
This is pointless because of the following problem:
[oracle@gridctrl resources]$ ssh -l oracle -n bankstown 'sudo date' sudo: sorry, you must have a tty to run sudo
Turn Firewall Off
In order for the EM Agent to talk to OMS, the firewall has to be turned off:
service iptables off chkconfig --level 5 iptables off