- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname chagnes for the nodes in the Serviceguard...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 12:40 AM
09-09-2008 12:40 AM
Hostname chagnes for the nodes in the Serviceguard cluster environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 12:43 AM
09-09-2008 12:43 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 12:49 AM
09-09-2008 12:49 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 01:07 AM
09-09-2008 01:07 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
Follow the steps:
steps to change hostname of nodes in serviceguard cluster environment:
========================================================================
In order to change the hostname,number of system and cluster files must be edited, the server must be rebooted, and the cluster configuration
file must be re-applied.Use the following steps to complete the changeover.
1. If the present cluster configuration does not match the present
hardware configuration, further cluster modifications may compound
unresolved issues. Determine if the present cluster binary is still
compatible with the cluster hardware and resolve the issues as deemed
necessary before proceeding with this document:
# cd /etc/cmcluster
# cmgetconf CONF # create a cluster ASCII from the binary
# cmcheckconf -C CONF # verify the binary against the hardware
If cmcheckconf fails, it may be necessary to dissolve the present
cluster and create a new ASCII file. This requires that the cluster
be halted:
# cmhaltcl
# cmdeleteconf
(The creation of the new cluster configuration file comes in step 10.)
2. Perform cmhaltnode on the node receiving the new hostname.
3. Execute the set_parms hostname command. This will change the
hostname reference in the following files:
/etc/rc.config.d/netconf
/etc/hosts
4. On each node where they exist, change the NODE_NAME references in both
the cluster and package configuration files on:
/etc/cmcluster/cmclconfig.ascii (cluster ASCII file)
NODE_NAME
/etc/cmcluster/
NODE_NAME
5. Update these files on both hosts with the new hostname:
~root/.rhosts or /etc/cmcluster/cmclnodelist
/etc/hosts.equiv
/etc/hosts
Update any DNS name servers as well.
6. If any, update references to the old hostname in package control
scripts. References to floating or relocatable IP addresses or names
should not be affected.
7. On the server being renamed, edit the /etc/rc.config.d/cmcluster
file to disable it's ability to join the cluster on reboot:
AUTOSTART_CMCLD=0
8. Reboot the server with the new hostname.
9. Verify hostname change:
# uname -a ; hostname
10. If the cluster was dissolved in step 1, create a new cluster ASCII file:
# cmquerycl -C /etc/cmcluster/CONF -n nodeA -n nodeB
11. Verify the configuration files and update the cluster binary file.
Example:
# cd /etc/cmcluster
# cmcheckconf -C cluster.ascii -P pkg1/pkg1.conf -P pkg2/pkg2.conf ...
# cmapplyconf -C cluster.ascii -P pkg1/pkg1.conf -P pkg2/pkg2.conf ...
12. Use the cmrunnode
node into the cluster. Move packages to it as necessary.
13. Edit the /etc/rc.config.d/cmcluster file on each node
to enable automatic cluster startup upon system boot.
AUTOSTART_CMCLD=1
regds,
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 01:11 AM
09-09-2008 01:11 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
cmhaltcl {clustername}
change hostname on node{change /etc/rc.config.d/netconf also}
add new hostsnames and userids (like root) to /etc/cmcluster/cmnodelist
change hostname in /etc/cmcluster/{clusterasciifile}
cmscancl -n nodeB -o /tmp/file
cmquerycl -C config.ascii -n node A -n nodeB
cmcheckconf -v -C cluster.ascii
cmapplyconf -v -C cluster.ascii
replicate this file to alternam enode.
start the cluster
cmruncl {clustername}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 01:13 AM
09-09-2008 01:13 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2008 06:01 AM
09-09-2008 06:01 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
if ur not using .rhost then put the entry in /etc/cmcluser/nodelist
Regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2008 12:15 AM
09-15-2008 12:15 AM
Re: Hostname chagnes for the nodes in the Serviceguard cluster environment.
I am new for HP-UX and Service Guide.
I had followed procedure according to Deepak for changing host name.
But after rebooting server according to step 8 when I fire "cmviewcl" on node it's show "Permission denied to 127.0.0.1".
I had double check "/etc/hosts,/etc/cmcluster/cmclnodelist,~/.rhosts" but problem is same.
If I revert back host name change procedure then I am able to access my cluster.
Currently My Service Guard is working fine with my old host name.
Thnx