Database Reference
In-Depth Information
Make the AgentPull.sh script executable:
4.
[oracle@target ~]$ chmod +x AgentPull.sh
5.
Check available platforms:
[oracle@target ~]$ ./AgentPull.sh -showPlatforms
Platforms Version
Linux x86-64 12.1.0.2.0
To use the AgentPull script, create a response fileā€”for example, agent.rsp (in any
location on the destination host, preferably in the same directory as the AgentPull script):
6.
[oracle@target ~]$ vi agent.rsp
LOGIN_USER=sysman
LOGIN_PASSWORD=<sysman_password>
PLATFORM="Linux x86-64"
VERSION=12.1.0.2.0
AGENT_REGISTRATION_PASSWORD=<registration_password>
Then run the AgentPull script:
7.
[oracle@target ~]$ ./AgentPull.sh RSPFILE_LOC=/home/oracle/agent.rsp AGENT_BASE_DIR=/u01/agent
After the script successfully completes, open a new terminal window, log in as ROOT ,
and run the configuration scripts (the locations of the scripts are written in the output of
AgentPull.sh ):
8.
[root@target ~]# /u01/agent/core/12.1.0.2.0/root.sh
Finished product-specific root actions.
/etc exist
Finished product-specific root actions.
[root@target ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory
Adding read,write permissions for group,Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete
After you execute the script, agent deployment is completed.
Using the agentDeploy Script
To deploy a management agent by using the agentDeploy script, follow these steps:
1.
Create a user for the management agent, create the required directories, and give
permission to the management agent user. We assume that you are creating the ORACLE
user, so log in as ROOT and run the following commands:
[root@target ~]# groupadd oinstall
[root@target ~]# groupadd dba
[root@target ~]# useradd -g oinstall -G dba oracle
[root@target ~]# passwd oracle
 
Search WWH ::




Custom Search