- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Changing the Tru64 Host Name Permanently
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
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
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-25-2013 04:51 AM - last edited on 09-25-2013 07:24 PM by Maiko-I
09-25-2013 04:51 AM - last edited on 09-25-2013 07:24 PM by Maiko-I
Changing the Tru64 Host Name Permanently
Before you begin to change the host name, be sure to follow the
recommendations in
Before You Begin.
1. Log in as root.
2. Invoke the Set up Network Interface Cards application.
#
/usr/sbin/sysman interface
3. Select the NIC card associated with the host name from the list of
available
Interfaces, then select Configure.
The Configure the (Ethernet, FDDI, ATM, Memory Channel, or Token
Ring) Interface dialog box opens.
4. Rename the entry in the
Host Name from oldname to newname,
taking care not to change the domain name from the first period to
the end of the field.
For example, change the entry in the
Host Name field from
oldname.aaa.bbb.ccc
to newname.aaa.bbb.ccc.
5. Select
OK.
The Configure the (Ethernet, FDDI, ATM, Memory Channel, or Token
Ring) Interface dialog box closes.
6. Select
OK.
The Set Up the Network Interface Card dialog box closes.
7. Optionally edit and change the file name of the file corresponding to
oldname
(it may be in uppercase characters) in the /usr/sys/conf
directory; this example shows one method for doing this.
#
cd /usr/sys/conf
#
ls
GENERIC
...
OLDNAME
#
sed -e "s/OLDNAME/NEWNAME/" OLDNAME > NEWNAME
#
rm OLDNAME
8. Shut down and reboot the system with the
shutdown -r command.
Be sure to warn users and give them adequate time to save their files,
exit their applications, and log off.
The following is an example that reboots the system in one hour and
displays a message.
#
/usr/sbin/shutdown -r +60 \
System going down in 1 hour! Save your files and log out!
9. Edit the root
.profile, .kshrc, .login, .cshrc, and .rhosts files
as needed to reference the new system name; pay particular attention
to the setting of the
DISPLAY and PS environment variables.
10. Inform other users of the system name change; they may need to
edit their
.profile, .kshrc, .login, .cshrc, and .rhosts files
accordingly.
P.S. This thread has been moved from Alpha Servers to Tru64 UNIX > System Administration. - Hp forum moderator