2.1. Preparing to Work with Virtuozzo Storage iSCSI Targets

On each Virtuozzo Hardware Node, where you need to create and run iSCSI targets, do the following:

  1. Make sure the vstorage-iscsi and vstorage-scsi-target-utils packages are installed on the Hardware Node.
  2. Make sure that the Hardware Node has access to the Virtuozzo Storage cluster as client and has an entry in /etc/fstab.
  3. Create a directory in the Virtuozzo Storage cluster where you will store iSCSI targets and their configuration. For example, /vstorage/stor1/iscsi.
  4. Set the ISCSI_ROOT variable in /etc/vstorage/iscsi/config to the directory from the previous step. For example: ISCSI_ROOT=/vstorage/stor1/iscsi

You are now ready to create and run iSCSI targets in your Virtuozzo Storage cluster.