- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change package name
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
11-28-2001 07:36 PM
11-28-2001 07:36 PM
What is the step of doing this?
Is it necessary to shutdown cluster during changing name?
Thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 07:47 PM
11-28-2001 07:47 PM
Re: Change package name
Recently we have done the similar acitivities on our servers. What we have done :
1) Halted the cluster and packages.
2) Edited the package configuration file and changed the package name to "newpkg" on both the nodes across cluster.
3) Kept the debug file so that only the volume group, the file systems and the relocatable IP addrress come up, and not the application - in the package.
4) Started the cluster we saw two packages specified , one was the already removed package and the other one was the new name.
We have confidently removed the former one by cmdeleteconf -p "oldpkg" and then checked cluster for errors by
cmcheckonf and have applied the same. Restarted cluster. Done
As ours was some sort of crash and burn operation there was no problems for doing all these..
Cheers !!!
Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 11:47 PM
11-28-2001 11:47 PM
Re: Change package name
1. it is not nessesery to halt the cluster, just the package.
2. remove the package
3. alter the package name in the configuration file. check conf and apply conf it, and copy it around.
3. start the "new" package.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 12:09 AM
11-29-2001 12:09 AM
Re: Change package name
Can you give me more details of the command?
How can I remove the package? Use what command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 12:19 AM
11-29-2001 12:19 AM
Re: Change package name
http://docs.hp.com/hpux/ha
will help you accomplish this. There are examples of various things you can do, as well as a table listing what can be changed with the cluster still running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 01:47 AM
11-29-2001 01:47 AM
Re: Change package name
I like to add:
change the DNS configuration so the new name is known.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 01:52 PM
11-30-2001 01:52 PM
Re: Change package name
To change the packge name you have to shutdown the package. The cluster can still stary up and other packages can stay running in the cluster,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=fa370745118b90f413/screen=ckiDisplayDocument?docId=200000057370714
Here is a link on the service Guard command reference.
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=95c6e06c049ae765e4/screen=ckiDisplayDocument?docId=200000055097174
If you need more help, post your reply.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 05:46 PM
11-30-2001 05:46 PM
Re: Change package name
I have new question.
One of the node's name in cluster has to be changed. ( Because DNS is being used )
I am afraid there is something to be changed in MC/SG setting? Do I need to reform the cluster again as the host name is changed?
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2001 10:53 PM
11-30-2001 10:53 PM
Re: Change package name
I think you have to delete the node from the cluster and then add the node again to the cluster if you wish to change the node name. This is how you can proceed.
Modify the cluster configuration and the packge configuration to exclude the node from the cluster. Check the package and cluster configuarion for errors using cmcheckconf. If there are no errors apply the configuration. Next do the node name change and the DNS changes. Once that is okay, reconfigure the cluster configuration file and the packge configuration file and check for errors. If no errors are found just apply the changes.
You can use the "cmgetconf" command to collect the present cluster configuration, "cmcheckconf" to check the cluster configuration and "cmapplyconf" to apply the package configuration.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 12:51 PM
12-02-2001 12:51 PM
Re: Change package name
Sanjay is right (bunny:-). Remove the node from the cluster. Change the node name (set_parms), cmqueryconf a new asci file edit it, check it and apply it. This should do the it. But DNS is a tool that enables flexability in hostnames/ipadresses, why do you have to change the name. It is easier to change the name of an other server?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 05:48 PM
12-02-2001 05:48 PM
Re: Change package name
Later server2 is set to use DNS and the name of server2 becomes server2.company.com when I use nslookup.
Is it necessary to re-config the MC/SG in this case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 06:11 PM
12-02-2001 06:11 PM
Re: Change package name
You don't have to change the configuration in this case. If the server name is server_name and if it is configured in DNS where the domain name is domain.com, nslookup will return the name as server_name.domain.com
So it is okay. You don't have to reconfigure the SG in this case.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 06:24 PM
12-02-2001 06:24 PM
Re: Change package name
But I have problem on starting package on the server which has just changed to use DNS ( server2 )
[server2:/] cmruncl
Permission denied accessing node server1.
cmruncl : Waiting for cluster to form..................
But I can start properly at server1 and both nodes are joined in the cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 06:47 PM
12-02-2001 06:47 PM
Re: Change package name
Let me assume that you are using the same DNS for name resolution on both the servers server1 and server2. Now you must be using the resolver to resolve the ip and system name. Check the settings over there, you should define the nsswitch to look for /etc/hosts first and then to DNS. Your /etc/resolv.conf file should look like this,
search domain.com
nameserver name_server1_ip
nameserver name_server2_ip
Here is a thread on how you can configure the resolver,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/28-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/28-toc.html&searchterms=/etc/resolv.conf&queryid=20011202-184830
Now your /etc/nsswitch.conf file should look like this,
hosts file DNS
Here is the thread on /etc/nsswitch.conf,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/9-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/9-toc.html&searchterms=/etc/nsswitch.conf&queryid=20011202-184810
You can also try this,
Edit /etc/cmcluster/cmclnodelist file and add this entry,
server1 server1_ip
server2 server2_ip
Here you have to create a file called "cmclnodelist" in /etc/cmcluster directory.
Now try and start the cluster.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 06:51 PM
12-02-2001 06:51 PM
Re: Change package name
Sorry, but just saw a mistake in my earlier post. In your /etc/nsswitch file the hosts entry should look like,
hosts files DNS
and it should not be
hosts file DNS
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2001 08:59 PM
12-02-2001 08:59 PM
Re: Change package name
There is one more thing. The cmclnodelist as mentioned above is not used for hostname resolution. Instead it is used by MC/SG as a substitute for .rhosts file. The format as mentioned in the earlier post for cmclnodelist is wrong and the correct format for that file is the same as .rhosts file.
Sorry for the mistake.
Hope this helps.
Regds