Hi all, I have the following in hacmp.out for bringing Resource group online.
Volume groups themselves are Enhanced-Capable and on each node I can varyon and mount filesystems.
Code:
+main1_rg_01:cl_activate_vgs[198] STATUS=0
+main1_rg_01:cl_activate_vgs[198] typeset -li STATUS
+main1_rg_01:cl_activate_vgs[199] SYNCFLAG=''
+main1_rg_01:cl_activate_vgs[200] CLENV=''
+main1_rg_01:cl_activate_vgs[201] TMP_FILENAME=/tmp/_activate_vgs.tmp
+main1_rg_01:cl_activate_vgs[202] USE_OEM_METHODS=false
+main1_rg_01:cl_activate_vgs[204] EMULATE=''
+main1_rg_01:cl_activate_vgs[206] PROC_RES=false
+main1_rg_01:cl_activate_vgs[210] [[ 0 != 0 ]]
+main1_rg_01:cl_activate_vgs[217] [[ -n == -n ]]
+main1_rg_01:cl_activate_vgs[219] SYNCFLAG=-n
+main1_rg_01:cl_activate_vgs[220] shift
/usr/es/sbin/cluster/events/utils/cl_activate_vgs: line 220: syntax error at line 225: ` $# -ne 0 ' unexpected
+main1_rg_01:get_disk_vg_fs[501] exit 1
Jan 18 18:00:17 EVENT FAILED: 1: get_disk_vg_fs ALL backup_vg datavg redovg 1
+main1_rg_01:node_up_local[73] RC=1
+main1_rg_01:node_up_local[74] : exit status of get_disk_vg_fs ALL backup_vg datavg redovg is: 1
+main1_rg_01:node_up_local[75] (( 1 != 0 ))
+main1_rg_01:node_up_local[77] STATUS=2
+main1_rg_01:node_up_local[78] (( 1 == 7 ))
+main1_rg_01:node_up_local[81] return
+main1_rg_01:node_up_local[338] : exit status of get_filesystems is: 0
Moderator's Comments:
Use code tags, thanks. See PM!
Last edited by zaxxon; 01-18-2014 at 03:01 PM..
Reason: code tags
As you might have seen the line in the HA-script failing is
Code:
/usr/es/sbin/cluster/events/utils/cl_activate_vgs: line 220: syntax error at line 225: ` $# -ne 0 ' unexpected
where a test is failing. Maybe a bug. It is just used to check if there is any argument left, where $# contains the number of arguments and the script simply iterates through the arguments with the shift.
You can either check if there is a fix for this with IBM´s fix central or check out the HA-script and fix it yourself. Though it will be most probaby overwritten next time you do an update for HA.
I would try to update HA first before fixing anything on my own.
Also I would check if you can manually get the VGs online ( use varyonvg ). If that is possible, have them offline again before doing anything with C-SPOC or HA itself.
Is there any kind of reservation on the Disks maybe from another node?
Did this ever work?
Did anything happen and since then it doesn't work anymore?
Last edited by zaxxon; 01-18-2014 at 04:27 PM..
Reason: typo
Thanks for reply!
It never worked before so this is a cluster just built and first time trying to bring up Resource group. Manual varyonvg works fine and no issues as I mentioned in my initial post.
this is samiulla
in my vmware solaris 11 i installed iscsitgt pakage but it goes to maintenance
and i am unable to bring into online with svcadm clear iscsitgt
how can i forcefully online iscsitgt service. (1 Reply)
Hi Guys,
I want to bring my server live.
I have Static public IP Address 123.99.88.77 (Say) and also I have also registered a domain name say(live server23.com) the domain name providers have also given me the control panel with DNS management settings.
I have gateway 192.168.1.1
Now My... (1 Reply)
Hi,
I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over)
Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Hi,
I have a requirement to monitor the HACMP Resource Groups. At present in my environment, if the Resource Groups fail over from preferred node to Secondary node we dont get notification.
Can some one help me in creating a scrript. I have more than one RG online. (Max 4 Resource Groups in... (2 Replies)
Hi,
I am running Solaris 10 + VCS 5 in one of our environment. Recently one of my colleague configured all resources in a single service group.( ie, one service group which has all resources) ,Usually we create seperate service groups for Hardware & for application.
For eg: SYS_HW_GRP, will... (0 Replies)
Is there any book/resource that one can refer to, to be able to write programs at kernel/system level.. I'm looking for a programming book that could serve as a guide to write kernel codes / system level programming etc..
I have Tannenbaum's Design and Implementation. It addresses theoretical... (2 Replies)
Hello experts.
I am using Solaris 10(2005) on intel machine. I have installed Veritas Volume manager 5.0. I am unable to bring a disk error to online state. I would like to bring that disk to CDS format.
Commands i used and output are....
#vxdisk list
DEVICE TYPE ... (11 Replies)
Hello,
Can any of your UNIX gurus recommend a good online resource for learning UNIX scripting? I'll be doing a little bit of it, but not enough for me to feel motivated enough to go out and buy a book on it. Well, that, and I'm cheap!
dstins (3 Replies)