We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
I have an ISCSI target and a SAN IP address. How do I make this visible on the HVs and Backup Servers?
Environment
All OnApp versions
Answer
First, you need to 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.conf before proceeding.
Assuming you have a target - iqn.blah.blah.blah on a server using 10.0.0.25:
iscsiadm -m discovery -t st -p 10.0.0.25
To ensure a proper connection, and if you see the target listed, you can then do the following to login:
iscsiadm -m node -l -T iqn.blah.blah.blah
To determine success, and see which block device this now appears as on the HV/Backup Server:
tail -n50 /var/log/messages
To make this permanent, run the following:
iscsiadm -m node -T iqn.blah.blah.blah -p 10.0.0.25 -o update -n node.startup -v automatic
Repeat this for any other HVs/Backup Servers where the LUN needs to be available, and then follow the standard instructions for adding a new Data Store to OnApp.