2.5.6 Installing JP1/IM - Agent (for Linux)
Install JP1/IM - Agent on agent. This section describes how to install a new JP1/IM - Agent.
- Organization of this subsection
(1) Install from agent package (for Linux)
Inside the system monitored by JP1/IM, JP1/IM - Agent is newly installed on the host to be agent. To install, use agent package downloaded from the manager.
Agent package is registered automatically when the manager is installed.
Prerequisites
The following conditions must be met:
-
OS of hosts to be installed is JP1/IM - Agent premise OS.
-
OS person who performs the install has root privileges.
-
The default environment variable is set for the host to be installed.
-
The Intelligent Integrated Management Base is set up.
-
JP1/IM - Manager is running.
-
JP1 user used to log in has the required permissions assigned.
Operating procedure
-
Log in to the host where you want to install JP1/IM - Agent.
-
Run REST API to download agent package that is registered with the manager.
The following shows a sample file-retrieval using curl command.
curl -OL -H "Authorization: Bearer token" -H "Cookie: JSESSIONID=Session ID" -v http://JP1/IM - Manager hostname:20703/download/imagent/ JP1/IM - Agent package filename
Tokens and session ID are obtained by issuing a login REST API.
curl -X POST -H "Content-Type: application/json" -d '{"user": "username", "password": "password"}' -v http://JP1/IM - Manager hostname:20703/im/api/v1/login
It is recommended to issue a logout REST API immediately after completion.
curl -X POST -H "Content-Type: application/json" -H "Cookie: JSESSIONID=Session ID" -v http://JP1/IM - Manager hostname: 20703/im/api/v1/logout
-
Unzip the downloaded agent package.
Here is an example of how to decompress:
tar -zxvf jp1_pc_agent_linux_JP1/IM - Agent version number (VVRRSS format).tar.gz
-
Start the installer.
Follow the instructions of the booted installer to proceed with the installation.
-
After the installation is complete, configure JP1/IM - Agent servicing.
Related topics
-
1.3.1(3)(c) Initialization environment variable used by the installer in the Configuration Guide
-
2.3.1 Installation Procedure (for UNIX) in the Configuration Guide
(2) Install from the provided media (for Linux)
Inside the system monitored by JP1/IM, install a new JP1/IM - Agent on agent host.
Prerequisites
The following conditions must be met:
-
OS of hosts to be installed is JP1/IM - Agent premise OS.
-
OS person who performs the install has root privileges.
-
Intelligent Integrated Management Base is set up.
-
The default environment variable is set for the host to be installed.
Operating procedure
-
Exit the program.
-
Put JP1/IM - Agent offering medium into the drive.
-
Install and start Hitachi PP Installer by running the following command:
/cdrom/XXXX/setup/cdrom
The part of XXXX depends on your OS. In addition, specify the device special name that is automatically mounted in "/cdrom" of the device special name.
When Hitachi PP Installer starts up, the Welcome page appears. The following is an example of the initial screen that is displayed.
-
Enter "I" in the default Hitachi PP Installer window to open the software list.
-
Move the cursor in the software list to "JP1/Integrated Management 3-Agent" and select it with the spacebar.
-
Type "I" in Hitachi PP Installer to begin installing JP1/IM - Agent.
The initial setup settings are automatically configured so that JP1/IM - Agent can operate as soon as it is installed.
-
After the installation is complete, enter "Q" to return to the initial screen.
-
After you finish Hitachi PP Installer, create JP1/IM - Agent autostart scripting.
Run the command as follows:
jpc_service_autostart -on
Related topics
-
1.3.1(3)(c) Initialization environment variable used by the installer in the Configuration Guide
-
2.3.1 Installation Procedure (for UNIX) in the Configuration Guide