Solaris Installation Procedure: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 1: Line 1:
  Download installations CDs or DVD image from http://www.sun.com along with Software Companion CD.
This sections describes Solaris 10 installation procedure for CLON cluster (Sparc-, Xeon- and Opteron-based machines).


  Boot from CD1. Following questions will be asked:
You will need 4 CDs 'Solaris 10 Software' and one CD 'Software Companion'. Download CDs or DVD image from http://www.sun.com.


hostname: ''clonxt2''
Boot from CD1. Several questions will be asked, for example for clonxt2:


IP address: ''129.57.167.108''
  hostname: ''clonxt2''
  IP address: ''129.57.167.108''
  mask: ''255.255.255.0'' (will be written to ''/etc/netmasks'')
  route: ''129.57.167.99'' (others: ''129.57.68.100'', ''129.57.69.1'', ''129.57.160.1'', will be written to ''/etc/defaultrouter'')
  services: choose ''DNS''
  domain name: ''jlab.org''
  DNS servers: ''129.57.167.5'', ''129.57.167.14'', ''129.57.32.100''
  search domain: ''jlab.org'', ''acc.jlab.org'' (will be written to ''/etc/resolv.conf'')


mask: ''255.255.255.0''
Partition disk: set 12GB for 'swap', 20GB for system '/', mount the the rest as '/space' (clon05 and others with smaller disks: 4096MB swap, 15GB /). Sun has its own disk name scheme, for example c1t0d0 means ... .


route: ''129.57.167.99'' (others: ''129.57.68.100'', ''129.57.69.1'', ''129.57.160.1'')
Follow instructions on screen and finish installation.


services: choose ''DNS''
After installation is finished do following:


domain name: ''jlab.org''
  Use /opt/sfw/bin/emacs to edit files
  /etc/default/login: comment out CONSOLE=/dev/console
  /etc/ssh/sshd_config: PermitRootLogin?: no - change to 'yes'
  svcadm restart /network/ssh (to show all services, use 'svcs')
  !!! From now on 'ssh root@clonxt2' is possible from remote host !!!
  create /etc/defaultdomain with one line containing 'CCCHP'
  add to /etc/hosts all hosts to be used in 'ypinit -c' command (see below)
  execute 'domainname CCCHP' (or reboot)
  ypinit -c
  next host to add: clon10
  clon00
  clon01
  clasonl1 (for EEL building)
  ccs10 (for EEL building)
  svcadm enable /network/nis/client (or start, or restart ???)
  ypwhich - shows NIS server (must be clon10)


DNS servers: ''129.57.167.5'', ''129.57.167.14'', ''129.57.32.100''


search domain: ''jlab.org'', ''acc.jlab.org''


Partition disk: set 12GB swap, 20GB /, the rest /space (clon05 and others with smaller disks: 4096MB swap, 15GB /)
 
BLA
clon machines can be connected up to 3 different subnets; for example clonxt2:
129.57.167.108 - clonxt2 (iprb0) - goto /etc/hosts
129.57.68.23 - clonxt2-daq1 (e1000g0) - goto /etc/hosts
129.57.69.201 - clonxt2-daq2 (e1000g1) - goto /etc/hosts

Revision as of 09:05, 14 January 2007

This sections describes Solaris 10 installation procedure for CLON cluster (Sparc-, Xeon- and Opteron-based machines).

You will need 4 CDs 'Solaris 10 Software' and one CD 'Software Companion'. Download CDs or DVD image from http://www.sun.com.

Boot from CD1. Several questions will be asked, for example for clonxt2:

 hostname: clonxt2
 IP address: 129.57.167.108
 mask: 255.255.255.0 (will be written to /etc/netmasks)
 route: 129.57.167.99 (others: 129.57.68.100, 129.57.69.1, 129.57.160.1, will be written to /etc/defaultrouter)
 services: choose DNS
 domain name: jlab.org
 DNS servers: 129.57.167.5, 129.57.167.14, 129.57.32.100
 search domain: jlab.org, acc.jlab.org (will be written to /etc/resolv.conf)

Partition disk: set 12GB for 'swap', 20GB for system '/', mount the the rest as '/space' (clon05 and others with smaller disks: 4096MB swap, 15GB /). Sun has its own disk name scheme, for example c1t0d0 means ... .

Follow instructions on screen and finish installation.

After installation is finished do following:

 Use /opt/sfw/bin/emacs to edit files
 /etc/default/login: comment out CONSOLE=/dev/console
 /etc/ssh/sshd_config: PermitRootLogin?: no - change to 'yes'
 svcadm restart /network/ssh (to show all services, use 'svcs')
 !!! From now on 'ssh root@clonxt2' is possible from remote host !!!
 create /etc/defaultdomain with one line containing 'CCCHP'
 add to /etc/hosts all hosts to be used in 'ypinit -c' command (see below)
 execute 'domainname CCCHP' (or reboot)
 ypinit -c
 next host to add: clon10
 clon00
 clon01
 clasonl1 (for EEL building)
 ccs10 (for EEL building)
 svcadm enable /network/nis/client (or start, or restart ???)
 ypwhich - shows NIS server (must be clon10)



BLA clon machines can be connected up to 3 different subnets; for example clonxt2: 129.57.167.108 - clonxt2 (iprb0) - goto /etc/hosts 129.57.68.23 - clonxt2-daq1 (e1000g0) - goto /etc/hosts 129.57.69.201 - clonxt2-daq2 (e1000g1) - goto /etc/hosts