September 29, 2011

Sun Cluster : troubleshooting Failback policies

Posted in Sun Cluster at 2:08 pm by alessiodini

Today i worked on a two node 3.1u3 cluster.
During an activity i saw on messages this error:

Mismatch between the Failback policies for the resource group system-rg (True) and global service system-dg (False) detected.

After a conference call the customer asked me to set the resource group failback to False.

Reading the rg_properties manpage i found:

Failback (boolean)
A Boolean value that indicates whether to recalculate
the set of nodes where the group is online when the
cluster membership changes. A recalculation can cause
the RGM to bring the group offline on less preferred
nodes and online on more preferred nodes.

Default
False

Tunable
Any time

ok. Any time means that i can modify this property without offline the resource group.

I tried the command:

root@system1 # scrgadm -c -g system-rg -y Failback=False
system1 – Mismatch between the Failback policies for the resource group system-rg (True) and global service system1-dg (False) detected.

VALIDATE on resource system1-storage, resource group system1-rg, exited with non-zero exit status.
Validation of resource system1-storage in resource group system1-rg on node system1 failed.

mmm….

After some test i finally changed it , doing in order:

1) setting diskgroup failback policy to True ( in this moment both rg and dg had True value )
2) setting resource group failback policy to False ( in this moment rg had False and dg True )
3) setting diskgroup failback policy to False ( in this moment both rg and dg had False value )

I checked what i did with scrgadm/scconf commands:

root@system1 # scrgadm -pvv -g system1-rg | head | grep Failback
(system1-rg) Res Group Failback: False

root@system1 # scconf -pv | grep system1-dg | grep failback
(system1-dg) Device group failback enabled: no

Nice!

Advertisements

3 Comments »

  1. […] posted here: Sun Cluster : troubleshooting Failback policies « Alessio dini's Blog Tagged with: cluster • failback • group • group-failback • laptop […]

  2. 5 Factor Promo Code said,

    I enjoyed your blog. It’s easy to read, the content is good, and your an educated writer unlike most of the blogs I come across when searching on this topic. I will check back in the future and see if you have anymore articles. Thanks for posting this, I appreciate the infomration and the effort you put into your site.

  3. Cody said,

    I love your blog, you should add an RSS feed feature so I can get automatic notifications of new blogs. If you set one up please email me! i will bookmark you for now. Again Excellent Blog!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: