- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS to a diff subnet
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
05-13-2008 07:24 AM
05-13-2008 07:24 AM
with a NIS server on it. It maps all the users directories, etc...
We have a new server on a diff subnet 10.x.x.x
I have been task with moving the NIS server from 192 to 10. Thet are two different machines and one subnet can not reach the other.
I have looked thru the forums and the docs I see reference are after login only!
Help, suggestions?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 08:29 AM
05-13-2008 08:29 AM
Re: NIS to a diff subnet
You need a router to insure connectivity between networks. That can be the standard Cisco router or a server with two NIC cards configured as a router.
IF there is ping, NIS will work.
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
05-13-2008 09:09 AM
05-13-2008 09:09 AM
Re: NIS to a diff subnet
Not sure what is being asked here. Are you moving the entire host, or are you transfering the NIS services from one host to another?
> Thet are two different machines and one subnet can not reach the other.
Which two machines can not reach each other? the old and new NIS servers or clients? How many clients do you have and what segment are they going to be in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 09:45 AM
05-13-2008 09:45 AM
Re: NIS to a diff subnet
I am looking to propagate thru tape, tar, whatever all the configurations of the original nis server.
The two networks can NOT be joined together by router and or lan cards.
I have a new host, a new subnet, and I wish to retain the nis server dconfig as the clients will be migrated also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 10:06 AM
05-13-2008 10:06 AM
SolutionBut for NIS alone you need to copy all the files that were used to create the NIS maps. Then you have to recreate the NIS server with "ypinit -s" and repoint all NIS clients to the new server.
It would be best if you temporarily attach the new server to 192 segment under a temp name and IP and do all the copying from the old server to the new. Then when you move it to the new segment, change the IP and reinitialize NIS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 10:31 AM
05-13-2008 10:31 AM
Re: NIS to a diff subnet
"There is more than NIS that you need to propagate to the new server"
What files?
"copy all the files that were used to create the NIS maps"
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 10:34 AM
05-13-2008 10:34 AM
Re: NIS to a diff subnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 11:42 AM
05-13-2008 11:42 AM
Re: NIS to a diff subnet
What are your plans with the two NIS servers? Are they going to be two separate NIS domains or are you going to combine them in one domain? You can keep the separate, no problem you have to keep track which hosts (clients) are in each domain.
The default NIS maps are listed in /etc/rc.config/namesvrs in the LONGNAMES_OPTIONS and in /usr/sbin/ypinit in the MASTER_MAPS and ALL_MAPS variables
Most of the files that are used to create the NIS maps are in /etc. The most commonly used maps are hosts, passwd, group and sometimes aliases. The remaining maps are carried along from their default state.
> What else?
> "There is more than NIS that you need to propagate to the new server"
You need to identify any custom configuration that was done on the old host and repeat that in the new server. It varies but areas to look into are all the startup config files in /etc/rc.config.d/*, additional software that were installed via swinstall or manually, /usr/local/*, printers etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 02:06 PM
05-13-2008 02:06 PM
Re: NIS to a diff subnet
I obviously do not have enough info.
Big thanks to all...