- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing the Server 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
Forums
Discussions
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
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
04-15-2006 04:02 AM
04-15-2006 04:02 AM
#uname -a i get ==>
HP-UX oracle B.11.11 U 9000/800 3652365215 unlimited-user License
i want oracle to be nasjet1
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 04:29 AM
04-15-2006 04:29 AM
Re: Changing the Server NAME
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 04:48 AM
04-15-2006 04:48 AM
Re: Changing the Server NAME
Use
#/sbin/set_parms newhostname
You will also need to change the entries in /etc/hosts , DNS and for any other software you have installed that may be using the current hostname in any of its configurations.
Refer to the thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=934243
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 04:51 AM
04-15-2006 04:51 AM
Re: Changing the Server NAME
You can directly use this command
#uname -S nasjet1
Thanks !
Sivakumar P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 05:05 AM
04-15-2006 05:05 AM
Re: Changing the Server NAME
/sbin/set_parms will change server names which will be effective across server reboots.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 05:11 AM
04-15-2006 05:11 AM
Re: Changing the Server NAME
#/sbin/set_parms
#there is no file such as hostname
but i have change it by editing the file /etc/rc.config.d/netconf
is it correct to change it from there?
coz it work when i order uname -n it give me nasjet1 the new name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 05:24 AM
04-15-2006 05:24 AM
Re: Changing the Server NAME
The command you should have used is
/sbin/set_parms nasjet1
Note : This will require reboot so better to do this when the server is available for reboot. set_parms is the preffered way to manually editting any config files.
Anyhow - what you have done should work. But better to use the set_parms command.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 05:28 AM
04-15-2006 05:28 AM
Re: Changing the Server NAME
# /sbin/set_parms nasjet1
+ /sbin/set_parms nasjet1
Error: set_parms: Invalid dialog name: nasjet1
Usage: set_parms
Where
hostname
timezone
date_time
root_passwd
ip_address
addl_netwrk
or initial (for entire initial boot-time dialog sequence)
but when i correct the command to be
# /sbin/set_parms
+ /sbin/set_parms
+ sh: hostname: Cannot find or open the file.
how can i solve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 08:37 AM
04-15-2006 08:37 AM
Re: Changing the Server NAME
'/sbin/set_parms' is an interactive uitlity that will prompt you for its information. Since you want to change your server's hostname, type exactly this (as root):
# /sbin/set_parms hostname
You will now be asked for the actual hostname you want to use. A reboot will occur when you exit this utility.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 09:45 AM
04-15-2006 09:45 AM
Re: Changing the Server NAME
You can /etc/rc.config.d/netconf file for changing the server name.
hostname & uname scripts are taking values from the above files when system starts up.
Thanks & Regards,
shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 09:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2006 06:00 PM
04-15-2006 06:00 PM