iscsi lvm migration to other vm

S

supermegazord

Guest
Hello

I have question about iscsi lvm.

I have vm (VM01) on proxmox 2.2 i use iscsi lvm as disk to this vm (mapping lun and create lvm on the lun). Now i want move the machine to proxmox 3.0, how connect the existing lvm (VM01) to machine VM02 on proxmox 3.0?
 
i have cluster (3 nodes on 2.2V) but the v3 i have on other machin (not in cluster). I can not create a backup on a cluster (no quorum).
 
I'm not sure we are on the same page here. You have v2.2 installed on 3 separate machines? Or do you see 3 - Proxmox VM under one node in the WebGUI?
Also, what happens when you try to create a backup of the VM you want to transfer to the v3? Quorum doesn't have anything to do with backups, as far as I know.
If you can, include a screenshot, because I don't know how to decipher the cli of the PVE setup.
 
I have cluster with 3 nodes, running 9 vm machine. Yesterday on 2 nodes i have some error and the cluster is not have quorum. Only 1 node work properly.

pvecm status: (on node without error)
Version: 6.2.0
Config Version: 7
Cluster Name: FOO
Cluster Id: 37012
Cluster Member: Yes
Cluster Generation: 1612
Membership state: Cluster-Member
Nodes: 1
Expected votes: 3
Total votes: 1
Node votes: 1
Quorum: 2 Activity blocked
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: proxmox02
Node ID: 2
Multicast addresses: 239.192.144.37
Node addresses: 192.168.0.161

pvecm node: (on node without error)
Node Sts Inc Joined Name
1 X 1476 proxmox01
2 M 1472 2013-07-04 15:01:57 proxmox02
3 X 1476 proxmox03

When i start cman (on node with error)
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [ OK ]
Waiting for quorum... Timed-out waiting for cluster
[FAILED]
TASK ERROR: command '/etc/init.d/cman start' failed: exit code 1

Failed backup job log:
INFO: starting new backup job: vzdump 101 --quiet 1 --mode snapshot --compress lzo --storage backup
INFO: Starting Backup of VM 101 (qemu)
INFO: status = running
INFO: unable to open file '/etc/pve/nodes/proxmox03/qemu-server/101.conf.tmp.132426' - Device or resource busy
ERROR: Backup of VM 101 failed - command 'qm set 101 --lock backup' failed: exit code 2
INFO: Backup job finished with errors
TASK ERROR: job errors
 
I have cluster with 3 nodes, running 9 vm machine. Yesterday on 2 nodes i have some error and the cluster is not have quorum. Only 1 node work properly.
pvecm node: (on node without error)
Code:
Node  Sts   Inc   Joined               Name
   1   X   1476                        proxmox01
   2   M   1472   2013-07-04 15:01:57  proxmox02
   3   X   1476                        proxmox03

have you checked the system time to be the same on all nodes?

Marco
 
hmm I did not check but I'll check, thanks for the tip

[EDIT]

Time is ok on all nodes.

But back to the first question.
If i map the lun directly can then mount it to any version of Proxmox (important to the vm parameters are the same)
However, it looks like the issue lvm on iscsi? Now, for example, I have a 10GB lun on it the lvm 8GB, mount this this lun to another machine with Proxmox is how to get to the lvm that is there.
 
Last edited by a moderator:

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!