/
Using Systemd to manage the PowerConnect Cloud Agent
Using Systemd to manage the PowerConnect Cloud Agent
The PowerConnect Cloud agent can be managed by Systemd.
Create the powerconnect systemd service file:
sudo vi /etc/systemd/system/powerconnect.service
2. Populate the contents as follows:
[Unit]
Description=PowerConnect Cloud agent
[Service]
Environment=POWERCONNECT_SECRET=<insert secret here>
# Environment=POWERCONNECT_MEMBERS=<insert members here>
SuccessExitStatus=143
User=powerconnect
Group=powerconnect
Type=forking
Restart=on-failure
RestartSec=30
ExecStart=/bin/bash /opt/powerconnect/bin/powerconnect.sh start
ExecStop=/bin/bash /opt/powerconnect/bin/powerconnect.sh stop
[Install]
WantedBy=multi-user.target
3. Set the POWERCONNECT_SECRET variable placeholder with a value as shown above
Uncomment and set the POWERCONNECT_MEMBERS variable if running a cluster
4. Reload the Systemd service:
sudo systemctl daemon-reload
5. Start the PowerConnect Cloud agent using Systemd:
sudo systemctl start powerconnect.service
6. Check the status:
systemctl status powerconnect
7. To have Systemd start the PowerConnect Cloud agent when the host starts up:
sudo systemctl enable powerconnect
, multiple selections available,
Related content
Configuring the PowerConnect Agent to use a Proxy
Configuring the PowerConnect Agent to use a Proxy
More like this
Configuring the PowerConnect Agent UI to use SSL
Configuring the PowerConnect Agent UI to use SSL
Read with this
Configuring a PowerConnect Cloud Cluster
Configuring a PowerConnect Cloud Cluster
More like this
Using Systemd to manage the PowerConnect for SAP HANA DB Agent
Using Systemd to manage the PowerConnect for SAP HANA DB Agent
More like this
PowerConnect Cloud Upgrade
PowerConnect Cloud Upgrade
More like this
PowerConnect Cloud 1.0.6 Release Notes
PowerConnect Cloud 1.0.6 Release Notes
More like this