MCSE Boot Camp Notes :

Networking Guide
Chapter 13, Configuring the NFS automounter

Setting automount environment variables

Setting automount environment variables

automount provides for the use of environment variables within a direct, indirect, or master map entry. Using environment variables is helpful for users who wish to manage automount maps with NIS. The advantage of using NIS is being able to maintain a single map for distribution to multiple clients. If such a map requires a value that varies from client to client, it can be replaced by an environment variable. This allows several clients to use the same map entry but still be mounted on different servers.

Environment variables can be used by prepending a dollar sign ($) to the name of the variable. Braces are used to delimit the name of the environment variable from appended letters or digits. These variables can be used anywhere in an entry line, except as a key.

Environment variables can either be inherited from the environment or can be defined explicitly with the -D command-line option. For instance, if you want each client to mount client-specific files in the network in a replicated format, create a specific map for each client according to its name, so that the relevant line for host milan is:

   /mystuff        acapulco,tokyo,sydney:/export/hostfiles/milan
For moscow it is:
   /mystuff        acapulco,tokyo,sydney:/export/hostfiles/moscow
This scheme is viable within a small network, but maintaining this kind of host-specific map across a large network would soon become unfeasible. The solution in this case is to start automount with a command line similar to:

automount -D HOST=`hostname` ...

The entry in the direct map should read:

   /mystuff        acapulco,tokyo,sydney:/export/hostfiles/$HOST
Now each host finds its own files in the mystuff directory, and the task of centrally administering and distributing the maps becomes easier.

See also:

Networking guide
Call : 800-519- 2267

MCSE CCNA Certification boot camp
Testimonials
 Join MCSE Boot Camp & CCNA Boot Camp Back to Back Certification Today.
MCSE Boot Camp links  MCSE Boot Camp 270  MCSE Boot Camp  290  MCSE Boot Camp  291  MCSE Boot Camp 293  MCSE Boot Camp  294  MCSE Boot Camp 298  MCSE Boot Camp 299  MCSE Boot Camp Security  MCSE Boot Camp 640-801  MCSE Boot Camp routing MCSE Boot Camp 811  MCSE Boot Camp 821  MCSE Boot Camp 831  MCSE Boot Camp Resources MCSE Boot Camp MCSE + CCNA  MCSE Boot Camp Training  MCSE Boot Camp Card pay  MCSE Boot Camp Papal  MCSE Boot Camp MCSE Notes  MCSE Boot Camp CCNA Notes    MCSE Boot Camp index MCSE Boot Camp main  MCSE Boot Camp root MCSE Boot Camp link  MCSE Boot Camp resources MCSE Boot Camp home    Ref1 Ref2
Microsoft MCSE Boot Camp
MCSE Boot Camp, MCSE Certification boot camp, MCSE Training boot camps, MCSE certification  boot camp training at California and Maryland USA. Also CCNA, CCNP, CISSP, Red Hat Linux Certification notes.

Vibrant boot camp offers MCSE, CCNA, CCNP Certification back to back

Vibrant offers MCSE certification training boot camp for $5400 all inclusive, instructor led at California and Baltimore.

Acquiring and Modifying Software Packages, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Active Directory Integrated Stores, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Active Directory Support for Client Computers, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Adding a User to a Group, MCSE Boot Camp Training get MCSE Boot Camp Certification join MCSE Boot camps

Adding Additional CPUs, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Adding Performance Counters, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Adding Removable Media Drives, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Adding Service Packs and Hotfixes to a Network Installation Share, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Administering Sites Remotely, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Administering Terminal Services, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Administrative Templates, MCSE Boot Camp Training get MCSE Boot Camp Certification join MCSE Boot camps

Administrator - MCSE Boot Camps

Advanced Boot Options, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Alerts, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Assigning Software Packages, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Assigning Special Access Permissions, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Auditing - mcse boot camp, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Auditing Access to Active Directory Objects, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Auditing Access to Files and Folders, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Auditing Access to Printers, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Auditing Object Access win2003, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp

Authentication, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Authoritative Restores, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Automated System Recovery, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Automatic IP Addressing, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Automatic Logon, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps

Automatic Updates, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps

Backing Up and Restoring Data, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps