Chapter 13, Configuring the NFS automounter
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/milanFor moscow it is: /mystuff acapulco,tokyo,sydney:/export/hostfiles/moscowThis 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/$HOSTNow 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
Vibrant boot camp offers MCSE MCITP, CCNA, CCNP Certification back to back Vibrant offers MCSE MCITP certification training boot camp for $5400 all inclusive, instructor led at California and Baltimore. |
reason_to_join_vibrant_boot_camp.php
mta-it-infrastructure-windows-server-training-certification.php
msce-windows-2008-to-2016-upgrade.php
microsoft-mcse-messaging-certification-training-course.php
microsoft-certification-courses.php
mcse-productivity-exchange-server-2016.php
mcse-cloud-platform-infrastructure-azure-track.php
mcsa-windows-server-2016-training-certification-boot-camp.php
mcsa_server_2012_r2_boot_camp.php
comptia-certification-courses.php
comptia_a+_network+_boot_camp.php
comptia_a+_bootcamp_course.php
cisco-certification-courses.php
certified-ethical-hacker-ceh-certified-EC-council.php