2.18.6 Register JP1/IM - Agent package (for Windows) (for UNIX)
You can add JP1/IM - Agent package (hereinafter it is called as JP1/IM - Agent package) to JP1/IM - Manager host. You can also add JP1/IM - Agent packages of more than one Version.
You can install JP1/IM - Agent on agent host by downloading JP1/IM - Agent packages registered on JP1/IM - Manager host without using JP1/IM - Agent offered media.
To add JP1/IM - Agent packages is optional.
- Organization of this subsection
(1) How to register JP1/IM - Agent Package
When you install JP1/IM - Manager on JP1/IM - Manager host, the included JP1/IM - Agent packages are registered automatically.
- Important
-
To be able to download JP1/IM - Agent package regostered to the manager host, you need to setup Intelligent Integrated Management Base.
If you version up install JP1/IM - Manager on the manager host, JP1/IM - Agent packages of the old Version that are already installed will not be deleted and be remained.
(2) How to JP1/IM - Agent Packages
If you want to delete JP1/IM - Agent package registered on the manager host, delete files of register place for JP1/IM - Agent packages as follows:
OS |
JP1/IM - Agent packaging |
||
---|---|---|---|
Register place |
File Name |
Product name |
|
Linux |
/opt/jp1imm/public/download/imagent/ |
jp1_pc_agent_windows_Version number of JP1/IM-Agent (in VVRRSS format). zip |
JP1/IM - Agent(Windows version) |
jp1_pc_agent_linux_Version number of JP1/IM-Agent (in VVRRSS format). tar.gz |
JP1/IM - Agent(Linux version) |
(3) How to Download JP1/IM - Agent Package
To download JP1/IM - Agent package, follow these steps:
- Prerequisites
-
JP1/IM - Agent packaging is registered on the manager host.
-
Setup of Intelligent Integrated Management Base is Completed.
-
The JP1 user used to log in has been assigned the necessary permissions.
- Steps
-
Execute REST API of File downloads to download JP1/IM - Agent package.
To obtain a distribution (File downloading) from a JP1/IM - Manager, you need JP1 user's authentication. For more information, see "5.2.8 How to authenticate REST API" in "JP1/Integrated Management 3 - Manager Command, Definition File and API Reference" documentation.
The following is an example of how to use OSS's curl command to obtain File in REST API of downloading File.
curl -OL -H "Authorization: Bearer token" -H "Cookie: JSESSIONID = Session ID" -v http://JP1/IM - Manager Host name : 20703/download/imagent/ File name
The token and session ID are obtained by issuing a REST API for Login.
curl -X POST -H "Content-Type: application/json" -d '{"user": " User name ", "password": " Password "}' -v http://JP1/IM - Manager Host name :20703/im/api/v1/login
It is recommended to issue a REST API of Log Out immediately after completion of File acquisition.
curl -X POST -H "Content-Type: application/json" -H "Cookie: JSESSIONID = Session ID " -v http://JP1/IM - Manager Host name : 20703/im/api/v1/logout
-
Unzip the downloaded JP1/IM - Agent packages.
-
For Windows
Use PowerShell to execute the following command:
Expand-Archive -Path jp1_pc_agent_windows_JP1/IM - Agent-version-number (VVRRSS format).zip
-
For Linux
Use a shell to execute the following command:
tar -zxvf jp1_pc_agent_linux_ JP1/IM - Agent-version-number (VVRRSS format).tar.gz
-