- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS master server upgrade
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
04-03-2002 08:10 AM
04-03-2002 08:10 AM
I am planning to upgrade the OS (cold install) of one of my NIS master server from 10.20 to 11.0. There is no NIS slave servers, but with clients. Please advice about the best and easy way to do this. Also about the important things that I need to take care about !
Thanks in advance !
Shiju
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:15 AM
04-03-2002 08:15 AM
Re: NIS master server upgrade
After the upgrade, repush all maps.
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:38 AM
04-03-2002 08:38 AM
Re: NIS master server upgrade
You have violated one of the most fundamental rules of NIS - always have slave servers. You don't indicate what functions NIS are doing for your clients but whatever they are (hostname resolution, passwd, group, automount maps, services, ...) they are down for the interim. If I were doing this, I wouuld first create an NIS slave server so that the clients can continue to function normally. You can then safely upgrade your NIS master. As for what you need to save, /etc/passwd, /etc/group, /etc/services, /etc/hosts, and the master versions of any other maps like automount maps. If you have modified your yp makefile then you need a copy of it as well.
After you finish your upgrade, you also need to enable a new slave server so that the failure of the master doesn't harm you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:38 AM
04-03-2002 08:38 AM
Re: NIS master server upgrade
Make sure you have your make file. All the original map files. Is your new nis server going to be same name/IP? if not all slaves will be configure again.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:03 AM
04-03-2002 09:03 AM
Re: NIS master server upgrade
Clay,
Thanks for the help. I know it's a violation about the salve server; but this is a test site and not a big network. The actual NIS functions include passwd, group, services and automount maps. I am aware about the down time, but they wouldn't mind it. My concern is about the best upgrade step( creating fresh/new maps from the ASCII files OR preserving the old map files OR any other methods ). Also about any changes needs to do in the clients.
Sachin,
I will be using the same IP and hostnames.
Thanks
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 01:16 PM
04-03-2002 01:16 PM
Solution/etc/mail/aliases
/etc/auto_master
/etc/group
/etc/hosts
/etc/netgroup
/etc/netid
/etc/networks
/etc/passwd
/etc/protocols
/etc/publickey
/etc/rpc
/etc/services
/etc/vhe_list
/etc/ethers
/etc/netmasks
You need to determine yourself which files are currently managed by NIS and those are the ones you need to copy across to the 11.x system. Another thing to watch out for is /etc/rc.config.d/namesvrs. Any customized settings here needs to be used when you setup the new NIS master. So basically the process would look like ..
On server
---------
1) Edit /etc/rc.config.d/namesvrs.
2) Copy the "/etc/xxxx" files over.
3) Enable and start NIS master.
On clients
----------
1) Just restart nis.client will do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 01:47 PM
04-03-2002 01:47 PM
Re: NIS master server upgrade
Chan,
This is what I planned. So in the list you provided, the step 3) would be 'ypinit -m' and that will create the new maps on the server. Any other suggestions ?
Thanks
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 01:51 PM
04-03-2002 01:51 PM
Re: NIS master server upgrade
# domainname engineer
# ypinit -m
=> Build and install the NIS DB. It'll create the DB in /var/yp/engineer
Now start the NIS master or reboot the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2002 01:14 AM
04-07-2002 01:14 AM
Re: NIS master server upgrade
to create a slave server and requires zero
maintenance, so no matter how small your net is
there is no good reason not to have one. (even
with only two systems I'd make one a master, and one a slave)
Cheers
Steve