Serviceguard

Error while switching the cluster

 
expertone
Advisor

Error while switching the cluster

I am explaining you the senario.

 

We have two nodes and on both node we have insatalled redhat linux and for the cluster we have install HP service gaurd.

 

The problem what we are facing is , when our NODE1 goes down the confingured NODE2 for failover does not take place automatically . I dont know about if it shifts mannually because I was assigned this case now and no one is there for details.

 

Also when I am using cmviewcl  -v i got the output on node1

 

CLUSTER STATUS

JISP_DATABASE_CLUSTER up

NODE STATUS STATE

hathdb1 up running

Cluster_Lock_LUN:

DEVICE STATUS

/dev/cciss/c0d0p1 up

Network_Parameters:

INTERFACE STATUS NAME

PRIMARY up eth0

PRIMARY up eth1

PACKAGE STATUS STATE AUTO_RUN NODE

oracle up running disabled hathdb1

Policy_Parameters:

POLICY_NAME CONFIGURED_VALUE

Failover configured_node

Failback manual

Script_Parameters:

ITEM STATUS MAX_RESTARTS RESTARTS NAME

Service up 0 0 oracle_db_mon

Service up 5 0 oracle_lsnr_mon

Subnet up 202.88.149.0

Subnet up 192.168.0.0

Node_Switching_Parameters:

NODE_TYPE STATUS SWITCHING NAME

Primary up enabled hathdb1 (current)

Alternate up enabled hathdb2

NODE STATUS STATE

hathdb2 up running

Cluster_Lock_LUN:

DEVICE STATUS

/dev/cciss/c0d0p1 up

Network_Parameters:

INTERFACE STATUS NAME

PRIMARY up eth0

PRIMARY up eth1

 

and when i go to /oracle and more to clusterciew i got the output as below

 

[root@hathdb1 oracle]#

[root@hathdb1 oracle]# ll

total 2352

-rw-r--r-- 1 root root 8106 Feb 14 2011 1

drwxr-xr-x 2 root root 4096 Apr 24 2010 backup

-rw-r--r-- 1 root root 1603 Apr 9 2010 clusterciew

-rwx------ 1 root root 8105 Feb 15 2011 oracle.conf

-rwx------ 1 root root 8106 Feb 14 2011 oracle.conf-FEB02

-rwx------ 1 root root 8105 Aug 18 2010 oracle.conf.old

-rwx------ 1 root root 39407 Aug 4 2011 oracle.ctrl

-rwx------ 1 root root 39407 Aug 4 2011 oracle.ctrl_04-08-2011

-rwx------ 1 root root 39407 Feb 7 2007 oracle.ctrl.back

-rwx------ 1 root root 39407 Aug 18 2010 oracle.ctrl.back.old

-rwx------ 1 root root 39457 Feb 14 2011 oracle.ctrl-FEB02

-rwx------ 1 root root 39407 Feb 14 2011 oracle.ctrl-FEB-13-11

-rw-r--r-- 1 root root 610796 Mar 11 15:25 oracle.ctrl.log

-rw-r--r-- 1 root root 1454460 Apr 9 2010 oracle.ctrl.log_primary

-rwx------ 1 root root 39407 Aug 18 2010 oracle.ctrl.old

[root@hathdb1 oracle]# more

usage: more [-dflpcsu] [+linenum | +/pattern] name1 name2 ...

[root@hathdb1 oracle]#

[root@hathdb1 oracle]#

[root@hathdb1 oracle]#

[root@hathdb1 oracle]#

[root@hathdb1 oracle]# more clusterciew

CLUSTER STATUS

JISP_DATABASE_CLUSTER down

NODE STATUS STATE

hathdb1 down unknown

Cluster_Lock_LUN:

DEVICE STATUS

/dev/cciss/c0d0p1 unknown

Network_Parameters:

INTERFACE STATUS NAME

PRIMARY unknown eth0

PRIMARY unknown eth1

NODE STATUS STATE

hathdb2 down unknown

Cluster_Lock_LUN:

DEVICE STATUS

/dev/cciss/c0d0p1 unknown

Network_Parameters:

INTERFACE STATUS NAME

PRIMARY unknown eth0

PRIMARY unknown eth1

UNOWNED_PACKAGES

PACKAGE STATUS STATE AUTO_RUN NODE

oracle down unowned

Policy_Parameters:

POLICY_NAME CONFIGURED_VALUE

Failover unknown

Failback unknown

Script_Parameters:

ITEM STATUS NODE_NAME NAME

Subnet unknown hathdb1 202.88.149.0

Subnet unknown hathdb1 192.168.0.0

Subnet unknown hathdb2 202.88.149.0

Subnet unknown hathdb2 192.168.0.0

Node_Switching_Parameters:

NODE_TYPE STATUS SWITCHING NAME

Primary down hathdb1

Alternate down hathdb2

[root@hathdb1 oracle]#

[root@hathdb1 oracle]#

 

i didnot understand this one can you explain why it is so.

 

Also I am new to cluster so give me the solution i will be thankfull to you.

 

For details please find the attachment.

 

Thanks and regaurd.

Ashish

1 REPLY 1
Ajin_1
Valued Contributor

Re: Error while switching the cluster

Hi

 

May be the mismatch in vg configuration.

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.