全部博文(212)
分类:
2009-01-21 09:27:49
#prtvtoc /dev/rdsk/c0t0d0s2 |fmthard -s - /dev/rdsk/c0t1d0s2;
#metadb -a -f -c 3 c0t0d0s7 c0t1d0s7
#metainit -f d10 1 1 c0t0d0s0;metainit d20 1 1
c0t1d0s0;metainit d0 -m d10;metaroot d0;
#lockfs -fa
#reboot
------------------------------------------------------------------------------------------------------
#metainit -f d11 1 1 c0t0d0s1;metainit -f d21 1 1
c0t1d0s1;metainit d1 -m d11
#metainit -f d13 1 1 c0t0d0s3;metainit -f d23 1 1
c0t1d0s3;metainit d3 -m d13
#metainit -f d14 1 1 c0t0d0s4;metainit -f d24 1 1
c0t1d0s4;metainit d4 -m d14
#metainit -f d15 1 1 c0t0d0s5;metainit -f d25 1 1
c0t1d0s5;metainit d5 -m d15
#metainit -f d16 1 1 c0t0d0s6;metainit -f d26 1 1
c0t1d0s6;metainit d6 -m d16
修改/etc/vfstab 例如/dev/dsk/c0t0d0s0
/dev/rdsk/c0t0s0 改为/dev/md/dsk/d0 /dev/md/rdsk/d0 /
改完并重启reboot
------------------------------------------------------------------------------------------------------
重启完成后同步镜像盘
#metattach d0 d20
#metattach d1 d21
#metattach d3 d23
#metattach d4 d24
#metattach d5 d25
#metattach d6 d26
同步时间比较久,可以用命令metastat查看状态。
二、配置RSC
这里引用http://space.itpub.net/1698901/viewspace-103300的V490的RSC配置说明:
与V240不同的是,Sun Fire™ V480, V880, V490, and V890 SC使用的不是ALOM而是RSC,RSC的配置可以在正常状态#下完成,并不需要借助console口!rsc的配置软件不是系统默认安装的,首先要在服务器上安装rsc的软件包Sun Remote System Control (RSC) 2.2.3 Software,可以在sun的补丁光盘里面找到,位于光盘的目录:sun/progs/RSC/2.2.3中。该软件包也可以从sun的网站上下载,如下是参考链接地址:
在solaris 8上软件包是rsc2.2.3_packages_s8.zip,solaris 9和solaris 10使用同样的软件包是rsc2.2.3_packages_s9[10].zip
该软件安装步骤如下:
先准备软件包,然后解压缩,
# unzip rsc2.2.3_packages_s9.zip
解压缩后出现很多的软件包,如下:
README SUNWfrscd SUNWkrscd
README-RSC SUNWfrscj SUNWkrscj
SUNWcrsc SUNWhrsc SUNWrsc
SUNWcrscd SUNWhrscd SUNWrscd
SUNWcrscj SUNWhrscj SUNWrscj
SUNWdersc SUNWirscd SUNWsrscd
SUNWdrscd SUNWirscj SUNWsrscj
SUNWdrscj SUNWitrsc SUNWsvrsc
SUNWerscd SUNWjersc en_us_relnotes.pdf
SUNWerscj SUNWjrscd rsc2.2.3_packages_s8.zip
SUNWesrsc SUNWjrscj rsc2.2.3_packages_s9.zip
SUNWfrrsc SUNWkrsc软件包中是针对不同语言环境不同的软件包,英文的软件包是必须安装的,中文的软件包是
SUNWcrsc SUNWcrscd SUNWcrscj
英文的软件包是:
SUNWrsc SUNWrscd SUNWrscj
除了中文和英文的软件包外把多余的软件包删除掉,剩下如下软件包:
README SUNWcrscj en_us_relnotes.pdf
README-RSC SUNWrsc rsc2.2.3_packages_s8.zip
SUNWcrsc SUNWrscd rsc2.2.3_packages_s9.zip
SUNWcrscd SUNWrscj
然后安装这些软件包。
# pkgadd -d .
安装完之后,会在/usr/platform/`uname -i`/ 路径下生成rsc目录
# cd /usr/platform/`uname -i`/rsc
# ./ rsc-initscript
# ./rsc-config
Continue with RSC setup (y|n): y
Set RSC date/time now (y|n|?) [y]:
Server Hostname [SUN280R]:
Edit customer info field (y|n|?) [n]:
Enable RSC Ethernet Interface (y|n|s|?) [n]: y
RSC IP Mode (config|dhcp|?) [dhcp]: n
RSC IP Mode (config|dhcp|?) [dhcp]: config
RSC IP Address []: 192.168.81.12
RSC IP Netmask [255.255.255.0]:
RSC IP Gateway []: 192.168.81.254
Enable RSC Alerts (y|n|s|?) [n]:
Enable RSC Modem Interface (y|n|s|?) [n]: