Originally posted by: grukrz1
Hello,
I have two node HACMP 5.4.0.1 installed. The cluster
is built of two resource groups (RG1 and RG2) each one
have configured its application server (accordingly
AS1 and AS2) and one service address per each RG.
RG1 has AS1 - home node NODE1
RG2 has AS2 - home node NODE2
There is one shared VG in the cluster - the VG is
configured in RG1. The VG is NOT CONC CAPABLE - SHOULD
BE ACTIVE ONLY ON ONE NODE AT THE TIME = ON THE NODE WHERE RG1 IS ONLINE)
RG1 is a parent of RG2 (because RG1 has the shared VG and
has to be stared before RG2).
Verification/synchronization passes OK. No errors.
Cluster starts properly. After the startup both RGs are brought up properly on their home nodes.
-
clfindres
Group Name State Node
RG1 ONLINE NODE1
OFFLINE NODE2
RG2 ONLINE NODE2
OFFLINE NODE1
Resource groups policies are set as follows:
Resource Group Name
RG1
Participating Node Name(s)
NODE1 NODE2
Startup Policy
Online On Home Node Only
Fallover Policy
Fallover To Next Priority Node In The List
Fallback Policy
Fallback To Higher Priority Node In The List
Resource Group Name
RG2
Participating Node Name(s)
NODE2 NODE1
Startup Policy
Online On Home Node Only
Fallover Policy
Fallover To Next Priority Node In The List
Fallback Policy
Fallback To Higher Priority Node In The List
cldump - shows proper cluster status UP/STABLE, diskhb
networks are UP.
The problem is when I try to create from C-SPOC shared
LV or FS on shared VG. I do it from parent node -
where RG1 is online and shared VG is varied on.
The command I run was:
Command_to_Execute follows below:
>> main()
{
export _CSPOC_MODE=shared
/usr/sbin/cluster/cspoc/smitlvm -17 "$@"
}
main 'RG1' -y'test_lv' -t'jfs2' -c'2' datavg 8
(hacmp smit menu:
smitty cl_lv /
Add a Shared Logical Volume / then
selected:
#Resource Group Volume
Group
RG1 datavg
, next selected Auto-Select:
Auto-select
NODE01 vpath0
NODE01 vpath2
...
I observed, that during shared LV creation via C-SPOC,
the shared VG is (???) being varied-on on NODE02 also = the VG is varied-on on both nodes at the time!!!
HACMP reports no errors - the status is STABLE/OK,
both resource groups are ONLINE as before!!! On parent RG1 node,
are still monted all shared filesystems but are not useable (database has no access to this filesystems!!) and the VG is not accessible although is see it on "lsvg -o" output.
-
lsvg -o
rootvg
datavg
-
lsvg -l datavg
0516-013 : The volume group cannot be varied on
because
there are no good copies of the descriptor
area.
Varyoffing the shared VG on NODE02 and varying-on it on NODE01 doesn't solve the problem - still "lsvg -l datavg" returns error as above.
To fix problem I need to stop cluster first on
NODE02, then on NODE01 and start again on NODE01 and
again on NODE02.
I guess this is C-SPOC bug in HACMP 5.4.0.1 or maybe C-SPOC can't be used for
LV/FC creation on running cluster and ONLINE VGs (??)
Maybe there is already fix for it?
Are here anybody using HACMP 5.4? Anyone met/observed
similiar C-SPOC problem as well?
In older HACMP versions, 4.4, 4.5, 5.1, 5.2, 5.3 I had never such problems creating shared LVs or filesystems in shared VG using C-SPOC.
Any ideas?
Thanks in advance for any!