Re: [ClusterLabs] Antw: Re: Set a node attribute for multiple nodes with one command

2016-11-22 Thread Kostiantyn Ponomarenko
Ken, Thank you for the explanation. I will try this low-level way of shadow cib creation tomorrow. PS: I will sleep much better with this excellent news/idea. =) Thank you, Kostia On Tue, Nov 22, 2016 at 10:53 PM, Ken Gaillot wrote: > On 11/22/2016 04:39 AM, Kostiantyn

Re: [ClusterLabs] Antw: Re: Set a node attribute for multiple nodes with one command

2016-11-22 Thread Ken Gaillot
On 11/22/2016 04:39 AM, Kostiantyn Ponomarenko wrote: > Using "shadow cib" in crmsh looks like a good idea, but it doesn't work > with node attributes set into "status" section of Pacemaker config. > I wonder it it is possible to make it work that way. Forgot to mention -- the shadow CIB is

Re: [ClusterLabs] Antw: Re: Set a node attribute for multiple nodes with one command

2016-11-22 Thread Ken Gaillot
On 11/22/2016 04:39 AM, Kostiantyn Ponomarenko wrote: > Using "shadow cib" in crmsh looks like a good idea, but it doesn't work > with node attributes set into "status" section of Pacemaker config. > I wonder it it is possible to make it work that way. > > Ken, >>> start dampening timer > Could

Re: [ClusterLabs] Reliable check for "is starting" state of a resource

2016-11-22 Thread Ken Gaillot
On 11/22/2016 10:53 AM, Kostiantyn Ponomarenko wrote: > Hi folks, > > I am looking for a good way of checking if a resource is in "starting" > state. > The thing is - I need to issue a command and I don't want to issue that > command when this particular resource is starting. This resource start

Re: [ClusterLabs] iSCSI on ZFS on DRBD

2016-11-22 Thread Jason A Ramsey
The way that Pacemaker interacts with services is using resource agents. These resource agents are bash scripts that you can modify to your heart’s content to do the things you want to do. Having worked with the ocf:heartbeat:iSCSITarget and ocf:heartbeat:iSCSILogicalUnit quite a lot in the

Re: [ClusterLabs] OS Patching Process

2016-11-22 Thread Jason A Ramsey
I’ve done the opposite: lvm on top of drbd -> iscsi lun but I’m not trying to resize anything. I just want to patch the OS of the nodes and reboot them in sequence without breaking things (and, preferably, without taking the cluster offline). -- [ jR ] there is no path to greatness;

Re: [ClusterLabs] iSCSI on ZFS on DRBD

2016-11-22 Thread Mark Adams
Just to clarify, I'm referring to "ZFS over iSCSI" in regards to proxmox. https://pve.proxmox.com/wiki/Storage:_ZFS_over_iSCSI Regards, Mark On 22 November 2016 at 16:59, Mark Adams wrote: > Hi All, > > Looking for some opinions on this, if anyone has any. I'm looking at

[ClusterLabs] iSCSI on ZFS on DRBD

2016-11-22 Thread Mark Adams
Hi All, Looking for some opinions on this, if anyone has any. I'm looking at this solution to be for proxmox vm nodes using zfsoniscsi. Just as back round for people that haven't looked at proxmox before it logs on to the iscsi server via ssh and creates a zfs dataset then adds iscsi config to

[ClusterLabs] Reliable check for "is starting" state of a resource

2016-11-22 Thread Kostiantyn Ponomarenko
Hi folks, I am looking for a good way of checking if a resource is in "starting" state. The thing is - I need to issue a command and I don't want to issue that command when this particular resource is starting. This resource start can take up to a few min. As a note, I am OK with issuing that

Re: [ClusterLabs] OS Patching Process

2016-11-22 Thread emmanuel segura
I been using this mode: iscsi_disks -> lvm volume -> drbd_on_top_of_lvm -> filesystem resize: add_one_iscsi_device_to_every_cluster_node_first -> now_add_device_the_volume_group_on_every_cluster_node -> now_resize_the_volume_on_every_cluster_node : now you have every cluster with the same logical

Re: [ClusterLabs] OS Patching Process

2016-11-22 Thread Dmitri Maziuk
On 2016-11-22 10:35, Jason A Ramsey wrote: Can anyone recommend a bulletproof process for OS patching a pacemaker cluster that manages a drbd mirror (with LVM on top of the drbd and luns defined for an iscsi target cluster if that matters)? Any time I’ve tried to mess with the cluster, it seems

[ClusterLabs] OS Patching Process

2016-11-22 Thread Jason A Ramsey
Can anyone recommend a bulletproof process for OS patching a pacemaker cluster that manages a drbd mirror (with LVM on top of the drbd and luns defined for an iscsi target cluster if that matters)? Any time I’ve tried to mess with the cluster, it seems like I manage to corrupt my drbd

Re: [ClusterLabs] DRBD Insufficient Privileges Error

2016-11-22 Thread Jason A Ramsey
Did you install the drbd-pacemaker package? That’s the package that contains the resource agent. -- [ jR ] there is no path to greatness; greatness is the path From: Jasim Alam Reply-To: Cluster Labs - All topics related to open-source clustering welcomed

Re: [ClusterLabs] Antw: Re: Set a node attribute for multiple nodes with one command

2016-11-22 Thread Kostiantyn Ponomarenko
Using "shadow cib" in crmsh looks like a good idea, but it doesn't work with node attributes set into "status" section of Pacemaker config. I wonder it it is possible to make it work that way. Ken, >> start dampening timer Could you please elaborate more on this. I don't get how I can set this