Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.3
FUJITSU Software

9.6.3 Deleting iSCSI Target Settings

When deleting all the configurations of the mirroring among servers, after deleting the iSCSI initiator settings on all the node, iSCSI target settings must be deleted by the following procedure.

See

For the deletion procedure of iSCSI initiator settings, refer to "9.6.2 Deleting iSCSI Initiator Settings."

  1. Delete the iSCSI target settings on both nodes.

    Delete the lines from the line of "#GDS netmirror definition start" to the line of "#GDS netmirror definition end".

    # vim /etc/tgt/targets.conf

    [Example of the lines to be deleted]

    #GDS netmirror definition start
    <target target-0101>
      initiator-address 192.168.56.20
      initiator-address 192.168.56.10
      write-cache off
      <backing-store /dev/disk/by-id/scsi-3500000e111c56610>
        lun 1
        scsi_id SDX01
      </backing-store>
    </target>
    #GDS netmirror definition end

    The following procedures must not be performed on nodes where programs other than GDS use the SCSI target.

  2. Stop the SCSI target daemon (tgtd).

    # service tgtd stop
  3. Set up to avoid the automatic startup of the SCSI target daemon (tgtd) when starting the system.

    # chkconfig tgtd off