I tested HP-UX 11 automounter on two work station exporting /home and its working fine. All the users given authority to check the directory can access it by login in the CDE.
The Problem NOW: I tried to impliment it with our real server L-Series and copied the configuration. but i have this login promblem at CDE!!!
here is the warning that i get:
A session cannot be started bec. of the following error:
The authentication file - /.ICEauthority could not be created,
If the files - /.ICEauthority-c and - /.ICEauthority-l exist, they must be removed before your session can be started.
here is the configuration i made to my Server and Client station:
-----SERVER-----
# cd /etc
# vi exports
/home -rw="workstation name" or "ipaddress"
:wq!
# cd /etc/rc.config.d
#
# vi nfsconf
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
START_MOUNTD=1
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
# wq!
stop & start Server via command line
# /sbin/init.d/nfs.server stop
#
# /sbin/init.d/nfs.server start
CONFIGURATION COMPLETE!!!
-----CLIENT-----
# cd /etc
# vi auto_master
/net -hosts -nosuid,soft
/home /etc/auto_home -nobrowse,soft,intr,timeout=60,nosuid
:wq!
# vi auto_home
"user name" -suid,rw,intr,soft "SERVER":/home/&
# :wq!
# cd /etc
# vi fstab ---Edit /home to /home2---
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol4 /home2 vxfs delaylog 0 2
:wq!
# cd /
# mkdir /home2
# umount /home ---must be in "/"---
# cd /etc/rc.config.d
# vi nfsconf
NFS_CLIENT=1
NFS_SERVER=0
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0
AUTOMOUNT=1
cp: cannot access nfsconf: No such file or directory
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
START_MOUNTD=1
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
# :wq!
stop & start Server via command line
# /sbin/init.d/nfs.server stop
#
# /sbin/init.d/nfs.server start
CONFIGURATION COMPLETE!!!
Hope somebody out there can help me!
thanks!!!
evan
The Problem NOW: I tried to impliment it with our real server L-Series and copied the configuration. but i have this login promblem at CDE!!!
here is the warning that i get:
A session cannot be started bec. of the following error:
The authentication file - /.ICEauthority could not be created,
If the files - /.ICEauthority-c and - /.ICEauthority-l exist, they must be removed before your session can be started.
here is the configuration i made to my Server and Client station:
-----SERVER-----
# cd /etc
# vi exports
/home -rw="workstation name" or "ipaddress"
:wq!
# cd /etc/rc.config.d
#
# vi nfsconf
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
START_MOUNTD=1
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
# wq!
stop & start Server via command line
# /sbin/init.d/nfs.server stop
#
# /sbin/init.d/nfs.server start
CONFIGURATION COMPLETE!!!
-----CLIENT-----
# cd /etc
# vi auto_master
/net -hosts -nosuid,soft
/home /etc/auto_home -nobrowse,soft,intr,timeout=60,nosuid
:wq!
# vi auto_home
"user name" -suid,rw,intr,soft "SERVER":/home/&
# :wq!
# cd /etc
# vi fstab ---Edit /home to /home2---
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol4 /home2 vxfs delaylog 0 2
:wq!
# cd /
# mkdir /home2
# umount /home ---must be in "/"---
# cd /etc/rc.config.d
# vi nfsconf
NFS_CLIENT=1
NFS_SERVER=0
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0
AUTOMOUNT=1
cp: cannot access nfsconf: No such file or directory
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
START_MOUNTD=1
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
# :wq!
stop & start Server via command line
# /sbin/init.d/nfs.server stop
#
# /sbin/init.d/nfs.server start
CONFIGURATION COMPLETE!!!
Hope somebody out there can help me!
thanks!!!
evan