
12
Deploying a Failover Cluster
Configuring iSCSI Data Storages
If you plan to use iSCSI as a data storage, do the following:
Note: Consider using Gigabit Ethernet adapters and the corresponding network infrastructure. In most
cases, a 100 Mb network is very likely to become a bottleneck.
1 Configure the iscsi service to start automatically on boot, and start it:
# chkconfig iscsi on
# service iscsi start
2 Search for iSCSI disks on the SAN:
# iscsiadm --mode discovery --type sendtargets --portal 10.0.0.10
where 10.0.0.10 is the IP address of the iSCSI storage device. Once the command is
complete, the iscsi service should be able to connect to the discovered iSCSI disks on each
system restart.
3 Restart the iscsi service and check if iSCSI disks are accessible (they must be listed in
/proc/partitions):
# service iscsi restart
Now you can create partitions, filesystems on them, put LABELs on found iSCSI disks, and check if
they can be mounted successfully. See Configuring the Shared Storage for Failover Clusters (p.
10) for information on how you can do it.
Setting up authentication
When configuring an iSCSI data storage, you may also need to set up authentication to allow your
Parallels server to connect to the storage. To do this:
1 Open the /etc/iscsi/iscsid.conf file on the server for editing, and locate the CHAP
settings section:
# *************
# CHAP Settings
# *************
# To enable CHAP authentication set node.session.auth.authmethod
# to CHAP. The default is None.
#node.session.auth.authmethod = CHAP
...
2 Set up authentication:
a Uncomment the following lines:
#node.session.auth.authmethod = CHAP
#discovery.sendtargets.auth.authmethod = CHAP
b Uncomment and set the correct parameters for the following lines:
#node.session.auth.username = username
#node.session.auth.password = password
#discovery.sendtargets.auth.username = username
#discovery.sendtargets.auth.password = password
Komentarze do niniejszej Instrukcji