Log in as root to the NIS master for your name service domain.
Ensure that the auto.master map has an entry for the auto_direct automount map.
# ypcat -k auto.master/net -hosts -nosuid /home auto_home /- auto_direct |
If the auto_direct entry appears in the output, proceed to Step 4. If the entry does not appear, go to the next step.
Add the auto_direct entry to the auto.master map.
Ensure that the auto_direct map exists.
# ypcat -k auto_direct |
If the map is found, proceed to Step 8Step 8. If the map is not found, go to the next step.
Insert the Solstice AutoClient 2.1 CD into your CD-ROM drive.
This step assumes that your system is running Volume Management.
Copy the makefile excerpt to the directory where the NIS maps are stored.
# cp /cdrom/solstice_sysmgt_2_3/Examples/Makefile.direct /var/yp |
If the NIS maps are stored in a location other than the /var/yp directory, be sure to indicate the correct path in this command.
Create the /etc/auto_direct file.
# touch /etc/auto_direct |
Proceed to Step 9Step 9.
Look for a pre-existing Solstice AutoClient entry.
A table entry supporting an earlier version of the software may be present.
# ypcat -k auto_direct | grep SUNWadm |
If an entry similar to the following appears, proceed to Step 10Step 10.
/opt/SUNWadm server-name:/install-dir/$CPU/SUNWadm |
In this example,
server-name |
Is the Solstice administration system host name. |
install-dir |
Is the path to the Solstice AutoClient 2.1 software location (usually /export/opt). |
If the entry does not appear, go to the next step.
Edit the /etc/auto_direct file, adding the entry designating the location of the Solstice AutoClient 2.1 software.
If you chose an installation location other than the /export/opt directory, be sure to indicate the correct path in this entry.
/opt/SUNWadm server-name:/export/opt/$CPU/SUNWadm |
In this entry,
server-name |
Is the Solstice administration system host name. |
Edit the /etc/auto_direct file, adding the entry designating the location of the Solstice AutoClient 2.1 data area.
If you chose an installation location other than the /export/opt directory, be sure to indicate the correct path in this command.
/opt/SUNWadmd server-name:/export/opt/all/SUNWadmd |
In this command,
server-name |
Is the Solstice administration system host name. |
Specify how to process the files.
Choose one of the following commands, based on whether the auto_direct map is available.
If the auto_direct map was found in Step 4Step 4, rebuild the NIS map using this command.
# cd /var/yp; make auto_direct |
If the auto_direct map was not found in Step 4, rebuild the NIS map using this command.
# make -f /var/yp/makefile -f /var/yp/Makefile.direct \ auto_direct |
If the NIS maps are stored in a location other than the /var/yp directory, be sure to indicate the correct path in this command.
Verify that the entries have been added.
# ypcat -k auto_direct /opt/SUNWadm server-name:/export/opt/$CPU/SUNWadm /opt/SUNWadmd server-name:/export/opt/all/SUNWadmd |
Log in as root to all Solstice administration systems in the NIS name service and run the automount command.
# /usr/sbin/automount |
Running this command enables the system to use the new (or updated) automount map.