System Administration Course Addendum


THIS PAGE IS CURRENTLY BEING UPDATED - Last update: 30 March 2001


Content

Additional Literature References

Notable WWW References

All Modules
Module 2 - System Setup
Module 3 - System Documentation
Module 4 - User Support
Module 5 - System Monitoring
Module 6 - Disk Partitioning
Module 7 - Filesystems
Module 8 - Logical Volume Management
Module 9 - System Startup and Shutdown
Module 10 - IRIX Run Levels
Module 11 - Backup and Restore Tools
Module 12 - System Recovery
Module 13 - Installation
Module 14 - Desktop System Administration Tools

Additional Notes to Specific Modules

Module 2 - System Setup
Module 3 - System Documentation
Module 4 - User Support
Module 5 - System Monitoring
Module 6 - Disk Partitioning
Module 7 - Filesystems
Module 8 - Logical Volume Management
Module 9- System Startup and Shutdown
Module 10 - IRIX Run Levels
Module 11 - Backup and Restore Tools
Module 12 - System Recovery
Module 13 - Software Installation
Module 14 - Desktop System Administration Tools
Appendix B - Manual Printer Configuration

Additional Literature References

Maurice J. Bach: The Design of the UNIX Operating System, Prentice-Hall, 1986.

Evi Nemeth, Garth Snyder, Scott Seebass: UNIX System Administration Handbook, Prentice Hall, 2nd edition, January 1995. ISBN 0131510517.

Note: Only 2nd edition or later contain IRIX specific information.

Brian W. Kernighan and Rob Pike: The UNIX Programming Environment, Prentice Hall, 1984.

Berny Goodheart and James Cox: The Magic Garden Explained - The Internals of UNIX System V Release 4, Prentice Hall, 1994.

Curt Schimmel: UNIX Systems for Modern Architectures - Symmetric Multiprocessing and Caching for Kernel Programmers, Addison-Wesley, 1994.

Hal Stern: Managing NFS and NIS, A Nutshell Handbook, O'Reilly & Associates, Inc., 1991.


Notable WWW References

www-europe.sgi.com is the European mirror site for www.sgi.com. i.e., all references to www.sgi.com can be replaced by www-europe.sgi.com. Below, only the references to the main site (www.sgi.com) are listed.

All Modules

Module 2 - System Setup

Module 3 - System Documentation

Module 4 - User Support

Module 5 - System Monitoring

Module 7 - Filesystems

Module 8 - Logical Volume Management

Module 11 - Backup and Restore Tools

Module 13 - Software Installation

Appendix B - Manual PrinterConfiguration


Additional Notes to Specific Modules

Some useful hints, caveats, not necessarily found in the course handouts. These notes are meant to be accompanying the course handouts and may or may not be useful without them.

Module 2 - System Setup

TZ=MET-1MEST,M3.5.0/2,M10.5.0/3
date 101211042004
netmask 0xffffff00        or        netmask 255.255.255.0
netstat -i             to get a list of network interfaces names (e.g. ec0)
ifconfig ec0
hosts: nis dns files
to
hosts: files dns

and execute the following command to activate the change:

nsadmin restart

Module 3 - System Documentation

dynaweb 3.1
insight 3.0.4
insight_base 3.0.4

Module 4 - User Support

chown -Rh <newid> ~username
rwall host1 host2 ...

showmount(1m) lists all the clients that have remotely mounted a filesystem from the current host.

Module 5 - System Monitoring

find / -size +10000 -exec ls -ld '{}' \;
ps -ef | sort +1n
setenv EDITOR vi
crontab -e
If you prefer a mouse based editor, setenv EDITOR nedit. (jot doesn't work properly)

Module 6 - Disk Partitioning

dvhtool -v list
dvhtool -v list /dev/rdsk/dks0d2vh
mknod /dev/dsk/dks0d2s3 b 128 35
ls -l /dev/dsk/dks0d2s3
brw-r--r-- 1 root sys 128, 35 Mar 9 02:21 dks0d2s3
chmod go-rwx /dev/dsk/dks0d2s3
ls -l /dev/dsk/dks0d2s3
brw------- 1 root sys 128, 35 Mar 9 02:21 dks0d2s3

repeat the same for the raw device /dev/rdsk/dks0d2s3.

Module 7 - Filesystems

mount -p | tail -1 >> /etc/fstab
mount -r /dev/dsk/dks0d4s7 /CDROM
mount -t iso9660 -r /dev/scsi/sc0d4l0 /CDROM

Module 8 - Logical Volume Management


vol mirrored
data
plex
ve /dev/dsk/dks1d1s7
plex
ve /dev/dsk/dks1d2s7
end

vol striped
data
plex
ve -stripe /dev/dsk/dks1d1s7 /dev/dsk/dks1d2s7
end

vol striped_and_mirrored_with_mirrored_log
data
plex
ve -stripe dks3d1s7 dks4d1s7 dks3d2s7 dks4d2s7
plex
ve -stripe dks4d3s7 dks3d3s7 dks4d4s7 dks3d4s7
log
plex
ve dks1d1s15
plex
ve dks1d3s15
end

Note: if several controllers are available for striped volumes, rotate first the controller numbers and then the disk id's for optimal performance:

GOOD:      dks3d1s7 dks4d1s7 dks3d2s7 dks4d2s7
NOT GOOD:  dks3d1s7 dks3d2s7 dks4d1s7 dks4d2s7

Module 9 - System Startup and Shutdown

setenv SystemPartition ctrl(0)disk(3)rdisk(0)partition(8)
setenv OSLoadPartition ctrl(0)disk(3)rdisk(0)partition(0)
setenv root dks0d3s0
boot -f dksc(0,4,8)sashARCS dksc(0,4,7)/stand/fx.ARCS --x
or
boot dksc(0,4,7)/stand/fx.ARCS --x
if the sash from the volume header of the system disk is used.
(use sash64 and fx.64 if system is running a 64-bit kernel: all R8000 and R10000 systems except O2 R10k)
killall -HUP inetd
boot -f bootp()happy:/CDROM/stand/fx.ARCS --x
killall sleep

to get rid of it and initiate the shutdown immediately.

Left-CTRL      Left-SHIFT      F12      / (on Numeric Keypad)

Module 10 - IRIX Run Levels

chkconfig -f <yourflag> on

Module 11 - Backup and Restore Tools

Module 13 - Installing Software

mkdir /dist
cd /dist
(cd /CDROM/dist; tar cfvB - .) | tar xfB -

Appendix B- Manual Printer Configuration

Printers

/etc/init.d/lp stop
/etc/init.d/lp start
Note: some printer models require an Impressario license. Check the following WWW page http://www.sgi.com/Technology/Impressario/devices.html#Printers for more information.

Terminals


http://reality.sgi.com/urs/sysadm/addendum.html
March 2001, Urs Meyer, Silicon Graphics, Zurich

From older versions of the system administration course

Module 9 - Introduction to NFS

Module 8 - Swap Administration

Module 9 - Network Filesystems