From 1f19c69f13733aea371d19bd8b31cc544590f329 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Wed, 14 Feb 2024 19:24:51 -0700 Subject: [PATCH] Update Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md --- .../Virtualization/Proxmox/ZFS-Over-iSCSI.md | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md b/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md index 2836460..4ff4b70 100644 --- a/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md +++ b/Servers & Workflows/Linux/Virtualization/Proxmox/ZFS-Over-iSCSI.md @@ -8,6 +8,8 @@ !!! note "Environment Assumptions" This document assumes you are running at least 2 ProxmoxVE nodes. For the sake of the example, it will assume they are named `proxmox-node-01` and `proxmox-node-02`. We will also assume you are using TrueNAS Core. TrueNAS SCALE (should work) in the same way, but there may be minor operational / setup differences between the two different deployments of TrueNAS. + Secondly, this guide assumes the ProxmoxVE cluster nodes and TrueNAS server exist on the same network `192.168.101.0/24`. + ## All ProxmoxVE Cluster Nodes ### 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. @@ -48,6 +50,25 @@ systemctl restart pveproxy systemctl restart pvestatd ``` -| **IP Address** | **Hostname** | **Additional Notes** | +## Primary ProxmoxVE Cluster Node +From this point, we are ready to add the shared storage provider to the cluster via the primary node in the cluster. This is not strictly required, just simplifies the documentation. + +Navigate to **"Datacenter (BUNNY-CLUSTER) > Storage > Add > ZFS over iSCSI"** + +| **Field** | **Value** | **Additional Notes** | | :--- | :--- | :--- | -| 192.168.5.1 | PFSENSE | pfSense Firewall | \ No newline at end of file +| ID | `bunny-zfs-over-iscsi` | Friendly Name | +| Portal | `192.168.101.100` | IP Address of iSCSI Portal | +| Pool | `PROXMOX-ZFS-STORAGE` | This is the ZFS Storage Pool you will use to store GuestVM Disks | +| ZFS Block Size | `4k` | | +| Target | `iqn.2005-10.org.moon-storage-01.ctl:proxmox-zfs-storage` | The iSCSI Target | +| Target Group | `` | | +| Enable | `` | | +| iSCSI Provider | `FreeNAS-API` | | +| Thin-Provision | `` | | +| Write Cache | `` | | +| API use SSL | `` | Disabled unless you have SSL Enabled on TrueNAS | +| API Username | `root` | This is the account that is allowed to make ZFS zvols / datasets | +| API IPv4 Host | `192.168.101.100` | iSCSI Portal Address | +| API Password | `` | | +| Nodes | `proxmox-node-01,proxmox-node-02` | All ProxmoxVE Cluster Nodes | \ No newline at end of file