- 论坛徽章:
- 0
|
好像没有中文的:
http://docs.sun.com/app/docs/prod/1304?l=zh#hic
Sun Fire 12K/15K管理的SC使用CP1500(相当于Ultra 10), 串口是DIN口,应有DIN-DB25的线接笔记本串口,SC使用标准的3.5" SCSI硬盘,直接预装Solaris 8, 和System Management Service 1.x管理软件,会操作即可:
# tip hardwire
设置SC IP地址,以后使用telnet:
# telnet sc1
看sc1的Solaris 版本:
sc1% showrev
Hostname: sc1
Hostid: 80f9da9e
Release: 5.8
...
看sc1的硬盘分区:
sc1% df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t2d0s0 8261393 1489518 6689262 19% /
...
看sc1的硬盘分区,每个sc有管理telnet用的hme0百兆口,和2个通过背板到其它域的逻辑网口scman0/1:
sc1% ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 129.150.21.37 netmask ffffff00 broadcast 129.150.21.255
scman0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
...
看sc的Solaris 8里的用户名,每个域都有自己的管理用户:
sc1% more /etc/passwd
root :0:1:Super-User:/:/sbin/sh
daemon :1:1::/:
bin :2:2::/usr/bin:
sys :3:3::/:
adm :4:4:Admin:/var/adm:
...
sms-a :50:2:SMS Domain A User:/export/home/sms-a:/bin/csh
sms-b :51:2:SMS Domain B User:/export/home/sms-b:/bin/csh
...
看sc中Solaris里装的SMS软件,你可以学习sc的操作命令:
sc1% cd /opt/SUNWSMS
sc1% ls
SMS SMS1.1 bin firmware hostobjs jh lib man
sc1% cd bin
sc1% ls
addboard flashupdate redx showdatasync
addcodlicense fomd redx2bin showdate
addtag frad reset showdevices
...
SF 12K/15K最多可以动态划分18个域,可装18个Solaris 8/9/10,那每个域的Hostid在哪,是什么,:
sc1% cd /var/opt/SUNWSMS
sc1% ls
SMS SMS1.1 adm data doors pipes
sc1% cd *1.1
sc1% ls
adm data doors pipes
sc1% cd adm
sc1% pwd
/var/opt/SUNWSMS/SMS1.1/adm
sc1% ls
A D G J M P anonymous
B E H K N Q platform
C F I L O R
sc1% cd B
sc1% ls
console console.1 messages messages.1 syslog
console.0 dump messages.0 post
sc1% sysid -f /var/opt/SUNWSMS/data/B/idprom.image
IDPROM in /var/opt/SUNWSMS/data/A/idprom.image
Format = 0x01
Machine Type = 0x82
Ethernet Address = 0:0:be:a8:4f:51
Manufacturing Date = Wed Aug 29 19:58:00 PDT 2001
Serial number (Host ID) = 0xa84f51 (11030352)
Checksum = 0x98
显示sc的系统时间:
sc1% date
Wed Nov 28 21:55:11 PST 2001
显示各域的系统时间:
sc1% showdate -d b
Domain b: Wed Nov 28 14:57:28 PST 2001
显示各域的系统板:
sc1% showplatform -d b
Available Component List for Domains:
=====================================
Available Component List for domain B:
SB1 SB13
IO1
Domain configurations:
======================
Domain ID Domain Tag Solaris Nodename Domain Status
B
sc1% showboards -d b
Retrieving board information. Please wait.
....
Location Pwr Type of Board Board Status Test Status Domain
-------- --- ------------- ------------ ----------- ------
SB1 On CPU Active Passed B
SB13 On CPU Active Passed B
IO1 On HPCI Active Passed B
显示板上的部件,如CPU等:
sc1% showdevices -d b
CPU
---
domain board id state speed ecache usage
B SB1 32 online 750 8
B SB1 33 online 750 8
...
SF 12K/15K CPU/MEM板与同组I/O板插在同1 EX板(第2层switch)组成一节点(,共18个节点插在背板上(第3层switch), 任意节点系统板可组成域,装OS,如何看本域系统板是由那些节点组成的:
sc1% showbus
Location Data Address Response SOCX
----------------------------------------------------
EX1 BOTH BOTH BOTH 0x02002
EX13 BOTH BOTH BOTH 0x02002
即Domain B由节点1和13的系统板组成。
看本域启动了吗:
sc1% showkeyswitch -d b
Virtual key switch position: ON
如没起,可poweron可组件,随你:
sc1% poweron ex1 ex13
Powering on: EXB at EX1
Powering on: EXB at EX13
The component EXB at EX13 is already ON.
sc1% poweron ex1
The component EXB at EX1 is already ON.
sc1% poweron SB1 SB13 IO1
Powering on: CPU at SB1
....
sc1% poweron SB1 SB13 Io1
Powering on: CPU at SB1
Powering on: CPU at SB13
The component CPU at SB13 is already ON.
Powering on: HPCI at IO1
sc1% poweron IO1
The component HPCI at IO1 is already ON.
或干脆全起:
sc1% setkeyswitch -d b on
Powering on: EXB at EX1
Powering on: HPCI at IO1
Powering on: CPU at SB1
...
(直到Solaris 启动完成)
从sc进域:
sc1% console -d b
Trying to connect...
Connected to Domain Server.
Your console is in exclusive mode now.
domain-b console login: root
Password:
Last login: Wed Nov 28 14:46:56 on console
Nov 28 15:00:28 domain-b login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.8 Generic February 2000
#
看某域的Solaris:
Domain B# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t2d1s0 3009807 888943 2060668 31% /
...
看某域的Solaris网口,可见对外的百兆口qfe0,和各域通过背板相连的逻辑网口dman0:
Domain B# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
dman0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 2
inet 192.168.103.3 netmask ffffffe0 broadcast 192.168.103.31
ether 0:0:be:a8:4f:51
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 129.150.21.39 netmask ffff0000 broadcast 129.150.255.255
ether 0:0:be:a8:4f:51
从域里退回到SC:
Domain B# ~.(Tilda dot)
Connection closed - console exit.
如还想做DR,在Solaris对外服务时,动态从域里删掉某系统板:
sc1% deleteboard -c unassign SB13
DR: checking devices...total 1314
DR: suspending user threads...
...
System may be temporarily suspended, proceed
(yes/no)? yes
request suspend SUNW_OS
...
SB13 successfully unassigned.
sc1% showboards -d b
Retrieving board information. Please wait.
....
Location Pwr Type of Board Board Status Test Status Domain
-------- --- ------------- ------------ ----------- ------
SB1 On CPU Active Passed B
SB13 Off CPU Available Unknown Isolated
IO1 On HPCI Active Passed B
其中Solaris hung住近30秒,此时系统板SB13可从SF12K/15K里硬件上拔出。
如更换了SB13,再想补进去:
sc1% addboard -d b -c configure SB13
assign SB13
...
connect SB13 done
...
notify add capacity (1048576 pages)
notify add capacity SB13 done
其中Solaris hung住近15秒,此时系统板SB13可从sc里看到:
sc1% showboards -d b
Retrieving board information. Please wait.
.................
Location Pwr Type of Board Board Status Test Status Domain
-------- --- ------------- ------------ ----------- ------
SB1 On CPU Active Passed B
SB13 On CPU Active Passed B
IO1 On HPCI Active Passed B
装Solaris, 在进到域里时,可像其它Sun服务器一样装OS:
sc1% console -d b
Trying to connect...
Connected to Domain Server.
Your console is in exclusive mode now.
rstuff-b console login: root
Password:
Last login: Wed Nov 28 15:00:28 on console
Sun Microsystems Inc. SunOS 5.8 Generic February 2000
Domain B# init 0
...
Program terminated
{20} ok boot net - install
[ 本帖最后由 alfee 于 2005-12-13 18:21 编辑 ] |
-
f12k15k.jpg
(191.77 KB, 下载次数: 38)
F12K是F15的单面
-
sc.jpg
(104.56 KB, 下载次数: 41)
SC串口是圆的DIN口
|