get_agentimage
Gets the Management Agent image for the particular platform and version provided as inputs.
Format
emcli get_agentimage -destination=<download_directory> -platform="<platform>" [-version=<version>] [ ] indicates that the parameter is optional.
Options
-
destination
Directory where you want to download the Management Agent software. Ensure that you have write permission on this location.
If the destination directory is titled with two or more words separated by a space, enclose the directory name with double-quotes. For instance, if the destination directory is titled /tmp/linuxagentimage, enter the value as -destination="/tmp/linuxagentimage"
-
platform
Platform for which you want to download the software; this must match one of the platforms for which the software is available on the OMS host. Use the emcli
get_supported_platforms
command to determine this. -
version
Version of the Management Agent software that you want to download. If you do not specify this , the version defaults to the OMS version.
Note:
When cross platform is used to get an agent image, you will need to set the Zip and Unzip location as an environment path, if this is not set theget_agentimage
will fail.
Examples
emcli get_agentimage -destination=/tmp/agtImage -platform=Linux x86 -version=12.1.0.1.0