diff --git a/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md b/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md index ff57489..5753e37 100644 --- a/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md +++ b/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md @@ -10,24 +10,25 @@ ## Configure SSH Key Exchange The first step is creating SSH trust between the ProxmoxVE cluster nodes and the TrueNAS storage appliance. You will leverage the ProxmoxVE `shell` to run the following commands. + ``` sh - mkdir /etc/pve/priv/zfs - ssh-keygen -f /etc/pve/priv/zfs/192.168.101.100_id_rsa # (1) - ssh-copy-id -i /etc/pve/priv/zfs/192.168.101.100_id_rsa.pub root@192.168.101.100 # (2) - ssh -i /etc/pve/priv/zfs/192.168.101.100_id_rsa root@192.168.101.100 # (3) - apt-get install librest-client-perl git # (4) - iscsiadm --mode discovery --op update --type sendtargets --portal 192.168.101.100 - iscsiadm -m node -T iqn.2005-10.org.moon-storage-01.ctl:proxmox-zfs-storage -p 192.168.101.100 -l - iscsiadm -m node # (5) - iscsiadm -m session # (6) +mkdir /etc/pve/priv/zfs +ssh-keygen -f /etc/pve/priv/zfs/192.168.101.100_id_rsa # (1) +ssh-copy-id -i /etc/pve/priv/zfs/192.168.101.100_id_rsa.pub root@192.168.101.100 # (2) +ssh -i /etc/pve/priv/zfs/192.168.101.100_id_rsa root@192.168.101.100 # (3) +apt-get install librest-client-perl git # (4) +iscsiadm --mode discovery --op update --type sendtargets --portal 192.168.101.100 +iscsiadm -m node -T iqn.2005-10.org.moon-storage-01.ctl:proxmox-zfs-storage -p 192.168.101.100 -l +iscsiadm -m node # (5) +iscsiadm -m session # (6) ``` - 1. Do not set a password. It will break the automatic functionality. - 2. Send the SSH key to the TrueNAS server. - 3. Connect to the TrueNAS server at least once to finish establishing the connection. - 4. Some prerequisites that need to be installed. - 5. Making sure that it's actually communicating with the iSCSI target successfully or not. - 6. Making sure that it's actually communicating with the iSCSI target successfully or not. +1. Do not set a password. It will break the automatic functionality. +2. Send the SSH key to the TrueNAS server. +3. Connect to the TrueNAS server at least once to finish establishing the connection. +4. Some prerequisites that need to be installed. +5. Making sure that it's actually communicating with the iSCSI target successfully or not. +6. Making sure that it's actually communicating with the iSCSI target successfully or not. | **IP Address** | **Hostname** | **Additional Notes** | | :--- | :--- | :--- |