I am totally new to HP-UX. Been going through books and documents, passed too many problems and they helped me learn. I am working on a test environment.
I have 2 nodes, hostnames Nde1HPUX and Nde2HPUX.
The /etc/hosts, .rhosts and /etc/cmcluster/cmclnodelist are properly configured on both nodes (I guess)
I got to the point of cluster configuration. After applying the following commands on Nde1HPUX
Code:
# cmquerycl -C cmclconf.ascii -n Nde1HPUX -n Nde2HPUX
# vi cmclconf.ascii
(modified the heartbeat and stationary IPs - checked the vglock,all is
OK)
# cmcheckconf -v -C cmclconf.ascii
...
Adding node Nde1HPUX to cluster cluster1
Adding node Nde2HPUX to cluster cluster1
cmcheckconf: Verification completed with no errors found.
# cmapplyconf -v -C cmclconf.ascii
At the cmapplyconf, I got the following:
Code:
Checking cluster file: cmclconf.ascii
Note : a NODE_TIMEOUT value of 2000000 was found in line 125. For a
significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ascii file or Serviceguard
manual for more information on this parameter.
Checking nodes ... Done
Checking existing configuration ... Done
Gathering storage information
Found 3 devices on node Nde1HPUX
Found 3 devices on node Nde2HPUX
Analysis of 6 devices should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 2 volume groups on node Nde1HPUX
Found 2 volume groups on node Nde2HPUX
Analysis of 4 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Checking for inconsistencies
Minimum network configuration requirements for the cluster have
not been met. Minimum network configuration requirements are:
- 2 or more heartbeat networks OR
- 1 heartbeat network with local switch (HP-UX Only) OR
- 1 heartbeat network using APA with 2 trunk members (HP-UX Only) OR
- 1 heartbeat network with serial line (HP-UX Only) OR
- 1 heartbeat network using bonding (mode 1) with 2 slaves (Linux Only)
Adding node Nde1HPUX to cluster cluster1
Adding node Nde2HPUX to cluster cluster1
Marking/unmarking volume groups for use in the cluster
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Unable to verify cluster configuration change completion, proceeding anyway..
Cannot connect to configuration daemon (cmclconfd) on node Nde1HPUX
Cannot connect to configuration daemon (cmclconfd) on node Nde2HPUX
Completed the cluster creation
After that, nothing works.
I went to Nde2HPUX, files are created here.
Code:
# cd /etc/cmcluster
# ll
total 80
drwxr-xr-x 2 bin bin 8192 Nov 16 18:34 cfs
-rw------- 1 root root 8288 Nov 29 19:26 cmclconfig
-rw------- 1 root root 0 Nov 29 19:26 cmclconfig.tmp
-rw-rw-rw- 1 root sys 28 Nov 29 17:46 cmclnodelist
-r-------- 1 bin bin 70 Sep 23 2005 cmknowncmds
---------- 1 root root 0 Nov 29 19:24 config.lck
(I was comparing the /etc/hosts file with the a live system and the live one had an additional domain name column, got me to recall a message after configuring DNS during installation, that I have to register my HP-UX servers with DNS.. I am not sure if that is the problem or not)
I am a network engineer, so the first thing I did was pinging hostnames, and it works fine both ways.
I then continued the cluster configuration normally (since the cluster is already created as per message above)
Code:
# vgchange -a n /dev/vglock
# cmruncl -v
Permission denied to 192.168.200.121
cmruncl: Validating network configuration...
cmruncl: Network validation complete
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Unable to validate the nodes in the cluster
cmruncl failed: No such file or directory
I've been googling for hours now and I am stuck.Any help would be appreciated and bear with me my lack of knowledge in this domain.
Thank you.
Mazen
---------- Post updated at 08:35 PM ---------- Previous update was at 08:16 PM ----------
Code:
# cmviewcl -v
Permission denied to 192.168.200.121
CLUSTER STATUS
cluster1 unknown
NODE STATUS STATE
Nde1HPUX down unknown
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c4t0d1 unknown
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY unknown 0/1/2/0 lan0
PRIMARY unknown 0/2/1/1 lan2
NODE STATUS STATE
Nde2HPUX unknown unknown
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c4t0d2 unknown
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY unknown 0/1/2/0 lan0
PRIMARY unknown 0/2/1/0/5/0 lan2
---------- Post updated at 09:35 PM ---------- Previous update was at 08:35 PM ----------
As per the research, I should change the 'bin' to 'root'. Did that, and still getting the 'Permission denied' (just tried to do a cmviewcl and got the permission denied - IP of 2nd node)
Last edited by Scott; 11-29-2011 at 03:50 PM..
Reason: Please use code tags
I may have read to "lightly" to see what you are trying to do...
I did not see any "package" here is that correct?
It is very difficult for me to help you here for I have been out of cluster team for more that 7 years now...
What I see here is there is missing an extra network or lan interface (either heartbeat or second lan ).. I remembered doing minimalist configuration where HP went bezeurk when I showed the configuration... ( claimed OK it works but we will not support in case of side effects...)), unfortunately I have no more my notes...
Things would be easier if you explain what you are trying to achieve, then we can check if you have not forgotten anything or make our comments. We will need to know how many lan interfaces you have and how they are configured and we need to know the configuration of your package VG (vgdisplay -v ).
There is no package at the moment, it will be done in a following step (as per the document I am using - that was used by a colleague before and worked fine).
What I am trying to do is to have a cluster, I already have the storage properly configured (EVA).
lan0 is the primary and lan2 is used as the heartbeat, I already changed that via vi in the cmclconf.ascii file
Below is the vgdisplay -v output.
Code:
# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4384
VGDA 2
PE Size (Mbytes) 32
Total PE 4374
Alloc PE 510
Free PE 3864
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 320
Current LE 10
Allocated PE 10
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 128
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 544
Current LE 17
Allocated PE 17
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 224
Current LE 7
Allocated PE 7
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2976
Current LE 93
Allocated PE 93
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 3520
Current LE 110
Allocated PE 110
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 144
Allocated PE 144
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 3864
Autoswitch On
VG Name /dev/vglock
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 25599
VGDA 4
PE Size (Mbytes) 4
Total PE 51195
Alloc PE 50
Free PE 51145
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vglock/lvdata
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 50
Allocated PE 50
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c4t0d1
PV Status available
Total PE 25599
Free PE 25599
Autoswitch On
PV Name /dev/dsk/c4t0d2
PV Status available
Total PE 25596
Free PE 25546
Autoswitch On
Did you modify /etc/lvmrc? (no autoactivate for your clusterVG and has to be activated in exclusive mode...)
You need 3 network interface min. one for lan one for heartbeat and one for standby or alt lan.
The passwd files have to be synchronized also and I suppose the best when starting a cluster lab is to use .rhosts files...
(Sorry Im very busy lately with testing Xservers under Win7 for many dept...)
I am using korn shell
When I type in Telnet on cmd line, I get message
"cannot execute"
How can I get permission to execute command ? In which dir is telnet located ? I looked in /usr/bin dir. but its not there
Thanks (1 Reply)
I created a user so that when he logs in he will be directed to a menu
/etc/passwd
user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh
However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Hi guys im new to this db
i have a small prob while installing websphereportal6.1i think i was installed succesfully
but the error im getting is while starting server.
check this out
# ./serverStatus.sh -all
Error loading: /usr/wps61/AppServer/java/jre/bin/classic/libjvm.so: cannot... (1 Reply)
I would like to copy data from local mechine to cluster. Basically, I typed
scp -r DVD/ acount@cluster:/
it shows Permission denied.
Could anyone please give me a clue to write permission on cluster, please?
The poperty of where on cluster I'd like to put is drwxr-xr-x
Any idea would... (1 Reply)
I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Hi,
I can not execute a .env file
$ . /Data/oracle/d03/mydbora/8.0.6/MYDB.env
-bash: /Data/oracle/d03/mydbora/8.0.6/MYDB.env: Permission denied
Even if :
-rwxrwxrwx 1 oracle dba 2903 Mar 5 2007 /Data/oracle/d03/mydbora/8.0.6/MYDB.env
Please help.
Many thanks. (1 Reply)
I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You
... (0 Replies)
i'm trying to set up my internet connection and i was told i need to edit the file
/etc/ppp/pap-secrets
but i get a permission denied message...why?? (6 Replies)