Skip to main content

Steps to manually deploy OEM agent 13c on Windows Targets


Source OS: Windows 2012 R2

Target OS: Windows 2012 R2

OEM: 13c


STEP 1: Download agent deployment files on OEM host server

             Login into the EMCLI as sysman

        D:\EMCC_13_4_Home\bin>emcli login –username=sysman

        This will prompt you for password

Synchronize the EMCLI so that it is upto date with repository

        D:\EMCC_13_4_Home\bin>emcli sync

Query the repository to check if agent image for supported platforms are in the repository

                    D:\EMCC_13_4_Home\bin>emcli get_supported_platforms

                  Download the agent (In my case it is Windows x64)

        D:\EMCC_13_4_Home\bin>emcli get_agentimage –destination=C:\oem_agent –platform=”Microsoft Windows x64 (64-bit)” –version=13.4.0.0.0

            Zip file gets downloaded in destination folder D:\oem_agent

       Name of the zip file = 13.4.0.0.0_AgentCore_233


STEP 2: Copy the AgentCore zip file and stage it on the target server

            Target server location:  D:\emc13_4


STEP 3: Unzip the zip file on target server

You will see a list of files. Important one is agentDeploy.bat file. This batch file we will use to deploy the agent on target server


STEP 4: Open command prompt in Run as administrator mode

C:\Windows\System32>D:


STEP 5: Change directory to unzipped Agent Core folder

D:\>cd D:\emc13_4\13.4.0.0.0_AgentCore_233

D:\emc13_4\13.4.0.0.0_AgentCore_233>


STEP 6: agentDeploy.bat requires inputs of mandatory parameters:

           AGENT_BASE_DIR= D:\em13_4

           AGENT_INSTANCE_HOME= D:\em13_4\agent_inst (agent_inst folder will be created during installation)

           AGENT_REGISTRATION_PASSWORD=Xyz123Abc (Set during OMS installation on Host)

           AGENT_PORT=3872  (Default port)

           EM_UPLOAD_PORT=1159  (Default port)

            s_agentHomeName=ABCPROD (Hostname of target server)

            OMS_HOST=OMSPROD (Hostname of OMS server)

NOTE:  You can get information about ports on Host Server. Portlist.ini file contains all the ports assigned for OEM functioning.

C:\EMCC_13_4_Home\install\potlist.ini


STEP 7: Run the agentDeploy.bat file with mandatory parameters

            D:\emc13_4\13.4.0.0.0_AgentCore_233>agentDeploy.bat

            NOTE: If agentDeploy.bat gives error then use parameters on command line directly.

D:\emc13_4\13.4.0.0.0_AgentCore_233>agentDeploy.bat AGENT_BASE_DIR=D:\em13_4 AGENT_INSTANCE_HOME=D:\em13_4\agent_inst OMS_HOST=OMSPROD EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=Xyz123Abc AGENT_PORT=3872 s_agentHomeName=ABCPROD

 

STEP 8: Check the status of OEM agent

              D:\em13_4\agent_inst\bin>emctl status agent


If you have any doubt on this topic, you can ask in comments. Thanks for reading. :)



Comments

Post a Comment