- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change hostname server nodes on SG
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
10-26-2009 11:55 PM
10-26-2009 11:55 PM
change hostname server nodes on SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 12:26 AM
10-27-2009 12:26 AM
Re: change hostname server nodes on SG
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1256631902410+28353475&threadId=1226221
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 12:32 AM
10-27-2009 12:32 AM
Re: change hostname server nodes on SG
You also need to awards points for your frnds you sharing there valuable time and knowledge
above doesn't shows >Good<<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 03:00 AM
10-27-2009 03:00 AM
Re: change hostname server nodes on SG
This will require that you modify any package configuration file that references the node(s), dropping the NODE_NAME reference to the departing node.
Then modify the cluster ASCII file, removing the departing nodes.
Next, cmapplyconf both the cluster and package configuration files.
With the node(s) removed, change their hostname.
Then update the cluster and package ASCII files with the new hostname, and run cmapplyconf again to add these new references to the cluster binary file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 04:59 AM
10-27-2009 04:59 AM
Re: change hostname server nodes on SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 01:59 PM
10-27-2009 01:59 PM
Re: change hostname server nodes on SG
To change the host name of your node use this command:
# /sbin/set_parms hostname
But before you do this you need to delete the package and the cluster.
Halt the cluster:
# cmhaltcl -f
To delete package:
# cmdeleteconf -c clusterName -p packageName
To delete cluster:
# cmdeleteconf -f
Delete the cluster config file that you created in /etc/cmcluster:
# rm cluster.conf
After this, follow the same procedure to recreate your cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 02:09 PM
10-27-2009 02:09 PM
Re: change hostname server nodes on SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 07:45 PM
10-27-2009 07:45 PM
Re: change hostname server nodes on SG
for changes hostname and impacted with service guard. u must do:
1. Make sure to disable auto start for cluster. edit /etc/rc.config.d/cmcluster.
2. Rename hostname and restart server
3. Edit /etc/cmcluster/cmclnodelist
4. Edit for rlogin access
5. Edit cluster configuration for hostname
6. Compile with cmapplyconf -C < cluster_configuration>
7. Check with cmviewcl. make sure node_name already changes.
8. Edit package configuration for node_name
9. copy package configuration to other node.
10. compile package configuration with cmapplyconf -P
11. startup cluster. with cumruncl -v. cluster and your package will be up.
12. enable auto start for cluster. /etc/rc.config.d/cmcluster.
I hope my step can help you.
Regards
Freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 09:51 PM
10-27-2009 09:51 PM
Re: change hostname server nodes on SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2009 10:10 PM
10-27-2009 10:10 PM
Re: change hostname server nodes on SG
You can edit configuration and compile again. no need to delete.
Regards
Freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2009 05:58 AM
10-28-2009 05:58 AM
Re: change hostname server nodes on SG
1) update the cluster and package configuration files with the new hostnames
2) halt and delete the cluster:
# cmhaltcl -f
# cmdeleteconf -f
3) change the hostnames of the server using both 'hostname' and editing /etc/rc.config.d/netconf
4) recreate the cluster
# cmapplyconf -C
5) start the cluster