Professional Documents
Culture Documents
E10K Administration
(cavi99@chollian.net)
E10K System Administration
2
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
3
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
4
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
5
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
Document History
Version
1.0 2003. 8. 1 Initial
1.1 2003.9.29 15/12K reference
6
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
E10K
Install SSP Operating System
Install SSP Package
Configuring the SSP as boot server
Preparing the domain
Installing the OS on the domain
Booting the domain for the first time
Not
3.0 2.5.1 2.5.1 1.0 1.0
Supported
7
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
8
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
9
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
/etc/hosts
# cat /etc/hosts (Main SSP)
127.0.0.1 localhost
#############################
# Entry for SSP
#############################
192.168.0.1 ses-main-ssp # floating IP
192.168.0.2 ssp0 loghost # main SSP
192.168.0.3 ssp1 # spare SSP
#############################
# Entry for Domain_Network
#############################
203.234.247.100 domain1
10
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
203.234.247.101 domain2
#############################
# Entry for cb0_Network
#############################
192.168.1.1 ssp0-hme0
192.168.1.2 ssp1-hme0
192.168.1.3 ses-cb0
#############################
# Entry for cb1_Network
#############################
192.168.2.1 ssp0-qfe1
192.168.2.2 ssp1-qfe1
192.168.2.3 ses-cb1
/etc/hostname.*
.
/etc/hostname.hme0
/etc/hostname.qfe0
/etc/hostname.qfe1 (Spare SSP )
/etc/ethers
Domain, SSP, Control Board Ethernet Address .
# cat /etc/ethers
0:0:be:1:2:3 domain1
0:0:be:4:5:6 domain2
0:0:be:7:8:9 ses-cb0
0:0:be:a:b:c ses-cb1
8:0:20:1:2:3 ssp0
8:0:20:4:5:6 ssp1
/etc/defaultrouter /etc/notrouter
# touch /etc/notrouter
NIC router
/etc/notrouter default router .
11
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
/etc/netmasks
# cat /etc/netmasks
203.234.247.0 255.255.255.0
192.168.0.0 255.255.255.0
SSP network netmask .
/etc/nsswitch.conf
Name Service .
1.3.2. ssp_install
# cd /cdrom_base_directory/
System_Service_Processor_3.5/Tools
# ./ssp_install ../Product
You must specify what type of processor modules you have installed in your
Please
12
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
The
platform name occupies a different name space than domain names (hostnames
of
bootable systems).
What is the name of the platform this SSP will service? ses
Please enter the floating host name of the main SSP [ses-ssp-main]:
ses-ssp-main
main SSP name = ses-ssp-main
Please enter the host name of the control board 0 [allxf4cb0]: ses-cb0
Please enter the host name of the control board 1 [allxf4cb1]: ses-cb1
Please identify the primary control board.
13
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
eeprom
ssp% sys_id -d -f eeprom.image.domain_name
ssp% domain_remove -d domain_name
ssp% domain_rename -d old_name -n new_name -o OS_Version
14
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# cd /cdrom/cdrom0/Solaris_8/Tools
# ./add_to_install_server /export/install
15
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# chmod +x end_script
# ./check
# ls class rules.ok
( rules.ok .)
# cd /export/install/Solaris_8/Tools/Boot/usr/sbin/install.d/install_config
# vi ssp_config
#!/sbin/sh
echo float_ssp_hostname > /tmp/ssphostname
echo float_ssp_IP_address > /tmp/ssphostaddr
16
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
(ssp_begin script .)
4. Using netcon
Command option Description
~. exit from netcon
~# send BREAK signal (stop-a)
~= toggle JTAG betwwen cvcd mode
~? show status of all netcon session
~^ -r read only session (release write lock)
~@ -g unlocked-write session
~& -l locked-write session
~* -f exclusive session
ok show-disks ( )
ok nvalias disk ^Y
( @ Fiber Disk WWN, SCSI Disk
target,LUN:slice .
.
ok nvalias disk /sbus@4d,0/SUNW.socal@0,0/
sf@0,0/ssd@200000008a1085
ok nvalias disk /sbus@4c,0/QLGC,isp@1,10000
/sd@3,0:a)
ok nvstore
17
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
ok devalias
ok boot
6.2. NTP
6.2.1. Main SSP
# cd /etc/inet
# cp ntp.server ntp.conf
# vi ntp.conf
peer spare_ssp_name
server 127.127.1.0
fudge 127.127.1.0 stratum 8
driftfile /var/ntp/ntp.drift
peer machine1 (machine is a IP address of external NTP Server if necessary)
peer machine2
# touch /var/ntp/ntp.drift
18
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
driftfile /var/ntp/ntp.drift
peer machine1 (machine is a IP address of external NTP Server if necessary)
peer machine2
# touch /var/ntp/ntp.drift
6.2.3. Domain
# cd /etc/inet
# vi ntp.conf
server main_ssp_name prefer
server spare_ssp_name
7. Multipathing
7.1. Alternate Pathing (AP)
Sbus based Multipathing Solution
automatic failover capabilities for disks
manual failover capabilities for network interfaces
Only one path is active ( does not increase IO performace)
VxVM DMP is not installed if AP metadevices are found in the system
AP needs small partition for configuration database
7.2. AP Initial Configuration
7.2.1. Package
# pkgadd d . SUNWapr SUNWapu SUNapdev SUNWapdoc
# apdb -c /dev/rdsk/c0t0d0s5
) Deleting AP database
# apdb -d /dev/rdsk/c0t0d0s4 -f
19
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# apconfig S u
(view uncommitted disk entries)
# apdb C
(commit database)
# devfsadm
# vi /etc/vfstab
# ls l /dev/ap/dsk
# apconfig S
(View committed Disk entries)
20
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# apboot m mc1t0d0
and then create mirror using disk management software
Do not put either of mirrors into OBP boot-device parameter
21
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# mv /etc/hostname.qfe0 /etc/hostname.mether0
# ifconfig mether0 plumb
# ifconfig mether0 inet 192.168.10.1 netmask + broadcast + up
# ifconfig a
Pathch Installation
# patchadd M /patch_dir 111412-xx 11095-xx 111096-xx 111097-xx
111413-xx
Enable STMS
# vi /kernel/drv/scsi_vhci.conf
...
mpxio-disable=no (yes no )
....
scsi_vhci device
# grep scsi_vhci /etc/name_to_major
/etc/system
22
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
Reconfiguration boot
# reboot -- -r
7.5.2. T3 Restriction
T3 array STMS
# telnet t3
Login: root
Password:
T3> sys mp_support mpxio
T3> sys list
8. IPMP
8.1. IPMP Overview
Failure detection (auto failover)
23
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# cat /etc/hostname.qfe1
192.168.0.233 group group1 -failover deprecated up
addif 192.168.0.234 up
# cat /etc/hostname.qfe1
192.168.0.233 group group1 deprecated -failover standby up
24
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
9.2. DR 2.0
9.2.1. Checking DR model
ssp% domain_status m
only one of DR model can be used at a time
25
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
# showusages
# addboard -b 2 d domain1
or
# addboard d domain1 SB1
# deleteboard b 2
or
# deleteboard SB1
# moveboard b 5 d domain2
or
# moveboard d domain2 SB5
9.3. DR 3.0
9.3.1. DR 3.0 Overview
SSP 3.5 Domain OS Solaris 10/01 DR 3.0 .
E10K DR 2.0 .
DR Version
/platform/SUNW,Ultra-Enterprise-10000/kernel/drv/nfdr.conf
DR 2.0
legacy-dr-model=0
DR 3.0
legacy-dr-model=1
rebooting.
DR Version
# domain_status m
-m SSP 3.5 .
DR 2.0 DR 3.0 .
platform DR 2.0 DR 3.0 .
26
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
Attaching a Board
ssp% rcfgadm -d domain1 a
cfgadm
Attaching a Board
domain1# cfgadm -d domain1 c configure Ap_ID
Detaching a Board
domain1# cfgadm -d domain1 -a
domain1# cfgadm -d domain1 -c disconnect Ap_ID
ADR commands
addboard, deleteboard, moveboard DR 2.0 DR 3.0
.
27
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
28
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
11. Troubleshooting
11.1. redlist and blacklist file
To enable blacklist, you can edit blacklist file or use Hostview
29
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
30
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
12.3.2. ssp_config
# /opt/SUNWssp/bin/ssp_config cb
# reboot
31
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
12.5.2. power
power
ssp% power
E10K power
ssp% power on all
ssp% power off all
12.5.3. fan
10 fan tray power-off ( -t fan tray
.)
ssp% fan t 10 p off
32
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
12.5.4. hostview
E10K GUI Tool
ssp% setenv DISPLAY workstation_name:0.0
ssp% hostview &
ssp-main% cd /cdrom/cdrom0/System_Service_Processor_3.5/Tools
ssp-main% ./ssp_backup /backup_dir
ssp-main% ./ssp_upgrade ../Products
ssp-main% su -
ssp-main% reboot
On each domain, Verify /etc/ssphostname and /etc/hosts file that the floating
host name is specified
33
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
on each domain, update the /etc/syslog.conf file to replace the host name of
the former main SSP with the floating host name
ssp-spare% cd /cdrom/cdrom0/System_Service_Provider_3.5/Tools
ssp-spare% ./ssp_upgrade ../Products
ssp-main% su -
ssp-main# reboot
How to disabled DMP, if VxVM (earlier than VxVM 3.1) is already installed
# rm r /dev/vx/dmp /dev/vx/rdmp
# ln -s /dev/vx/dsk /dev/vx/dmp
# ln -s /dev/vx/rdsk /dev/vx/rdmp
# rm /kernel/drv/vxdmp
/etc/system forceload drv/vxdmp
34
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
13.2. Commands
E10K 15K/12K Function
35
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
voltage, fans)
36
Written by (cavi99@chollian.net)
http://cavi99.mchol.com
E10K System Administration
in_config
13.4. Miscellaneous
E10K 15K/12K Function
37
Written by (cavi99@chollian.net)
http://cavi99.mchol.com