Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.6
FUJITSU Software

4.8.2 Checking and Setting Required Packages

Set the following configuration for all nodes in which the mirroring function among servers is used.

  1. Check that the targetcli package has already been installed.

    # rpm -q targetcli
  2. Set the start and stop order for iSCSI target service.

    Create the directory, /etc/systemd/system/fjsvsdx.service.d.

    # mkdir /etc/systemd/system/fjsvsdx.service.d
    # chmod 755 /etc/systemd/system/fjsvsdx.service.d

    Create the setting file within the created directory.

    # touch /etc/systemd/system/fjsvsdx.service.d/netmirror.conf
    # chmod 644 /etc/systemd/system/fjsvsdx.service.d/netmirror.conf

    Add the following content to the setting file.

    [Unit]
    After=target.service

    Apply the setting of the start and stop order for iSCSI target service.

    # systemctl daemon-reload
  3. Check the setting of the start and stop order for iSCSI target service.

    # systemctl show fjsvsdx.service | grep "After="
    After=iscsi-shutdown.service iscsi.service target.service ...

    Confirm that target.service is output.

  4. Set to automatically start the iSCSI target service when the system is started.

    # systemctl enable target.service