This section describes how to manually customize the resource pool server.
Manually complete the JumpStart installation and configure the Solaris image according to the instructions in the Solaris documentation and the following steps.
Enable the DHCP on its primary interface (the default).
Create the /etc/hostname.interface-identifier file for the primary interface:
For example:
/etc/hostname.ce0 |
This file should be empty.
Create the /etc/dhcp.interface-identifier file for the primary interface.
This file should contain a single line that reads wait forever primary. Do not disable the default icmp ping operation on the primary interface from the N1 Provisioning Server software. The monitoring software performs anicmp ping operation on the primary interface to check whether a device is running.
Create the following file for each additional interface, excluding the loopback interface:
/etc/dhcp.<interface_identifier> |
Each of these files should contain a single line that reads wait 60.
If the image is for a Solaris device with more than two interfaces, also create the following file for each nonprimary and nonloopback interface:
/etc/hostname.interface_identifier |
These files should be empty.
Change the last line of /etc/default/dhcpagent from:
PARAM_REQUEST_LIST=1,3,12,43 |
to
PARAM_REQUEST_LIST=1,3,6,12,15,43 |
If the image is for a Solaris device with more than two interfaces (excluding the loopback interface), also make the following modification to the /etc/default/dhcpagent file:
Uncomment the parameter value pair “RELEASE_ON_SIGTERM=yes”.
Delete all *.dhc files in the /etc/dhcp/ directory.
Enable FTP.
Although by default FTP is enabled, the following is how to enable FTP:
Verify that the Java 2 Platform, Standard Edition, on the resource pool server is version 1.4.1_02.
For installation of Solaris 8, include a workaround for Solaris 8 bug No. 4457119. The recommended fix is to create the file /etc/rcS.d/S99dhcpfix with the following contents:
# # Name: /etc/rcS.d/S99dhcpfix # # Author: Chris Morton # Ericsson, Inc. # (919) 472-6494 # # This is here to fix a bug in Solaris DHCP It will remove any lines # in /etc/inet/hosts that DHCP added, so the # /sbin/netstrategy program will return the correct values. HOSTSFILE=/etc/inet/hosts TEMPHOSTFILE=/tmp/hosts.$$ case "$1" in "start") echo "N1"s Standard DHCP Environment" ;; # Fall through -- rest of script is the initialization code "stop") exit 0 ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac # What's my hostname?: hostname=`/sbin/dhcpinfo Hostnamè if [ -z "$hostname" ]; then hostname="unknown" fi # What's my IpAddress ipaddress=`ifconfig ce0 | grep inet | awk '{print $2}'` # If you can find my hostname anywhere in /etc/inet/hosts, delete that line. /usr/bin/rm -f ${TEMPHOSTFILE} /usr/bin/egrep -v "[ ]${hostname}([ ]|$)" ${HOSTSFILE} > ${TEMPHOSTFILE} 2> /dev/null # Add a line based on the actuals echo "${ipaddress} ${hostname} ${TEMPHOSTFILE} /usr/bin/cp -p ${TEMPHOSTFILE} ${HOSTSFILE} /usr/bin/rm -f ${TEMPHOSTFILE} |
Verify that the symbolic link /usr/java points to the directory where the Java 2 Platform is installed.
Reboot the server.
Copy the N1 Provisioning Server agent package from the N1 Provisioning Server software to the tftboot directory on the N1 Provisioning Server for installation on the image.
If you are running the JumpStart post installation script postinstall.sh, skip this step.
Use TFTP to get the agent package from the control plane server.
If you are running the JumpStart post installation script postinstall.sh, skip this step.
cd var/tmp tftp>cp tftp>binary tftp>get TSPRagsol.pkg Received 456704 bytes in 0.4 seconds tftp>quit |
Manually install the monitoring software package by typing the following command:
pkgadd -d TSPRagsol.pkg |
If you are running the JumpStart post installation script postinstall.sh, skip this step.
Run the command pkginfo | grep package_name to ensure that you have installed the following operating environment packages:
SUNWbzip SUNWbzipx SUNWzip
SUNWgzip SUNWtcsh SUNWscpux
Run the following command to start the monitoring software:
/etc/init.d/N1PSagt start |