ok nvstore
ok
--------------------------------------------------------------------------------
Note - Before proceeding any further, you must have successfully created the nvramrc script and saved it by using nvstore.
--------------------------------------------------------------------------------
Verify the contents of the nvramrc script you created in Step 4.
ok printenv nvramrc
nvramrc = dev scsi
7 encode-int " scsi-initiator-id" property
device-end
ok
If the output differs from what you have entered, go back to Step 4 and edit nvramrc again.
Do a test of the nvramrc script by entering the nvramrc evaluate command. Verify the scsi-initiator-id of the host.
ok nvramrc evaluate
ok printenv scsi-initiator-id
scsi-initiator-id = 6
ok
If the overall scsi-initiator-id for this host is not 6, then repeat Step 3 before continuing with the verification.
Verify that the nvramrc script works properly. If the scsi-initiator-id for the on-board SCSI controller is not set to 7, then re-edit the nvramrc script by repeating Step 4 and Step 5.
ok cd scsi
ok .properties
hm-rev 00 00 00 22
scsi-initiator-id 00000007
device_type scsi
clock-frequency 02625a00
intr 00000020 00000000
interrupts 00000020
reg 0000000e 08800000 00000010
0000000e 08810000 00000040
name SUNW,fas
ok
In the preceding output, the scsi-initiator-id has a value of 00000007 so the script worked properly.
Instruct the OpenBoot PROM Monitor to use the nvramrc script.
ok setenv use-nvramrc? true
ok printenv use-nvramrc?
use-nvramrc? = true
ok
On the cluster host node2, verify that the scsi-initiator-id has a value of 7.
ok printenv scsi-initiator-id
scsi-initiator-id = 7
ok printenv use-nvramrc?
use-nvramrc? = false
ok
If the output is not 7 and false, repeat this procedure on node2 to set the scsi-initiator-id to 7 on this node.
ok setenv scsi-initiator-id 7
and/or
ok setenv use-nvramrc ? false
Load the patches for the fas driver (104246-02) and the sd driver (103622-02) on both nodes in the cluster.
Connect the MultiPacks to both hosts and reboot both systems using the
-r option.
ok boot -r
You have completed the last step of the OBP Monitor setup.
1、将A1000连接到其中一台主机,也就是SCSI ID要改为6的那台。
2、在OK下运行probe-scsi-all,找到连接A1000的差分SCSI卡的物理地址,一般为/pci@x,x000000/pci什么的,计下来。
3、运行下列命令
ok nvedit
0: probe-all
1: cd /pciXxxxxxxxx/xxx //进入SCSI卡的物理地址
2: 6 encode-int " scsi-initiator-id" property //注意第一个“后有一个空格
3: device-end
4: install-console
5: banner [Control C] //按Control C结束编辑
ok nvstore
ok setenv use-nvramrc? true
ok reset-all
因为这样把系统里任何的SCSI card ID都改了。楼上的不知我说的对不对!
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




