1834598 Members
4009 Online
110069 Solutions
New Discussion

cmclnodelist

 
Network Servers
Advisor

cmclnodelist

Should I include the virtual host names in the /etc/hosts file and or in the cmclnodelist file?
Don't fly off the handle when you are full of baloney...
10 REPLIES 10
Patrick Wallek
Honored Contributor

Re: cmclnodelist

I wouldn't include the virtual hosts in the cmclnodelist.

Whether you put them in /etc/hosts is up to you. If you do, be sure you put *ALL* virtual host names in /etc/hosts on *ALL* systems in the cluster.

I prefer keeping everything in DNS so I don't have to worry about maintaining /etc/hosts on 2 dozen systems.
Stephen Doud
Honored Contributor

Re: cmclnodelist

Only put server hostnames in cmclnodelist.
Aliases associated with relocatable IPs should be listed in /etc/hosts and the DNS name server if any
Geoff Wild
Honored Contributor

Re: cmclnodelist

Not in cmclnodelist - but yes to /etc/hosts

Depends on your environment- we use files dns for hosts in our MC/SG environments - so MC/SG doesn't have to wait for DNS (in case it is down )...

Rgds...Geoff
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.
Nguyen Anh Tien
Honored Contributor

Re: cmclnodelist

Hi Arnold
/etc/hosts is hostname->IP resolution. Its function if differ with /etc/cmcluster/cmnodelist.

/etc/cmcluster/cmnodelist is file that determine which host have permission to query cluster configuration and apply it.
SO: you must add hostnames in both file
tienna
HP is simple
Network Servers
Advisor

Re: cmclnodelist

Ok.

Having problems generating the template:

I get errors using cmclnodelist

# cmquerycl -C cluster.conf -n lamarwf1 -n lamarwf2 -n lamarwf3

Error: Permission denied to 10.3.209.15
Error: Permission denied to 10.3.209.16
Error: Permission denied to 127.0.0.1
Error: Unable to establish communication to node lamarwf1: 19
Failed to gather configuration information.

So I tried the .rhosts files and still get errors.

# cmquerycl -C cluster.conf -n lamarwf1 -n lamarwf2 -n lamarwf3

Warning: The disk at /dev/dsk/c1t2d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t2d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t3d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t4d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t5d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t6d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t7d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t8d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t9d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t10d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t11d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t12d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t13d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t14d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c4t15d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t2d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t3d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t4d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t5d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t6d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t7d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t8d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t9d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t10d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t11d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t12d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t13d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t14d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t15d0 on node lamarwf1 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c1t2d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t1d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t2d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t3d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t4d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t5d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t6d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t7d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t8d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t9d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t10d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t11d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t12d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t13d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t14d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t15d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t1d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t2d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t3d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t4d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t5d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t6d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t7d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t8d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t9d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t10d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t11d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t12d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t13d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t14d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t15d0 on node lamarwf2 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c1t2d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t6d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t7d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t8d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t9d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t10d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t11d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t12d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t13d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t14d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c5t15d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t6d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t7d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t8d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t9d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t10d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t11d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t12d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t13d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t14d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: The disk at /dev/dsk/c6t15d0 on node lamarwf3 does not have an ID, or a disk label.
Warning: Disks which do not have IDs cannot be included in the topology description.
Use pvcreate(1M) to initialize a disk for LVM or,
use vxdiskadm(1M) to initialize a disk for VxVM.

Node Names: lamarwf1
lamarwf2
lamarwf3

Bridged networks (local node information only - full probing was not performed):

3 lan2 (lamarwf1)
lan3 (lamarwf1)

4 lan0 (lamarwf2)

5 lan1 (lamarwf2)
lan2 (lamarwf2)

6 lan0 (lamarwf3)

7 lan1 (lamarwf3)
lan2 (lamarwf3)

IP subnets:

IPv4:

10.3.209.0 lan2 (lamarwf1)
lan1 (lamarwf2)
lan1 (lamarwf3)

192.168.2.0 lan0 (lamarwf2)

192.168.1.0 lan0 (lamarwf3)

IPv6:

Possible Heartbeat IPs:

10.3.209.0 10.3.209.13 (lamarwf1)
10.3.209.15 (lamarwf2)
10.3.209.16 (lamarwf3)

Possible Cluster Lock Devices:

LVM volume groups:

/dev/vg00 lamarwf1

/dev/vgADVX lamarwf1

/dev/vg00 lamarwf2

/dev/vgODB lamarwf2

/dev/vgODBdata lamarwf2

/dev/vgODBindex lamarwf2

/dev/vgADVX lamarwf2

/dev/vg00 lamarwf3

/dev/vgHDB lamarwf3

/dev/vgHDBredo lamarwf3

/dev/vgHDBdata lamarwf3

/dev/vgADS lamarwf3

/dev/vgHDBindex lamarwf3

/dev/vgADSindex lamarwf3

Any ideas?

Don't fly off the handle when you are full of baloney...
melvyn burnard
Honored Contributor

Re: cmclnodelist

What version of Serviceguard are you using?
and what does the cmclnodelist look like?

Those are Warnings, not erros, telling you that to use discs they need to be configured inside an LVM VG, or a VxVM DG to be used.

The virtual host/ip does not go in the cmclnodelist file, only put it into your hosts file on each node in the cluster, and into your DNS if you use DNS.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!

Re: cmclnodelist

Hi,
exists some old cmclconfig.ascii files on other nodes in cluster?
F.
Stephen Doud
Honored Contributor

Re: cmclnodelist

For the error:
error: permission denied to 127.0.0.1

1) Non-cluster server names should not be listed in cmclnodelist

2) An invalid (old) /etc/cmcluster/cmclconfig exists on a server

3) Do NOT use IPs in cmclnodelist (particularly after loading the Oct'04 Serviceguard patch

Geoff Wild
Honored Contributor

Re: cmclnodelist

And is 127.0.0.1 in /etc/hosts?

add a -v to the cmquerycl command...

Rgds...Geoff
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.
David de Beer
Valued Contributor

Re: cmclnodelist


Arnold,

What version of MCServiceGuard are you using?

Patch Name: PHSS_32731
Patch Description: s700_800 11.11 Serviceguard A.11.16.00
Creation Date: 05/03/13 [Yesterday!]
Post Date: 05/03/28

A defect was introduced which broke the ability for Serviceguard to handle ip addresses in the cmclnodelist file.

This will result in the customer seeing "Permission Denied" errors in response to commands.

Regards,
David de Beer.