Set the following configuration for all nodes in which the mirroring function among servers is used.
Check that the scsi-target-utils package and the sg3_utils package are installed.
# rpm -q scsi-target-utils scsi-target-utils-xxxxxxxx # rpm -q sg3_utils sg3_utils-xxxxxxxx |
If the package is not installed, install the package from an installation CD for OS of the target system.
Check that the iscsi-initiator-utils package is installed.
# rpm -q iscsi-initiator-utils
iscsi-initiator-utils-xxxxxxxx |
If the package is not installed, install the package from an installation CD for OS of the target system.
Change the setting of the stop order for the SCSI target daemon (tgtd).
# vim /etc/init.d/tgtd |
[Before change]
#!/bin/sh # # chkconfig: - 39 35 ... |
[After change]
#!/bin/sh # # chkconfig: - 39 90 ... |
Register the SCSI target daemon (tgtd) again.
# chkconfig --del tgtd # chkconfig --add tgtd |
Set to automatically start the SCSI target daemon (tgtd) when the system is started.
# chkconfig tgtd on |
Note
If the scsi-target-utils package was upgraded by using kernel upgrade or errata, it is necessary to repeat procedures 3 to 5.