- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving to a new network/domain
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
03-05-2003 11:58 AM
03-05-2003 11:58 AM
We are Planning to move a machine HP9000/N-Class/HP-UX 11.0 to another network and domain.
Any suggestion concerning the following points would be appreciated :
1 - Is there others elements that I have to consider besides modifying files netconf, hosts and resolv.conf before stopping the machine and moving it ?
2 - About software installed on this machine, there are files in which we make reference only to the name of the server (example tnsnames.ora for oracle), thus will not be affected by the change.
But there are other software for which we use the name of the machine follow-up by the name of domain : servername.abc.com (Case of messaging server).
If somebody has already done a similar exercise, just to know if it takes a lot of time to change these settings.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 12:43 PM
03-05-2003 12:43 PM
Re: Moving to a new network/domain
My message did not inspire anybody? Any information please. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 12:51 PM
03-05-2003 12:51 PM
Re: Moving to a new network/domain
Probably the easist, most reliable method is to use '/sbin/set_parms' to change the IPAddress and other network configurations.
# /sbin/set_parms ip_address
# /sbin/set_parms addl_network
When done, you can verify the domain name changes in 'etc/hosts', '/etc/resolv.conf' and '/etc/sendmail.cf'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:01 PM
03-05-2003 01:01 PM
Solution/etc/rc.config.d/netconf
/etc/issue
/etc/warning
/etc/hosts
/var/adm/sw/products/ifiles/_ACL
/var/adm/sw/products/ifiles/_OWNER
/var/adm/inetd.sec
/var/adm/sw/security/_ACL
/var/adm/sw/security/_OWNER
/var/adm/sw/security/_PROD_DFLT_ACL
/var/adm/sw/security/_SOC_DFLT_ACL
Those ACL files has a comment string and I just want to update them. As for application that reference the static full domain name, you would just have to handle them seperately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 03:05 PM
03-05-2003 03:05 PM
Re: Moving to a new network/domain
I edited the following files
/ect/rc.config.d/netconf
/etc/hosts
/etc/fstab
/var/adm/inted.sec
/etc/resolv.conf
/etc/nsswitch.conf
/etc/mail/sendmail.cf
Fortunately I knew the new network and domain specs and
I made the files in advance calling them .new (ie hosts.new)
The night before the big move
I ran a script that renamed the original files to .old and renamed the .new files to the original, then it did a shutdown -h now. Very easy script to write and push out to every box.
When we got to our new site all we had to do was plug them in and turn them on.
I might note that we changed our naming convention for the boxes as well. which is why I had to edit the /etc/fstab
The sendmail.cf around line 95
the is a spot to put in your domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 09:28 PM
03-05-2003 09:28 PM
Re: Moving to a new network/domain
You can handle most of it in /etc/rc.config.d/netconf
You can add the domain name to your hostname.
steve becomes steve.mynet.com
IP addresses can be done here as well, then either restart the box or bring the network down and up.
You will still have to look at resolv.conf and some of the other files mentioned above depending on the extent of the changes.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 11:41 AM
03-06-2003 11:41 AM
Re: Moving to a new network/domain
Paul, I would like to know if you had had to modify files others than the one we listed (I mean configuration files of software installed on the servers ) and if that caused problem for your applications.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 11:54 AM
03-06-2003 11:54 AM
Re: Moving to a new network/domain
I used this script in the app directories to do this quickly.
#!/usr/bin/ksh
find /DIR -type f | while read FNAME
do
sed "s/OLDHOST/NEWHOST/g" < ${FNAME} > ${FNAME}.tmp
mv ${FNAME}.tmp $FNAME
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 01:55 PM
03-06-2003 01:55 PM