Operating System - HP-UX
1753928 Members
8930 Online
108810 Solutions
New Discussion юеВ

Re: Host name problem.,,,,,,,

 
SOLVED
Go to solution
Raj D.
Honored Contributor

Re: Host name problem.,,,,,,,

And after the reboot,
again check: with the below command , it should not be failed once it is satisfied with 8 character correct hostname,

>>
cat /etc/rc.log | grep -i -e err -e fail
/sbin/rc1.d/S320hostname start" FAILED
>>
- Once the hostname script done in the run level 1, the "S320hostname start" should be ok with no failure message in rc.log .



- And finally verify, that the host name is correct in all the places:
# uname -a ; hostname
# cat /etc/rc.config.d/netconf | grep -v ^#

# cat /etc/hosts | grep `hostname`

# ping `hostname`
# nslookup `hostname`



Hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Kannandgl_1
Frequent Advisor

Re: Host name problem.,,,,,,,

Dear Raj,

Thanks for your support.I will try to change the host name.But the problem is we are using 2 node cluster.If any other alternative ways is there.I have to changed both nodes and reconfigured the cluster file that way i worries jeee...

Kindly give the some step or idea for me reconfigured the 2 node cluster.

Thanks and regards
Kanna
Raj D.
Honored Contributor

Re: Host name problem.,,,,,,,

Kanna,

Check this out for MC/SG cluster configuration:

- You can start with , first fix the hostname issues, correct ip adress /etc/hosts etc.
- put each host name entrt in /etc/cmcluster/cmclnodelist
- Then start with:


# swlist -l product | grep -i servicegu
# cmquerycl -v -C /etc/cmcluster/cluster1.ascii -n node1 -n node2 -q quorumserver

- Modify the cluster.ascii file per the config.
- next cmcheckconf/cmapplyconf/ --> cmrunnode -> if everything is ok proceed to package configuration. --> after that, failover test. verify --> Done.


- Further go through:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1224594


- For diffrent topic , remember to open a different ITRC thread.


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Asif Sharif
Honored Contributor

Re: Host name problem.,,,,,,,

Changing HOSTNAME on a ServiceGuard node

See the Technical knowledge base - document
UMCSGKBRC00006541
http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01028186-2

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1281499722296+28353475&threadId=1266876


Regards,
Asif Sharif
Regards,
Asif Sharif