Hi,
On Sat, Mar 20, 2010 at 05:13:29PM -0700, Robinson, Eric wrote:
Hi Dejan, you suggested the following...
order o1 inf: basegroup ( r1 r2 r3 ... ) collocation c1 \
inf: ( r1 r2 r3 ... ) basegroup
Would you be so kind as to show me how to work that into my
current config? As I
Try to add this instead of the existing constraints and a group:
group fs p_FileSystem p_ClusterIP
colocation c_drbd_fs inf: fs ms_DRBD:Master order
o_drbd_fs inf: ms_DRBD:promote fs:start collocation
c_fs_mysql inf: ( p_MySQL_001 p_MySQL_002 p_MySQL_003
) fs order o_fs_mysql inf: fs (
Hi,
On Mon, Mar 22, 2010 at 10:17:15AM -0700, Robinson, Eric wrote:
Try to add this instead of the existing constraints and a group:
group fs p_FileSystem p_ClusterIP
colocation c_drbd_fs inf: fs ms_DRBD:Master order
o_drbd_fs inf: ms_DRBD:promote fs:start collocation
c_fs_mysql
Hi Dejan, you suggested the following...
order o1 inf: basegroup ( r1 r2 r3 ... ) collocation c1 \
inf: ( r1 r2 r3 ... ) basegroup
Would you be so kind as to show me how to work that into my current config? As
I said earlier, the ultimate goal is for the MySQL services to migrate in
Hi,
On Tue, Mar 16, 2010 at 12:08:29PM -0700, Robinson, Eric wrote:
When you change or reorder group memberships like that (using either
crm configure or cibadmin) does it interrupt service?
If you added a stopped resource before ones that were already started,
yes.
I will always
You can't edit the file directly, even with a script, but you can script
cibadmin to replace pieces of XML in the CIB for you. For example, to
manually edit a group's XML, try:
# cibadmin --query --xpath //gro...@id='WHATEVER'] group.xml
# vim group.xml
(add whatever primitives...)
Hi,
On Mon, Mar 15, 2010 at 10:35:14AM -0700, Robinson, Eric wrote:
This would probably work:
crm configure edit Group1
I had already tried that, but I'm looking for something scriptable. I
was hoping for somehting like:
crm configure edit Group1 replace old group members new
On Tue, Mar 16, 2010 at 5:27 PM, Robinson, Eric eric.robin...@psmnv.com wrote:
You could do something like this:
# echo group new-members-list | crm configure load update -
When you change or reorder group memberships like that (using either crm
configure or cibadmin) does it interrupt
When you change or reorder group memberships like that (using either
crm configure or cibadmin) does it interrupt service?
If you added a stopped resource before ones that were already started,
yes.
I will always be adding new services to the end of the list, so I should
be okay.
But more
I currently have a group that looks like this:
group Group1 FileSystem ClusterIP MySQL_001 MySQL_002
I can add a new primitive to the CIB from the command line, but once I
do that is there a way to add the new primitive to Group1 from the
command line? I've been digging through the help screens
On Mon, Mar 15, 2010 at 5:09 PM, Robinson, Eric eric.robin...@psmnv.com wrote:
I currently have a group that looks like this:
group Group1 FileSystem ClusterIP MySQL_001 MySQL_002
This would probably work:
crm configure edit Group1
I can add a new primitive to the CIB from the command
This would probably work:
crm configure edit Group1
I had already tried that, but I'm looking for something scriptable. I
was hoping for somehting like:
crm configure edit Group1 replace old group members new group
members
--or--
crm configure edit Group1 add new group
The only way I can find to add new group members via a script is to edit
cib.xml.
I find the following section...
primitive class=lsb id=MySQL_001 type=mysql_001/
primitive class=lsb id=MySQL_002 type=mysql_002/
primitive class=lsb id=MySQL_003 type=mysql_003/
Using a
On 3/16/2010 at 10:45 AM, Robinson, Eric eric.robin...@psmnv.com wrote:
The only way I can find to add new group members via a script is to edit
cib.xml.
I find the following section...
primitive class=lsb id=MySQL_001 type=mysql_001/
primitive class=lsb
14 matches
Mail list logo