12-06-2007
I think that would work fine, although I've not done it for a NIS master.
To do the rename Search Sun's doc site and google. I know for sure there is a how-to on changing the IP and Name of a Solaris server. I've used it in the past. There are about 6 total files you need to touch but I don't remember them all off the top of my head.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master.
Frank (2 Replies)
Discussion started by: frankkahle
2 Replies
2. Ubuntu
Hi All,
can anyone tell me how to mount NIS user /home/<username> directory on the client machine in Ubuntu.
Thanks (3 Replies)
Discussion started by: daya.pandit
3 Replies
3. Solaris
Hi All,
I get below error while running
cd /var/yp
/usr/sbin/ypinit -m
Error Code - 1
updated netmasks
make : warning : target all not remade because of errors
current working dir /var/yp
*** error code 1 ***
make : fatal error : command failed for target 'k'
error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies
4. Solaris
Hello All,
I just tried to create NIS master in my x86 vmware machine. I have followed the steps and created the necessary files and installed via ypinit command. Now the issue is after start the services when provide the ypwhich command showing following error. Please assist.
bash-#svcs... (1 Reply)
Discussion started by: gowthamakanthan
1 Replies
5. Solaris
Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags.
/usr/sbin/ypinit -m
In order for NIS to operate sucessfully, we have to construct a list of the
NIS servers. Please... (1 Reply)
Discussion started by: manju--
1 Replies
6. HP-UX
I have a NIS Master server and NIS Clients.
But when I started the service all the process and files that should be owne by root apper by the owner 0
This is an example
0 1709 1708 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
0 1710 1709 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
0 1708 1 0 10:06:10 ? 0:00... (2 Replies)
Discussion started by: GCSG
2 Replies
7. Red Hat
Goodmorning
i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd.
ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies
8. UNIX Desktop Questions & Answers
I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database.
For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies
9. UNIX for Advanced & Expert Users
I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in place long before I took over so was hoping someone had some insight on how to figure this out. I must... (1 Reply)
Discussion started by: dagamier
1 Replies
10. Solaris
Mostly Solaris 11 with some 10 and even fewer 8 and 9.
At the moment, NIS is used.
Looking for a better way and to get rid of NIS. (13 Replies)
Discussion started by: psychocandy
13 Replies
LEARN ABOUT SUNOS
ypwhich
ypwhich(1) User Commands ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If
invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out
which NIS master it is using.
Refer to ypfiles(4) for an overview of the NIS name services.
OPTIONS
-d domain Use domain instead of the default domain.
-t This option inhibits map nickname translation.
-m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a
map. When mname is omitted, produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind, V3 is default.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypfiles(4), attributes(5)
SunOS 5.10 7 Apr 1995 ypwhich(1)