Sponsored Content
Full Discussion: NIS question
Top Forums UNIX for Dummies Questions & Answers NIS question Post 29319 by RTM on Thursday 3rd of October 2002 10:56:38 AM
Old 10-03-2002
In how you asked the question - no, it can not be done. Not without cluster-style software that would be able to automatically use the other array. The other problem (which could be solved with cluster-style software) is the NIS Master not being there. If you are looking for an automated solution, some type of cluster software is needed.

One way to do it without cluster-style software - bring up the IP address of the NIS master on the slave and set the slave to become the master with the array attached to it (either a second array or the original via second path). If it's a different array, then data will need to be updated nightly. Writing scripts to do all this can be done, it just isn't as accurate as cluster style software. Getting all the software/scripts to work properly and not bring up the slave as a master by mistake in the middle of the day (when there is nothing wrong with the master) may be a nightmare you don't want.

Another way to do this without cluster-style software - your original (NFS) home directories mounted over /export/home/user. If the NFS mount can't happen, you could then use a default /export/home/user which would be local. This would work but would be a royal pain as far as administration.

(Single user mode)
# ls -a /export/home/myuser
.profile README.nofiles

(Multi-user with NFS working)
#ls -a /export/home/myuser
.dt .profile myfiles.txt

If NFS isn't working then the user would have minimal files in their home directory. The real problem is when the NFS mounts start working (folks could 'lose' files - files would be there, just not accessable - but if your looking for a D/R solution to just get folks working, it could be done this way).


These are just ideas - none of which I have seen work or implemented - I've always been lucky enough to put the fear of loss data into the right people to make them buy the correct software for the redundancy they say they require. That is always the best way to go if this is truely a mission critical server.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

NIS

Hello anyone... I am new to UNIX and I recently bought a Sparc 10 to play around with. Well, last night I executed something called EasyInstall in my /usr/etc/install directory and I selected to "Use NIS". Now when my system boots up it is looking for a NIS server to connect to and keep trying(... (5 Replies)
Discussion started by: jskillet
5 Replies

2. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

Hello all, I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies

3. IP Networking

differences nis nis+

Hello together. Is there someone who is able to explain me the differences between NIS and NIS+. thanks in advance joerg (2 Replies)
Discussion started by: joerg
2 Replies

4. UNIX for Dummies Questions & Answers

Newbie's NIS Question

UNIX Newbie with a Sun Solaris NIS question. I have 2 Sun Solaris (circa 1999) workstations talking to server1 running NIS. user1 is not in the local users on either workstation. user1 can succesfully log into both workstations - as such NIS is being seen and talked to on server1. For... (1 Reply)
Discussion started by: ccy
1 Replies

5. UNIX for Dummies Questions & Answers

NIS question

what is the best way to lock or disable a user account in nis? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

6. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

7. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

8. Solaris

nis

i want to dedicate my nis client system to some perticler group users. how can it possible on solaris. (0 Replies)
Discussion started by: nag.mi2000
0 Replies

9. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

10. Shell Programming and Scripting

Validating that the NIS and NIS+ services are disabled

I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies
NFSMOUNT.CONF(5)						File Formats Manual						  NFSMOUNT.CONF(5)

NAME
nfsmount.conf - Configuration file for NFS mounts SYNOPSIS
Configuration file for NFS mounts that allows options to be set globally, per server or per mount point. DESCRIPTION
The configuration file is made up of multiple sections followed by variables associated with that section. A section is defined by a string enclosed by [ and ] branches. Variables are assignment statements that assign values to particular variables using the = operator, as in Proto=Tcp. Sections are broken up into three basic categories: Global options, Server options and Mount Point options. [ NFSMount_Global_Options ] - This statically named section defines all of the global mount options that can be applied to every NFS mount. [ Server "Server_Name" ] - This section defines all the mount options that should be used on mounts to a particular NFS server. The "Server_Name" strings needs to be surrounded by '"' and be an exact match of the server name used in the mount command. [ MountPoint "Mount_Point" ] - This section defines all the mount options that should be used on a particular mount point. The "Mount_Point" string needs to be surrounded by '"' and be an exact match of the mount point used in the mount command. EXAMPLES
These are some example lines of how sections and variables are defined in the configuration file. [ NFSMount_Global_Options ] Proto=Tcp The TCP protocol will be used on every NFS mount. [ Server "nfsserver.foo.com" ] rsize=32k wsize=32k A 33k (32768 bytes) block size will be used as the read and write size on all mounts to the 'nfsserver.foo.com' server. [ MountPoint "/export/home" ] Background=True All mounts to the '/export/home' export will be performed in the background (i.e. done asynchronously). FILES
/etc/nfsmount.conf Default NFS mount configuration file SEE ALSO
nfs(5), mount(8), 9 Mar 2008 NFSMOUNT.CONF(5)
All times are GMT -4. The time now is 05:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy