This section describes the command (PROM) monitor programs, which control the boot environment for all SGI workstations and servers running the IRIX operating system. With the command monitor, you can boot and operate the CPU under controlled conditions, run the CPU in command monitor mode, and load programs (for example, the operating system kernel, /unix, or special debugging and execution versions of the kernel). For detailed information on the PROM monitor, see the prom(1M) man page and Chapter 9, “Using the Command (PROM) Monitor” in IRIX Admin: System Configuration and Operation.
For SGI servers, the installed PROM default variables are correct for use with SGIconsole. For SGI desktop systems, if no keyboard is plugged in when the system is powered on (or reboot on machines), then the PROM uses the first serial port for I/O.
You can force the correct behavior for all SGI desktop, servers, and visualization systems as follows:
Set the PROM variable console to d. This can be done two ways:
From the PROM monitor prompt, perform the following:
setenv console d |
From the IRIX operating system, as root user perform the following:
nvram console d |
Return the alt console line in /etc/inittab file to the originally installed value (if different) as follows:
t1:23:respawn:/sbin/suattr -C CAP_FOWNER,CAP_DEVICE_MGT, CAP_DAC_WRITE+ip -c "exec /sbin/getty ttyd1 console" |
The :23: variable can be different on your machine if you have created more run levels for site purposes. The alt console variable for the getty(1M) process must be enabled on all stable run levels (not on single-user (s) or on the transition run levels: 0, 1, or 6. Single-user has a shell on the console. If you add another shell, configuring systems to run with SGIconsole will be more difficult.
SGIconsole uses Digi Realport firmware. You must download the correct Realport firmware from the console server which is the machine where you installed SGIconsole 2.1 to your multiplexer.
Perform the following steps:
Download the latest Digi RealPort firmware for EL-16 or EL-160 at this location, as follows: http://support.digi.com/support/drivers/linux/index-stsels.html
An example filename for EL-16 is 80007008_B.bin.
Copy the firmware to /tftpboot.
Add entries to the /etc/hosts file for each device similar to the following example:
192.12.1.20 el-16.engr.sgi.com el-16 192.12.1.21 el-16-2.engr.sgi.com el-16-2 |
Add routes for each device using the route(8) command similar to the following:
route add 192.12.1.20 eth1 |
Use the route command to check your work, as follows:
[root@linux2 root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface el-16-2.engr.sg * 255.255.255.255 UH 0 0 0 eth1 el-16.engr.sgi. * 255.255.255.255 UH 0 0 0 eth1 dino-l2.engr.sg * 255.255.255.255 UH 0 0 0 eth1 192.12.1.40 * 255.255.255.255 UH 0 0 0 eth1 192.12.1.30 * 255.255.255.255 UH 0 0 0 eth1 130.62.33.0 * 255.255.255.0 U 0 0 0 eth0 192.12.1.0 * 255.255.255.0 U 0 0 0 eth1 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default b43-11-hsrp-33. 0.0.0.0 UG 0 0 0 eth0 |
Edit the /etc/dhcpd.conf file and add an entry for the Digi device that includes hardware ethernet (MAC) address, fixed-address, and filename of the firmware.
An example dhcpd.conf file with two EL-16s defined is, as follows:
# Created by SGIconsole_startup. Do not remove this line.
# Define subnet
ddns-update-style ad-hoc;
subnet 192.12.1.0 netmask 255.255.255.0 {
}
# Begin group options
group {
option subnet-mask 255.255.255.0;
option broadcast-address 192.12.1.255;
# Device information
host el-16 {
hardware ethernet 00:a0:e7:21:88:f9;
fixed-address 192.12.1.20;
filename "80007008_B.bin";
}
# Device information
host el-16-2 {
hardware ethernet 00:a0:e7:21:c7:e3;
fixed-address 192.12.1.21;
filename "80007008_B.bin";
}
}
# End group options |
Use the chkconfig(8) and set tftp to on.
Restart the xinetd (8) daemon, as follows:
[root@linux2 root]# /etc/rc.d/init.d/xinetd restart |
Start the dhcpd(8) daemon, as follows:
[root@linux2 root]# chkconfig dhcpd on; /etc/rc.d/init.d/dhcpd start |
Use the tail(1) command and watch for DHCP messages, as follows:
[root@linux2 root]# tail -f /var/log/messages Jun 17 17:40:30 console-dino dhcpd: DHCPREQUEST for 192.12.1.20 from 00:a0:e7:21:88:f9 via eth1 Jun 17 17:40:30 console-dino dhcpd: DHCPACK on 192.12.1.20 to 00:a0:e7:21:88:f9 via eth1 Jun 17 17:41:24 console-dino dhcpd: DHCPREQUEST for 192.12.1.21 from 00:a0:e7:21:c7:e3 via eth1 Jun 17 17:41:24 console-dino dhcpd: DHCPACK on 192.12.1.21 to 00:a0:e7:21:c7:e3 via eth1 |
Power cycle each Digi device making sure to wait at least 10 seconds between power off and power on.
Here is the information and warning from SGIconsole_startup script, as follows:
To perform an upgrade to any EtherLite units you plan to use with
SGIconsole, you MUST connect them to a network via /dev/eth1 and
power cycle the units NOW to update their firmware. Only EtherLite
units which are restarted will have their firmware overwritten.
It is suggested that you remove power from the EtherLite unit by
unplugging the power cord, waiting 10 seconds, and then re-applying
power to the unit. The EtherLite unit will then reinitialize itself,
and the LEDs will flicker quickly while the firmware upgrade progresses.
*** DO NOT DISCONNECT POWER TO AN ETHERLITE UNIT WHILE A FIRMWARE
UPGRADE IS IN PROGRESS OR THE UNIT WILL BE DAMAGED.
Wait a few seconds until the LEDs on the EtherLite unit stop flashing
(the LEDs should remain lit). |
Login to devices and verify the realport firmware is loaded, as follows:
[root@linux2 root]# rlogin el-16
EL-16 RealPort Server - US Patent No. 6,047,319
\__________________+note: RealPort
? ver
Product: EL-16
FW Ver: V1.2 <--------Firmware version
Ethernet: 00:A0:E7:21:88:F9
IP: 192.12.1.20
GW IP: 0.0.0.0
SN Mask: 255.255.255.0
Lease: 0xA217
UpTime: 2435641 sec
Boot Host: 192.12.1.7
Bootfile: 80007008_B.bin
ICMP error (303) getting Bootfile: destination unreachable
? exit
? rlogin: connection closed. |
If it is not updated, try power cycle again making sure to wait at least 10 seconds between power off and power on.
Use the chkconfig(8) and set tftp to off.
Restart the xinetd (8) daemon, as follows:
[root@linux2 root]# /etc/rc.d/init.d/xinetd restart |