手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网站运营>建站经验>列表

a1000

来源:互联网 作者:west263.com 时间:2008-04-16
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

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.


rabbit7505 回复于:2002-06-29 17:48:15 强烈建议不要更改scsi-initiator-id参数,而是更改相关HBA的SCSI ID,其实您找到的文章已差不多了,现在刚好手比较闲,就给您一个比较完整的步骤。
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



韦小宝 回复于:2002-06-29 19:43:12 ok setenv scsi-initiator-id 6
因为这样把系统里任何的SCSI card ID都改了。楼上的不知我说的对不对!


rabbit7505 回复于:2002-06-29 20:56:38 没有错,这样就把任何的SCSI HBA的ID改为6,但一般CDROM的ID为6,这样就会冲突。


文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!