Linux: The iSCSI service must be loaded at boot time

Follow

Test Description

The tool checks that the iSCSI service is configured to start on boot on Linux hosts.

 

This test case fails if:

The iSCSI service s not configured to start on boot.

This test case passes if:

The iSCSI service is configured to start on boot.

 

How to fix this test

Automatic fix

On Linux distributions supporting systemd, PowerTools attempts to configure the service to run on boot by using the systemctl tool.

On other distributions, PowerTools uses the native service command to configure the service to run on boot.

Manual fix

On linux distributions using systemd (SUSE 12, Ubuntu 16.04, Red Hat 7, CentOS 7), configure the iscsid service to automatically start on boot by running systemctl enable iscsid.

On other supported distributions, start the iscsid service to automatically start on boot by running the following command:

SUSE 11:

chkconfig open-iscsi on

Ubuntu 14.04:

update-rc.d -f open-iscsi defaults

Red Hat 5 & 6 and CentOS 5 & 6:

chkconfig iscsid on

Applies to

All Linux distributions.


Comments

Powered by Zendesk