02-22-2019 02:41 AM
hi,
in a running cluster if i like to add new resource to a group i must freeze first the group?
if i like to add a new group i must freeze something?
tnx
Solved! Go to Solution.
02-24-2019 09:16 PM
Do you have to freeze a group or system when making changes? No.
Is it best practice to do so? Yes.
With the case of changing an existing group, freeze the group. If a mistake is made during the change such that a fault occurs, the group/service may failover, or shut down completely. Freezing the group stops VCS intervening until the issue has been resolved. At that point, best practice is to unfreeze the group, and test failover.
With a new group, it's less important to freeze anything, unless the new resources could have an impact on existing services. In which case, consider freezing those services.
02-24-2019 09:16 PM
Do you have to freeze a group or system when making changes? No.
Is it best practice to do so? Yes.
With the case of changing an existing group, freeze the group. If a mistake is made during the change such that a fault occurs, the group/service may failover, or shut down completely. Freezing the group stops VCS intervening until the issue has been resolved. At that point, best practice is to unfreeze the group, and test failover.
With a new group, it's less important to freeze anything, unless the new resources could have an impact on existing services. In which case, consider freezing those services.
02-28-2019 07:50 AM - edited 03-01-2019 01:19 AM
i was in the situation when hares -state showed me that a resorce is online and i was unable to offline her ->hares -offline resource -sys <node> so i removed the resoure not using vcs.then i started the group with vcs control.is this right to proceed like this?
hares -state
#Resource Attribute System Value
apacheApp State test5 OFFLINE
apacheApp State test9 OFFLINE
data_dg State test5 ONLINE
data_dg State test9 OFFLINE
hares -offline data_dg -sys test5
hares -state
#Resource Attribute System Value
apacheApp State test5 OFFLINE
apacheApp State test9 OFFLINE
data_dg State test5 ONLINE
vxdg list
NAME STATE ID
y enabled,cds 1550767601.11.linux-l9dq
vxdg deport y
hares -state
#Resource Attribute System Value
apacheApp State test5 OFFLINE
apacheApp State test9 OFFLINE
data_dg State test5 OFFLINE
data_dg State test9 OFFLINE
hagrp -online y -sys test5
other thing.
vol2 is active but is brrought up not by vcs.
vxprint
v vol2 fsgen ENABLED 2097152 - ACTIVE - -
pl vol2-01 vol2 ENABLED 2097152 - ACTIVE - -
sd disk0-02 vol2-01 ENABLED 2097152 0 - - -
hares -state
vol2 State test5 OFFLINE
vol2 State test9 OFFLINE
hares -online vol2 -sys test5
hares -state
vol2 State test5 OFFLINE
vol2 State test9 OFFLINE
why the resource not change in online status?
tnx