Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Agent (For UNIX Systems)


5.9.4 Setting Linux system files

Organization of this subsection

(1) Setting system files for Red Hat Enterprise Linux Server 6

Link the file (/etc/rc.d/init.d/jp1netmdmw) for executing automatic startup and shutdown of JP1/IT Desktop Management 2 - Agent, installation at system startup, and installation at system shutdown as shown below.

Settings for starting JP1/IT Desktop Management 2 - Agent automatically and installing packages at system startup:

- If started in a text environment:

ln -s /etc/rc.d/init.d/jp1netmdmw /etc/rc.d/rc3.d/Sxxjp1netmdmw

- If started in a graphical environment:

ln -s /etc/rc.d/init.d/jp1netmdmw /etc/rc.d/rc5.d/Sxxjp1netmdmw
Settings for installing packages at system shutdown:

ln -s /etc/rc.d/init.d/jp1netmdmw /etc/rc.d/rc0.d/Kyyjp1netmdmw

Settings for installing packages at system restart:

ln -s /etc/rc.d/init.d/jp1netmdmw /etc/rc.d/rc6.d/Kyyjp1netmdmw

In xx and yy, specify any 2-digit number. If the number duplicates another file number, the order of the files is determined by the whole file name. Note that a text busy error occurs and installation fails if:

If the software to be updated by software distribution starts automatically when the system starts, and JP1/IT Desktop Management 2 - Agent is used to distribute the software when the system starts, you must start JP1/IT Desktop Management 2 - Agent before the software to be updated starts. Similarly, if software is to be updated by software distribution when the system shuts down, the software to be updated must stop before JP1/IT Desktop Management 2 - Agent stops.

(2) Setting system files for Red Hat Enterprise Linux Server 7

The following describes the necessary settings for starting JP1/IT Desktop Management 2 - Agent automatically, and for installing packages at the startup or shutdown of the system.

Settings that enable automatic starting and stopping:
systemctl enable jp1netmdmw.service
Settings that disable automatic starting and stopping:
systemctl disable jp1netmdmw.service
Check whether automatic starting and stopping is enabled:
systemctl is-enabled jp1netmdmw.service

If the setting is enabled, enabled is displayed. If the setting is disabled, disabled is displayed.