I’m not very used to EM12c yet, but things are moving and i need to move with it. Since we are migrating to EM12c, my recent task was to deploy Solaris SPARC agent…offline, since our EM12c installation needs to be “very secure”, whatever that means.
The initial step is to change your Connection Type to Offline:
Setup >> Extensibility >> Self Update. Then click on Connection Mode and change it to Offline:
Now you are in offline mode, and you need to update your catalog in order to get correct links for agents download. Go again to Setup >> Extensibility >> Self Update and Press “Check Updates”. EM12c will now give you the link for the latest catalog updates. Just go to an Internet browser and download the ZIP file:
After download the file, copy it to your OMS server and execute the following command to import the catalog updates:
[oracle@vmh045 bin]$ ./emcli import_update_catalog -file=/OEM12/p9348486_112000_Generic.zip -omslocal Processing catalog for Provisioning Bundle Processing catalog for Agent Software Processing update: Agent Software - Agent Software (220.127.116.11.0) for Microsoft Windows (32-bit) Processing update: Agent Software - Agent Software (18.104.22.168.0) for Microsoft Windows (32-bit) .... Operation completed successfully. Self Update catalog has been uploaded to Enterprise Manager. Please use the Self Update Home to view and manage updates
Note: You may need to sync the first:
[oracle@vmh045 bin]$ ./emcli login -username='SYSTEM' Enter password Login successful [oracle@vmh045 bin]$ ./emcli sync Synchronized successfully
If everything goes smooth, your catalog is uploaded and the next step is to get the agent url for download. Just go to Setup >> Extensibility >> Self Update >> Agent Software folder:
Select your plataform and version of the Agent and press download on the top. EM12c will give you the link you need:
Go again to an Internet browser and download the file. It will take a little more than previous download since agent software is, of course, bigger (262MB for Solaris SPARC). Copy ZIP file to your OMS server and run the following command:
[oracle@vmh045 bin]$ ./emcli login -user=SYSTEM Enter password : Login successful [oracle@vmh045 bin]$ ./emcli import_update -omslocal -file=/OEM12/p14570367_112000_Generic.zip Processing update: Agent Software - Agent Software (22.214.171.124.0) for Oracle Solaris on SPARC (64-bit) Operation completed successfully. Update has been uploaded to Enterprise Manager. Please use the Self Update Home to manage this update.
Go again to your Self Update > Agent Software screen and check it the status is “Downloaded”. Now click Apply to make the agent software available for deploy in available targets:
Oncee job runs with sucess, your Agent Software Status changes from “Downloaded” to “Applied”. Now you are ready to deploy the Agent Software.
Go to Setup >> Add Target >> Add Targets Manually and just add your hostname and select the platform to deploy. Choose a directory to deploy and go forward. EM12c will perform some checks and hopefully everything is ok and your agent will be deployed successfully.