3.13.2 Distribution procedure
- Organization of this subsection
(1) New distribution
- Working with the Provider of the Distribution
-
Preparing the distribution
The following is an image of preparing for a handout. Files can be edited and molded in any working directory.
-
Arrange JP1/IM - Agent installer.
-
Install JP1/IM - Agent on the JP1/IM - Manager host in the development environment and obtain the file to be distributed.
-
If necessary, after editing the obtained file (definition file), form the file to be distributed into a format that can be distributed.
-
For details on the requirements for the distribution, see the explanation of the requirements for the distribution in Notes in 5.15.1 Get distribution (File download) in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.
-
Starting Distribution of the Distribution
The following is an image of the start of distribution of the handout.
-
Store the distribution in the default directory of JP1/IM - Manager.
-
If the JP1/IM - Manager service is stopped after storing the distribution, start the JP1/IM - Manager service.
If the JP1/IM - Manager service is already running, you do not need to restart the JP1/IM - Manager service.
-
Notify users of the handout that they have started distributing the handout.
-
For details on the requirements for the distribution, see the explanation of the requirements for the distribution in Notes in 5.15.1 Get distribution (File download) in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.
- Working with Users of Distributions
-
Obtaining Distributions
The following is an image of the acquisition of handouts after receiving notification of the start of distribution of handouts. As an example, OSS curl command is used to obtain distribution.
-
Create an arbitrary working directory.
- When the monitored host is in a Windows environment
mkdir C:\home\work
- When the monitored host is in a Linux environment
mkdir /home/work
-
On the console, navigate to the working directory.
- When the monitored host is in a Windows environment
cd C:\home\work
- When the monitored host is in a Linux environment
cd /home/work
-
Use the curl command to issue an API for obtaining the distribution (file download) (authentication method is Basic authentication).
- When the monitored host is in a Windows environment
curl -f -X GET -O -u jp1admin:jp1admin "http://JP1/IM - Manager-host-name:Intelligent-Integrated-Managemen-Base-port-number/download/Name-of-the-directory-where-the-distribution-is-stored/File-name-of-the-distribution-for-Windows"
- When the monitored host is in a Linux environment
curl -f -X GET -O -u jp1admin:jp1admin "http://JP1/IM - Manager-host-name:Intelligent-Integrated-Managemen-Base-port-number/download/Name-of-the-directory-where-the-distribution-is-stored/File-name-of-the-distribution-for-Linux"
-
If the handout retrieval is successful, the handout is stored in the working directory.
For details about the Distribution acquiring (File downloads) API, see 5.15.1 Get distribution (File download) in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.
-
Introduction of Distribution
Deploy the distribution to the monitored host.
(2) Redistribution
- Working with the Provider of the Distribution
None.
- Working with Users of Distributions
-
Obtaining Distributions
Perform the same procedure as in "Obtaining Distributions" in Working with Users of Distributions in 3.13.2(1) New distribution.
-
Introduction of Distribution
Perform the same procedure as described in "Introduction of Distribution" in Working with Users of Distributions in 3.13.2(1) New distribution.
(3) Distribution of upgraded versions
- Working with the Provider of the Distribution
-
Preparing the distribution
Perform the same procedure as described in "Preparing the distribution" in Working with the Provider of the Distribution in 3.13.2(1) New distribution for the distribution of version upgrades.
-
Starting Distribution of the Distribution
In response to the version upgrade distribution, we will follow the same procedure as "Starting Distribution of the Distribution" in Working with the Provider of the Distribution in 3.13.2(1) New distribution and inform you that the distribution has been upgraded.
- Working with Users of Distributions
-
Obtaining Distributions
After receiving the notification of version upgrading of the distribution, perform the same operation as in "Obtaining Distributions" in Working with Users of Distributions in 3.13.2(1) New distribution for the distribution of the version upgrading.
-
Introduction of Distribution
Perform the same procedure as described in "Introduction of Distribution" in Working with Users of Distributions in 3.13.2(1) New distribution for the distribution of version upgrades.
(4) Removal of handouts
- Work of Distribution Providers
None.
- Working with Distribution Consumers
Remove the distribution from the monitored host.
(5) Stop distributing handouts
- Work of Distribution Providers
-
Delete the distribution stored in JP1/IM - Manager.
It is not necessary to stop the JP1/IM - Manager service to stop distribution of distribution.
-
Notify users of the distribution that the distribution has been suspended.
- Working with Distribution Consumers
None.