- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS MIGRATION
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
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
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-13-2009 07:12 PM
тАО04-13-2009 07:12 PM
NIS MIGRATION
1. How to check NIS master server is running properly in workstation.
2. How to check whether NIS client points to New or Old worksation (Master Server)
I have copied /var/yp/maps, /misc & edited the /etc/rc.config.d/namesvrs file frm Old server to New once and then i have stopped nis.maser service by sbin/init.d/nis.master stop. Finally started the NIS master service in the New workstation. Hope i should to lot of things over here, request to provide any suggesion.
Note: Version used is HP UX 11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:25 PM
тАО04-13-2009 07:25 PM
Re: NIS MIGRATION
> running properly in workstation.
ypwhich -m
ypcat some_map_or_other
("ypcat passwd", for example.)
> 2. How to check whether NIS client [...]
ypwhich -m (on the client system)
I did most of my NIS work on Suns, and it has
been a while since I cared, so I know
nothing, but I usually did something crude,
like re-running ypinit [-c|-m|-s] on all the
old and new servers, as appropriate. (After
moving the official map source files to the
new master, of course.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 09:46 PM
тАО04-13-2009 09:46 PM
Re: NIS MIGRATION
Thanks for your comments. I normally used to create user account in NIS master server by providing #adduser command. But now this command is not working in New NIS master server. So i created user through sam, it was created successfully, but the home directory is not created in another host. (home dir created successfully in local host) Kindly find the below mentioned for your convenience.
===========================================
ogin: oprakash
Password:
Unable to change directory to "/ford/vasi0001/u/oprakash"
Logging in with home = "/".
[1] %
============================================
Here /ford/vasi0001 is a another workstation.
So I have checked /ford/vasi0001/u dir oprakash not created and i found existing user home directory. its looks some thing like below mentioned
drwx--x--x 30 rnatraja rnatraja 2048 Mar 11 07:45 rnatraja
drwx--x--x 15 1110050 1110050 2048 Jul 21 2008 kthirush
Request you to suggest me for the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 10:36 PM
тАО04-13-2009 10:36 PM
Re: NIS MIGRATION
> created successfully, but the home
> directory is not created in another host.
> (home dir created successfully in local
> host) [...]
What is the home directory for the user in
the NIS data?
ypcat passwd | grep oprakash
Is it "/ford/vasi0001/u/oprakash"?
Where is "/ford/vasi0001/u"? Is it local to
one system? (Which one?) Or is it on an
NFS-remote file system? (Or both?)
> Here /ford/vasi0001 is a another
> workstation.
I don't understand this. "/ford/vasi0001" is
a directory name, not a workstation name.
> ogin: oprakash
I don't know which system this is.
> drwx--x--x 15 1110050 1110050 2048 Jul 21 2008 kthirush
If the "passwd" and "group" data are good,
then I would not expect to see numbers (like
"1110050 1110050" in an "ls -l" report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 06:27 AM
тАО04-22-2009 06:27 AM
Re: NIS MIGRATION
after creating a user with sam you have to push the NIS maps with '/var/yp/ypmake'.
I don't know how it is/was with the #adduser command ... also I can't believe that the user's home dir is created at every client when running this command at the server (but I don't know).
>drwx--x--x 15 1110050 1110050 2048 Jul 21 2008 kthirush means that the user/group is not known at this ws. Are these id's not known at the NIS server? Or only not pushed ...
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 06:38 AM
тАО04-22-2009 06:38 AM
Re: NIS MIGRATION
1) ypwhich
2) You need the user entries from /etc/passwd and /etc/group old to new.
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
тАО04-23-2009 01:10 AM
тАО04-23-2009 01:10 AM
Re: NIS MIGRATION
Thanks for your support, problem fixed.