Agent Startup by Using systemd
(1) Creation of Unit files (.service)
Execute 'generate_system.d_config.sh', which is included with Agent.
# sh {Agent installation directory}/bin/generate_system.d_config.sh
The Unit files named 'senderAgent.service' and 'receiverAgent.service' are created.
(2) Placement of Unit files
Place the created Unit file in '/etc/systemd/system'.
(3) Applying modifications
Execute 'systemctl daemon-reload'.
(4) Startup
Start Agent by using the following command:
# systemctl start senderAgent # systemctl start receiverAgent
(5) Setting of the automatic startup
Set automatic startup by using the following command:
# systemctl enable senderAgent # systemctl enable receiverAgent
Disable the setting of automatic startup by using the following command:
# systemctl disable senderAgent # systemctl disable receiverAgent
(6) Verification of the startup
Verify that Agent has started by using the following command:
# systemctl status senderAgent # systemctl status receiverAgent
The following command as previously mentioned is also available to verify that Agent has started. The below is an example of Agent on the receiving side.
# ./agentctl -r status status_receiver is called. receiver agent is ready to transfer. [002]