1830350 Members
1781 Online
110001 Solutions
New Discussion

MCSG

 
SOLVED
Go to solution
Vijeesh CTK
Trusted Contributor

MCSG


Can i configure 2nodes with nodename 'TEST1' and 'Test1' in MC serive guard.

TIA
Regards,

Vijeesh CTK
12 REPLIES 12
Sanjay_6
Honored Contributor

Re: MCSG

Hi,

Why is it so important that you configure two servers as SG nodes with their names as TEST1 and Test1. Though there is no reason why you can't. Go ahead and give it a try.

Hope this helps.

Regds
Vijeesh CTK
Trusted Contributor

Re: MCSG


Hi sanjay

I am having a software which address the node name and it is licensed to TEST1)it can be Test1 also). so that i am using the same hostname(with caps and normal ). will SG support node name like these.



Vijeesh CTK
Vijeesh CTK
Trusted Contributor

Re: MCSG


hi sanjay,

i am getting output for cmquery like this.

cmquerycl -v -C/etc/cmcluster/cmclconfig.ascii -n TEST1 -n Test1

TEST1 = 10.9.1.1
Test1 = 10.9.1.2

Begin checking for clusters..
Looking for other clusters..
Error: Fail tobind address 10.9.1.2 with socket: cant assign requsted address
Error: Unable to get a socket for Test1: Cant assign requested address
Permission denied to Test1

TIA

Regards,

Vijeesh CTK
Luc Bussieres
Frequent Advisor
Solution

Re: MCSG

Hi,

Could cannot use the same name in both uppercase and lowercase this is unsupported by the system since the name resolution (DNS, nslookup, ...)is case insensitive.

Luc
La réponse est le malheur de la question
Amruth
Regular Advisor

Re: MCSG

Hi Vijeesh Bhai,

If i am getting the same problem, i will check the following.

1. Made a file /etc/cmcluster/cmclnodelist

server_name_1 root
server_name_2 root
on both hosts server_name_1 and server_name_2

2. /etc/hosts

127.0.0.1 server_name_1 (this line will be added to the hosts file after the original ip address on server named server_name_1

similarly on host server_name_2

127.0.0.1 server_name_2

Hope this will solve the problem....
You are having Problem in BSE.

AR
If i am doing the same way you are doing to me then what is the difference between us.
Vijeesh CTK
Trusted Contributor

Re: MCSG

hi Arjun( A N ?)

the problem for me is I am having node names "TEST1" and "Test1"

pls note this.

another error,

Domain name node (10.9.1.2) does not match th local domain name
Unable to establish communication to node failed to gather information.

i want to know whether with the above node names can i configure MCSG.

Vijeesh CTK


Amruth
Regular Advisor

Re: MCSG

In most of the documents of HP, only lower case letters are shown.

Arjun@AN
If i am doing the same way you are doing to me then what is the difference between us.
Sanjay_6
Honored Contributor

Re: MCSG

Hi,

you may have problem if you any application which is not case sensitive when looking for the hostname. Most of the time the application we use for MC/SG uses the floating ip and the system name is not hard coded, this allows the application to move from one system to another without worrying about which system the application is sitting on. Hardcoding the system name in the application configuration is sort of breaking a cardinal rule under MC/SG.

For the problem you are facing, you can create a file /.rhosts on both servers and put these entries over there,

server_name_1 root
server_name_2 root

or you can create a file /etc/cmcluster/cmclnodelist and put the abovementioned entries in that file on both the server. The cluster configuration can use this file in place of .rhosts for all its configuration / communications. Also make sure both the servers are part of the same domiain and also they are having the correct DNS entries. Check and make sure the entries for domain / search are same in /etc/resolv.conf.

do a "nslookup" and make sure the systems are identified correctly.

nslookup
> Server_name_1
> Server_name_2
> Server_1_ip
> Server_2_ip
> exit

All these should be identified uniformly, such as same domain names and correct hotnames and ip address. Once this is done and the /.rhosts or /etc/cmcluster/cmclnodelist files have been edited do a "cmqueycl" and try to create a cluster ascii configuration file. You can also create or edit /etc/hosts.equiv file if you want.

Take a look at this doc on how to setup mc/sg on your system,

http://docs.hp.com/hpux/onlinedocs/B3936-90053/B3936-90053.html

Hope this helps.

Regds
Vijeesh CTK
Trusted Contributor

Re: MCSG


hi sanjay

i changed my one hostname to TEST2(TEST1 to TEST2) and the other Test1 and finished installing MCSG.

Thanks,

Vijeesh CTK
Helen French
Honored Contributor

Re: MCSG

CTK =))

Just saw your posting.

The cmquerycl command will give you "permission denied accessing node" error, when the hostname and its alias have their positions reversed in the /etc/hosts file. By placing the hostname in the correct position (before the alias), you should be able to resolve this issue.

Did you try this ?

Savari giri giri ..

Shiju
Life is a promise, fulfill it!
Vijeesh CTK
Trusted Contributor

Re: MCSG


Hi Shiju,

hostname and aliases where in correct format in /etc/hosts . At last i changed TEST1 to TEST2 and the other node Test1 and installed MCSG

Vijeesh CTK
G. Vrijhoeven
Honored Contributor

Re: MCSG

Hi,

You can tweek your hostname resolving by adjusting the /etc/nsswitch.conf so it uses /etc/hosts.
(FILES [ NOT FOUND=CONTINUE ] DNS)
Clients should connect with the serviceguard packages and not with the nodes. These can be unique.

Hope this will help,

Gideon