Hi gurus, I am trying to understand the enviroment which we are using. The fact that I am asking is that this is production enviroment and I cannot change anything to experiment. Following servers are somehow related to each other, please help me figure out if my conclusions are correct.
- sphinga IS NIS MASTER FOR pharaon
- pharaon IS NIS SLAVE AND ALSO NIS CLIENT TO ITSELF:
1)
- pharaon AUTOMOUNTER ALSO READS NIS MAP CALLED auto.master PROVIDED BY NIS MASTER/SLAVE (sphinga)
- WHERE ARE ENTRIES CONTAINED IN auto.master NIS MAP MOUNTED?
- IT IS MATTER OF CONTENT OF NIS MAP ITSELF OR SOME LOCAL AUTOMOUNTER CONFIGURATION ?
- CONTENT OF auto.master NIS TABLE OBTAINED FROM MASTER/SLAVE (sphinga):
2)
- HOME DIRECTORY OF whally /u/whally IS MOUNTED FROM lecch02 WHICH IS SOME EXTERNAL STOREGE TYPE (PLEASE SEE BELLOW)
- MOUNT POINT IS DETERMINED BY MAP PROVIDED FROM NIS MASTER ? (PLEASE SEE BELLOW)
3)
- DIRECT MAP ON MASTER (sphinga) WILL BE PROPAGATED THROUGHT NIS TO pharaon
- OR MORE CLEARLY, THE DIRECT MAP IS PROPAGATED AFTER THE INDIRECT MAP RECORDS ARE "EXPANDED"
- IF THERE WAS NO +auto.master ENTRY IN CLIENTS /etc/auto_master THE EXPORTING THIS FILE ON NIS MASTER WOULD HAVE ANY SENSE ?
- FOLLOWING LINES ARE NEARLY SIMMILAR TO ypcat auto.master ON NIS CLIENT:
4)
- INDIRECT MAP (THOSE THAT WILL BE "EXPANDED") ON NIS MASTER
- SO WHATEVER IS EXPORTED ON "lecch02:/root_vdm_2/user005/home/whally" IT WILL BE MOUNTED UNDER /u/whally
- BECAUSE OF "/u auto.indir.users -rw,soft,nosuid" ENTRY IN DIRECT MAP
5)
- WHERE DOES SOLARIS HAVE NIS CONFIG FILE (LINUX HAS /etc/yp.conf), WHERE IS DECLARED WHICH FILES WILL BE NIS MAPS ETC. ?
- HOW TO DETERMINE WHICH NIS VERSION IS ACTUALLY RUNNING ?
- HOW TO FIND MASTERs/SLAVEs CLIENTS ?
- WHAT IF NIS MASTER MAP CONTAINS "/u" AS A MOUNT POINT DIRECTORY BUT CLIENT AUTOMOUNTER WHICH READS THIS MAP DO NOT HAVE "/u" DIRECTORY CREATED, WILL IT BE CREATED ON CLIENT AUTOMATICALLY ?
################################
#HERE IS ANOTHER EXAMPLE OF ENVIROMENT: #
################################
sphinga IS NIS MASTER FOR hunland:
- DIRECT MAP FILE ON hunland
- +auto_master NIS MAP IS READEN FROM NIS:
6)
- lecch IS PROBABLY SOME TYPE OF STORAGE (I DONT HAVE ACCESS ON IT)
- THIS IS WEIRD SYNTAX WHICH I DID NOT FIND IN MAN PAGES, HOW ARE THOSE DIRECTORIES MOUNTING ?
- WHAT I HAVE FIGURED IS THAT THET ARE ALL MOUNTED UNDER /lecch (BECAUSE OF "/lecch lecch_home" ENTRY IN DIRECT MAP) BUT WHAT A WIERD SYNTAX ?
- IS THE BACKSLASH IN CONFIG FILE ONLY THE ESCAPING OF NEW LINE CHARACTER ?
7)
- CONTENT OF DIRECT MAP FROM NIS (WHY auto.master NOT auto_master ?) :
- CONTENT OF INDIRECT MAP FROM NIS:
- AUTO MOUNTER FUNCTION IN PRACTICE:
8)
- IS SAFE TO UMOUNT /u/koltas MANUALY THROUGHT umount COMMAND EVEN IF IT WAS PREVIOUS MOUNTED VIA AUTOMOUTER ?
- /u/* ENTRIES ARE ALSO MOUNTED IN /lecch DIRECTORY OR POSSIBLY BETTER THE /lecch ENTRIES ARE ALSO MOUNTED UNDER /u ?
- HOW TO FIND CORRESPONDING /lecch/* DIRECTORY TO /u/koltas DIRECTORY ? (PLEASE SEE BELLOW)
9)
- NOW WE ARE EXPERIENCING PROBLEMS WITH SOME /lecch SUBDIRECTORIES BUT IT USED TO WORK, THIS COMMAND SIMPLY HANGS - WHAT COULD BE POSSIBLE PROBLEM ?
- BUT THIS (FOR ANOTHER SUB DIRECTORY UNDER /lecch) RUN AS EXPECTED
- SAME QUESTION AS ABOVE: WHY ARE ALL USERS DURING SWITCHING TO THEIR HOME DIRECTORIES MOUNTED UNDER "/u" WHERE IS THIS SPECIFIED ?
Many thanks for all your corrections
---------- Post updated 08-13-12 at 12:34 AM ---------- Previous update was 08-12-12 at 01:09 AM ----------
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do
What i did
$cat /etc/auto.master
/home/vm1/Desktop /etc/auto.nfs
$cat /etc/auto.nfs
nfs-bind -fstype=nfs ... (3 Replies)
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Hi!
I have a wondering regarding the syscalls automounter floods out when running strace on the process, are the below ioctl & futex messages bad? and is there any way to investigate em deeper?
ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(3,... (5 Replies)
Im not very experienced with C so this is probably a basic question. I have a script that opens up 5 sockets, it then runs through a loop and on a given event reconnects to the relevant socket and sends some data. The socket to be reconnected to is kept track of with a 'count' variable. The sockets... (5 Replies)
Have an AIX 5.2 box. I had automounter already setup to control /home using /etc/auto_home as an indirect automount map.
Then we added NIS. We have it working, but for some reason, the NIS table auto.home seems to override /etc/auto_home entries. Of course, there are some duplicates... (2 Replies)
Hi ALL,
Does anyone know how automounting can be disabled in solaris?
(I need to mount the home directory on to a sun machine from another machine.
So I run something like
mount another_machine:/home /home (on my sun)
however i get an error saying device busy)
I was told automouting... (1 Reply)
Hello All,
A number of UNIX platforms currently bundle clients for the NIS, NIS+, and LDAP services.
I'd like to know how to discover what naming services are available.
E.g., results :
=============================
URL:
service:naming-directory:nis://192.168.1.100/eng.wiz.com
... (0 Replies)
Hello all,
How does the Solaris identifies the controller subscript ? ( like c0txdxs0 or c1txdxsx ?? )
I have a unix box ( Ultra 30) running with 2.5.1.
When I connected an external hard disk to the on-board scsi port, it got identified as c0t1dxsx...
(... (1 Reply)
I have this question in my study guide could anyone please help me with the answer and (explicit) explanation.
hostname: HOSTONE
automounter file: /etc/auto.home
entry: scps HOSTTWO:/export/home/scps
commands executed on HOSTONE, mark all commands where the automounter will be invoked.
... (3 Replies)