Configuring LVM over iSCSI connection on 2 portal shared accross 3 different nodes

yoriyori

New Member
Aug 26, 2024
2
0
1
Hi, i'm trying to configure LVM over iSCSI connection for 3 different nodes.

These are the portal for each of my iSCSI, both target to the same storage:
Portal 1
192.168.10.20
Portal 2
192.168.20.20

These are the ip interface for each vm that is connected to the portal.
VM1
192.168.10.201
192.168.20.201
VM2
192.168.10.202
192.168.20.202
VM3
192.168.10.203
192.168.20.203

I have created two LVM for portal 1 and portal 2.

In each node, i have configure multipath.conf, with the same configuration, including the world id
``
Code:
defaults {
        polling_interval        2
        path_selector           "round-robin 0"
        path_grouping_policy    multibus
        uid_attribute           ID_SERIAL
        rr_min_io               100
        failback                immediate
        no_path_retry           queue
        user_friendly_names     yes
}
blacklist {
        wwid .*
}

blacklist_exceptions {
        wwid "[id 1]"
        wwid "[id 2]"
}
multipaths {
  multipath {
        wwid "[id 1]"
        alias mpath0
  }
  multipath {
        wwid "[id 2]"
        alias mpath1
  }
}

After restarting multipath, everything works. But after some time, the shared LVM status across every node becomes unknown. What did i do wrong?
 
In addition, turns out volume group dissapeared for no reason, which causes shared LVM to have status unknown
 
After restarting multipath, everything works. But after some time, the shared LVM status across every node becomes unknown. What did i do wrong?
In addition, turns out volume group dissapeared for no reason, which causes shared LVM to have status unknown
Generally, its an indication of a network problem between the host and the storage. You should carefully examine "journalctl" for any signs of an issue.
When the storage disappears, can you still see the raw devices? Is multipath still functional?

Good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!