I have an iSCSI target and a SAN IP address. How do I make the iSCSI target visible on compute resources and backup servers?
All OnApp versions
To make the iSCSI target visible on compute resources and backup servers:
Discover the iSCSI target to see the new LUN and connect to it. This will assume that there is no authentication for the iSCSI connection. If needed, add the necessary details in
/etc/iscsi/iscsid.confbefore proceeding. For example, you have a target
iqn.blah.blah.blahon a server using
iscsiadm -m discovery -t st -p 10.0.0.25CODE
To ensure a proper connection, do the following to log in if you see the target listed:
iscsiadm -m node -l -T iqn.blah.blah.blahCODE
To determine success and which block device appears on the compute resource/backup server, run the following:
tail -n50 /var/log/messagesCODE
To make it permanent, run the following:
iscsiadm -m node -T iqn.blah.blah.blah -p 10.0.0.25 -o update -n node.startup -v automaticCODE
Repeat the steps for any other compute resources/backup servers where LUN needs to be available, and then follow the standard instructions for adding a new datastore to OnApp. To install an LVM datastore, go to https://docs.onapp.com/ig/latest/install-data-stores#id-.InstallDataStoresv6.5-lvm.