1、系统安装
root/changeme
创建用户和密码
create /SP/users/scadmin
set /SP/users/scadmin role=Administrator(管理员权限)
scadmin/scadmin123
show /SP/users/scadmin
cd /SP/network
set pendingipaddress=192.168.0.5
set pendingipdiscovery=static
set pendingipnetmask=255.255.255.0
set pendingipgateway=192.168.0.254
set commitpending=true
set state=enabled
show /SP/network
start /SYS (为系统加电,相当于按面板前面的白色电源按钮)
start /SP/console -f (进入系统控制台,查看系统加电启动过程)
show faulty
中间需要设置一个root密码
使用root 进入系统 ,
init 0
进入ok模式
ok boot dvd
这里可以从远程安装,
先用zfs创建image,nfs发布
这里到选择安装方式的时候选择nfs
--------------------------------------------------------------------------------------
2、eis安装
./setup-standard.sh
注意:选国家code时候选择3 然后输入CN
如果上面选错,可以输入
explorer进行收集日志
explorer -g 进行修改.
--------------------------------------------------------------------------------------
3、系统patch安装
读readme文件
./installpatchset --s10patchset
--------------------------------------------------------------------------------------
4、IPMP配置
root@WOLF # cat /etc/hosts
::1 localhost
127.0.0.1 localhost
172.16.0.3 WOLF loghost
root@WOLF # ls -l host*
-rw-r--r-- 1 root root 9 May 29 14:57 hostname.igb0
-rw-r--r-- 1 root root 37 May 30 11:26 hostname.usbecm0
lrwxrwxrwx 1 root root 12 May 29 14:10 hosts -> ./inet/host
vi hostname.igb0 (加入下面的内容)
WOLF netmask + broadcast + group ipmp0 up
root@WOLF # vi hostname.igb1 (创建hostname.igb2文件,加入以下内容。)
group ipmp0 standby up
--------------------------------------------------------------------------------------
5、进入系统zfs创建及挂载
zpool list
df -h
cd /usr
mkdir local
cd local
mkdir bccp
zpool list
zpool status
format
prtvtoc /dev/rdsk/c0t5000CCA03C70EF48d0s2 |fmthard -s - /dev/rdsk/c0t5000CCA03C710D10d0s2
fmthard: New volume table of contents now in place.
zpool create -f WOLFppool /dev/dsk/c0t5000CCA03C710D10d0s0
zpool create -f WOLFpool /dev/dsk/c0t5000CCA03C710D10d0s0
zpool list
zfs set mountpoint=/usr/local/bccp WOLFpool
zfs set mountpoint=/usr/local/mccp WOLFpool
df -h
----------------------------------------------------------------------------------------
6、建用户和组
root@WOLF # bash
root@WOLF # groupadd -g 100 scada
root@WOLF # useradd -u 1002 -g scada -d /usr/local/WOLF WOLF
useradd -u 1002 -g scada -d /usr/local/WOLF WOLF
root@WOLF # pass WOLF
passmgmt passwd
root@WOLF # passwd WOLF
New Password:
Re-enter new Password:
passwd: password successfully changed for WOLF
mkdir /usr/local/group
root@WOLF # chown -R bccp:scada /usr/local/group
chown -R mccp:scada /usr/local/group
root@WOLF # chown -R bccp:scada /usr/local/bccp
chown -R mccp:scada /usr/local/mccp
------------------------------------------------------------------------------------------
*7、硬盘dd克隆(有问题)
prtvtoc /dev/rdsk/c0t5000CCA03C70BBFCd0s2 |fmthard -s - /dev/rdsk/c0t5000CCA03C7101A8d0s2
dd if=/dev/dsk/c0t5000CCA03C70BBFCd0s2 of=dev/dsk/c0t5000CCA03C7101A8d0s2 bs=1024k
----------------------------------------------------------------------------------------
8、root密码设置错了,从新设置
sys-unconfig
进入ok模式
然后 boot 对系统环境参数进行从新设置。
-----------------------------------------------------------------------------------------
Reference:http://blog.csdn.net/yujin2010good/article/details/9075131