100 likes | 267 Vues
Solaris Administration Network II. netj@sparcs.kaist.ac.kr. Remote File System. File System Sharing share, shareall Configuration files /etc/dfs/dfstab /etc/vfstab NFS, WebNFS, Autofs. NFS. /etc/init.d/nfs.server (start | stop) mount -F nfs (path | NFS URL) /mnt Automounter
E N D
Solaris AdministrationNetwork II netj@sparcs.kaist.ac.kr
Remote File System • File System Sharing • share, shareall • Configuration files • /etc/dfs/dfstab • /etc/vfstab • NFS, WebNFS, Autofs
NFS • /etc/init.d/nfs.server (start | stop) • mount -F nfs (path | NFS URL) /mnt • Automounter • /etc/init.d/autofs (start | stop) • Web NFS • NFS URL - nfs://server<:port>/path
Remote File System Cmds • nfsstat • pstack • rpcinfo • snoop • truss
Autofs • Autofs map • master • /etc/auto_master • mount-point map-name [ mount-options ] • direct • Mount point /- • key [ mount-options ] location • indirect • auto_home • key [ mount-options ] location
Autofs (Cont’d) • automount • autofs • automountd • /etc/init.d/autofs
sendmail Mail host, server, client, gateway /etc/mail sendmail.cf aliases Mail Address mailbox@mailhost Mail Aliases /etc/mail/aliases Alias check sendmail -v -bv mconnect Mail Queue /var/spool/mqueue .forward files pkill -HUP sendmail Log files /var/log/syslog/mail.* Mail Services
Mail Services (cont’d) • mail, mailx, rmail • mailstats • mconnect • newaliases, praliases • vacation • sendmail
Monitoring Network • ping • spray • snoop • netstat [ -i | -r | -s ] • nfsstat [ -s | -c | -m]
References • System Administration Guide, Volume 3 • http://docs.sun.com