[ovirt-users] Change gluster primary

Alex Crow acrow at integrafin.co.uk
Tue Jan 20 13:20:51 UTC 2015


Hi John,

There isn't really a primary in gluster. If you're using a glusterfs 
storage domain, you could turn off "nix" and the VMs would continue to 
run (although you'd have to disable quorum if you currently have it 
enabled on the volume, and you'd have to repoint the domain at some 
later point). If you're using NFS access you would have to repoint your 
storage to the remaining machine immediately.

The only snag I can see is that you can't detach the master storage 
domain in Ovirt if any VMs are running. I think you'd have to shut the 
VMs down, put the storage domain into maintenance, and then edit it.

Cheers

Alex

On 19/01/15 23:44, John Gardeniers wrote:
> We are using Gluster as our storage backend. Gluster is configured as 
> 2 node replica. The two nodes are name nix and jupiter. At the Ovirt 
> (RHEV really) end we have the gluster path configured as 
> "nix:/gluster-rhev", with a mount option of 
> "backupvolfile-server=jupiter.om.net". We now need to replace nix with 
> a new server, which cannot have the same name. That new server will be 
> the primary, with jupiter remaining the secondary.
>
> We will have all VMs and hypervisors shut down when we make this change.
>
> What is the best and/or easiest way to do this? Should we just 
> disconnect the storage and re-attach it using the new gluster primary? 
> If we do that will our VMs just work or do we need to take other steps?
>
> An alternative, which I suspect will be somewhat controversial, would 
> be to make a direct edit of the engine database. Would that work any 
> better or does that add more dangers (assuming the edit is done 
> correctly)?
>
> regards,
> John
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

-- 
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc. 29
Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608
5300. (Registered office: as above; Registered in England and Wales
under number: 3727592). Authorised and regulated by the Financial
Conduct Authority (entered on the Financial Services Register; no. 190856).




More information about the Users mailing list