FE01.math OS setup and Install
Operating System Install
Ultra 10 (440 MHz CPU) comes with Solaris 8 (2.8) installed.
We are using Solaris 2.6 in our general environment.
To install Solaris 2.6 on a Sparc CPU greater than 419 Mhz you need to
use the special hardware cd that comes with the sparcstation
(Operating Environment Installation CD 1999) along with the
Solaris 2.6 5/98 Server CD (get from IST as we don't have our own
copy).
During the installation I used these replies:
- "boot cdrom" from "Operating Environment Installation CD 1999"
- Would you like to use this installer? [y,n,?] y
- Do you want to format /dev/dsk/c0t0d0? [y,n,?,q] y
- Enter a swap partition size between 320Mb and 8692Mb,
default = 512Mb [?] 2000
- WARNING: ALL INFORMATION ON THE DISK WILL BE ERASED!
Is this OK [y,n,?,q] y
- Enter host name []: fe01
(note install will no longer let you use ".math")
- Is this machine networked (y/n) [n]? y
- Enter this machine's IP Address []: 129.97.216.156
- Enter the subnet netmask [255.255.255.0]:
- Please enter the number corresponding to the type of name service you
would like [4]:
ie None.
- Please enter the number corresponding to how you would like to specify
the time zone [1]: 3
- Enter file name of time zone file or '-' for a list of
files [-]: Canada/Eastern
- The default date and time is MM DD, YYYY HH:MM . Do you want to use
this date and time (y/n) [y]?
Just get the date close, xntp package will set it correctly once it's
installed.
- Enter the root password []: *******
- Enter the root password []: *******
- Do you want Power Management turned on (y/n) [n]?
- Ask about Power Management at each reboot (y/n) [n]?
- Enter 'y' to apply these values and proceed to the next stage of the
installation, or 'n' to return to the beginning and make changes (y/n): y
- Select the number corresponding to the operating environment you would
like to install [1]: 2
ie Solaris 2.6 5/98
- Solaris OS: Solaris 2.6 5/98
Enter 'y' if this is correct, or 'n' if it is incorrect: y
- Please insert the Solaris 2.6 5/98 CD.
< Press Return after the CD has been inserted >
- Select the number corresponding to the type of install you would like
[1]: 2
ie Custom Install
- Select the software localizations you want to install.
The English version of Solaris will be installed by default.
Enable locale German ( de ) (y/n) [n]?
Enable locale Spanish ( es ) (y/n) [n]?
Enable locale French ( fr ) (y/n) [n]?
Enable locale Italian ( it ) (y/n) [n]?
Enable locale Swedish ( sv ) (y/n) [n]?
- Select the number corresponding to the desired system locale [6]: 2
ie. English (Canada) ( en_CA )
- Select the number corresponding to the desired Solaris software
group [2]:
ie. Entire Solaris Software Group
- partitioned the disk this way:
Partition | Size |
Number | Name | MBytes |
0 | / | 1024 |
1 | swap | 2048 |
6 | /fsys | 5096 |
Once system has rebooted after the initial OS install, I then:
- added host "ist" entry to /etc/hosts and corrected hostname from
fe01 to fe01.math. Also:
- changed fe01 to fe01.math in /etc/hostname.hme0
- ran "hostname `cat /etc/hostname.hme0`"
"mount ist:/sunpatches /mnt"
- "cd /mnt; ./patchinstall"
- stored temporary files in "/tmp"
- did not save the original version of the software
- installed "suggested" patches to be installed.
- our environment uses lots of pseudo terminals so
append "set pt_cnt = 512" to "/etc/system" file
- rebooted host using "reboot -- -rv"
XHiering Host
- add math.uwaterloo.ca and pythagoras.math.uwaterloo.ca to /.rhosts.
- add math.uwaterloo.ca, fisher-1 and pythagoras.math.uwaterloo.ca
to /etc/hosts.
- add "none:*:303:" to /etc/group
Basic XHier Services
Setup the Xhier Tree
- mkdir -p /vendor /xhbin /.software /fsys/.software/{admin,arch,local,regional,share,spool}
- ln -s /fsys/.software/* /.software
- ln -s /.software/share /software
Setup NFS Mount of regional information and while we're at it
also added all the NFS mounts to vfstab
#
# NFS Mounts from fisher.math
#
fisher-1.math:/vol/vol2/dotsoftware/regional - /.software/regional nfs - yes rw,hard,grpid
fisher-1.math:/home/mail - /var/mail nfs - yes rw,hard,grpid,actimeo=0
fisher-1.math:/home/u1 - /u1 nfs - yes rw,hard,grpid
fisher-1.math:/home/u2 - /u2 nfs - yes rw,hard,grpid
fisher-1.math:/home/u3 - /u3 nfs - yes rw,hard,grpid
fisher-1.math:/home/u4 - /u4 nfs - yes rw,hard,grpid
fisher-1.math:/home/u5 - /u5 nfs - yes rw,hard,grpid
Create home mount point directories plus /u (where the link tree into u# lives).
Also want to support kludge from when home directories where on
pythagoras:/fsys2 and everyone use to reference them via /fsys2/u*.
- mkdir /fsys2
- ln -s /u{,1,2,3,4,5} /fsys2
Mount the regional information which is used by xh-first-time.
- mount /.software/regional
- mount /var/mail
Setup the Xhier access rights.
- Pythagoras.uwaterloo.ca is the admin and arch master for this host
So on the ultimate admin master of pythagoras
(ie currently math.uwaterloo.ca) add the line
"fe01.math pythagoras.math" to
"/.software/admin/xhier/data/access-rights".
You can find the ultimate admin master by tracing it back through
the access-rights file or just hope the comment at the top of the
access-rights file is correct.
- distribute xhier package from ultimate admin master to pythagoras
math# xh-distribute -t admin -h pythagoras.math xhier
- repeat above steps for the arch master (could also potentially be
share but this usually comes from the arch master).
In this case it's even the same as the admin master so we don't
have to do anything.
Add fe01.math to /etc/hosts.equiv
- update /etc/hosts.equiv on regional master and then
distribute to all hosts listed in hosts.equiv file.
Add host to appropriate groups
- on the arch master, cd to "/software/.admin/hosts" and choose the
appropriate groups that the new host should belong to.
- use "ls -l" on the group name to see what package the group is
actually distributed from.
- trace that package back to it's root, (where the RCS file is for
the file you need to modify) and add the new host.
- xh-distribute the package from the top of the tree to the arch/admin
master(s) of the host your installing.
Add host to setpw setup
- Find out where the setpw package in being distributed from.
ie trace it back from the your arch master to the host that
has the RCS directory for the
/software/setpw/data/config/hosts/hosts..
files.
- Choose the appropriate file for the new host your adding, and
add it's entry.
- use "spread passwd" to spread this new entry around.
Initializing xhier.
- Run xh-fist-time
pythagoras.math# xh-first-time -v fe01.math
- fix /.software/local/xhier/config/local/xhier_maintainer to yourself
until your happy with the way the host is working.
- fix /software/xhier/config/admin/xhier_maintainer to send its mail
to the appropriate administration alias
(xhier_math_admin@math.uwaterloo.ca)
- Send mfcf-basics and os-extras again
pythagoras.math# xh-distribute -h fe01.math mfcf-basics
pythagoras.math# xh-distribute -h fe01.math os-extras
- Create /software/os-extras/data/gateway by adding the IP address
of this hosts gateway
fe01.math# echo "129.97.166.1" > /software/os-extras/data/gateway
- Since this host only has one disk, the entire operating system
was installed on one partition "/". We need to inform xhier that
this is what we wanted.
fe01.math# echo "AllowPathOnRoot=yes" >> /software/os-extras/config/local/gateway
- repeated the above xh-distribute's (there where no errors
this time around, only a couple of warnings -> Use a secure mail server
and "Can't find registrar host 'xh-registrar... " which is because
sendmail package has not been installed yet and routing is not yet working.
Installing Basic Service Packages.
Sometime around now ask /software/lpr/.admin/Maintainer to setup a printcap
file on this host.
Manual Package Cleanups
Quick blasting of packages (Needs to be sorted by functional groups)
- pythagoras.math# xh-dist2 fe01.math aceclient-2.1uw acetools-2.1uw
- pythagoras.math# xh-dist2 fe01.math x11,network x11,contrib
- pythagoras.math# xh-dist2 fe01.math x11,minimal x11,network
- pythagoras.math# xh-dist2 fe01.math x11_minimal x11_netbasics x11_network2
- pythagoras.math# xh-dist2 fe01.math x11r5_demos x11r5_fontstuff
- pythagoras.math# xh-dist2 fe01.math tetex-1.0
- pythagoras.math# xh-dist2 fe01.math groff-1.15
- pythagoras.math# xh-dist2 fe01.math acrobat-4.0
- pythagoras.math# xh-dist2 fe01.math communicator-4.61
fe01.math# xh-install communicator-4.61
- pythagoras.math# xh-dist2 fe01.math pine-4 elm-2.5
- pythagoras.math# xh-dist2 fe01.math emacs-20.4 emacs-contrib
- pythagoras.math# xh-dist2 fe01.math xemacs-20.4
- pythagoras.math# xh-dist2 fe01.math auctex auctex-emacs19 auctex-lemacs
- pythagoras.math# xh-dist2 fe01.math xpm-3.4f
- pythagoras.math# xh-dist2 fe01.math ghostscript-6 ghostview-1
- pythagoras.math# xh-dist2 fe01.math lynx-2.8.2
- pythagoras.math# xh-dist2 fe01.math top-3.5
- pythagoras.math# xh-dist2 fe01.math gcc-2.95.2
- pythagoras.math# xh-dist2 fe01.math calendar
- pythagoras.math# xh-dist2 fe01.math users
- pythagoras.math# xh-dist2 fe01.math jqpublic
- pythagoras.math# xh-dist2 fe01.math xfig-3.2
- pythagoras.math# xh-dist2 fe01.math sc
Final Tweaking
rcs initial /etc/vfstab and /etc/dfs/dfstab
Turn off dtlogin with "chmod a-x /usr/dt/bin/dtlogin"
- fe01.math# xh-local-maintenance
and check the output that everything is clean