E10K: Installing the OS on a domain
Standard disclaimer: Use the information that follows at your own risk. If you screw up a system, don't blame it on me...
Installing a fresh operating system on a new domain is basically a six step process:
- Configuring the SSP as a boot server
- Preparing the domain
- Installing the operating system
- Booting the domain for the first time.
- Installing additional packages.
- Finishing the installation
On the SSP:
- Login as root
- Add the new domain information to the /etc/hosts and to the /etc/ethers
- Insert the CD
- Change to the appropriate directory and run add_install_client
- Solaris 2.5
- Solaris 2.6
cd /cdrom/sol_2_6_598_sparc_smcc_server/s0/Solaris_2.6/Tools ./add_install_client
- Later versions; hopefully it's documented...
- Ensure the cd is shared with ro and anon=0 options otherwise, the domain boot will hang.
- Login to the SSP as ssp; domain_switch, if necessary, to the domain that you're going to install.
- Boot the domain to the OK prompt via bringup -A off
- Start a netcon session and wait patiently for the ok prompt to show up.
- Check for duplicate aliases in the devalias list. The boot will hand if the aliases are defined multiple times. Remove duplicates via nvunalias command.
- Create an alias for the network device from which you'll install the OS. Use show-nets command to display the adapters. Then, nvalias net -Y
- Finally, boot net
For the most part, pretty much a vanilla OS install from here. A couple of key points in the notes:
- Ensure you install the Entire distribution plus OEM support.
- Ensure you make the filesystem slices big enough; particularly swap
- Use eeprom, if necessary, to update the boot-device OBP parm.
Nothing special about this; just ensure you get all the sys_config information correctly. Update the /etc/ssphostname if needed.
The specific packages to add are going to be OS dependent. NFS mount the CD on the domain from the SSP then use normal pkgadd commands to install them.
Here's the list through 2.6
- Any patches for the h/w or os.
- Solaris 2.5
- SUNWabdr - Dynamic Reconfiguration answer book
- SUNWehea - Header file extensions
- SUNWprtnu - Processor partition utilities
- SUNWxntp - Network time protocol
- SUNWabhdw - SMCC hardware answer book
- SUNWeman - Enterprise man pages.
- Solaris 2.6
- SUNWabhdw - Hardware answer book
- SUNWehea - Enterprise header files
- SUNWeman - Enterprise man pages
Just a few things left; only one of which is really important
- Configure the network time protocol using the ssp as the time server. This is important because, without it, DR operations will have problems.
- Configure the alternate pathing software if you're going to use it.