# sh a
以下步骤安装Veritas IBM FastT900阵列支持库:
root@rac1 # ls
READ_THIS_FIRST.pdf vm.3.5MP2.sol.CD_261905.tar
support volume_manager
root@rac1 # cd volume_manager
root@rac1 # ls
copyright patches veritas_enabled
root@rac1 # cd veritas_enabled
root@rac1 # ls
3PARData EMC.README IBM.README STK.README
3PARData.README Fujitsu LSI SUN
ADTX Fujitsu.README LSI.README SUN.README
ADTX.README HP MTI Toshiba
ASL_README.pdf HP.README MTI.README Toshiba.README
Chaparral Hitachi Netapp
Chaparral.README Hitachi.README Netapp.README
EMC IBM STK
root@rac1 # cd IBM
root@rac1 # ls
SMibmasl-SOL-08.40.05.03.pkg
# pkgadd –d ./ SMibmasl-SOL-08.40.05.03.pkg
# vxdctl enable
/* 以上这些步骤需要在rac1和rac2上执行 */
十二、 重新启动计算机rac1和rac2
在rac2上
# halt
OK
在rac1上
# reboot -- -r
等rac1启动可以登录后,再启动rac2
OK boot -r
十三、 运行vxdiskadm,初始化磁盘,将阵列置于VXVM控制之下
# vxdiskadm
Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM"s view
18 Allow multipathing/Unsuppress devices from VxVM"s view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
list List disk information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
Select an operation to perform: 1
Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group. You can
add the selected disks to an existing disk group or to a new disk group
that will be created as a part of the operation. The selected disks may
also be added to a disk group as spares. Or they may be added as
nohotuses to be excluded from hot-relocation use. The selected
disks may also be initialized without adding them to a disk group
leaving the disks available for use as replacement disks.
More than one disk or pattern may be entered at the prompt. Here are
some disk selection examples:
all: all disks
c3 c4t2: all disks on both controller 3 and controller 4, target 2
c3t4d2: a single disk (in the c#t#d# naming scheme)
xyz_0 : a single disk (in the enclosure based naming scheme)
xyz_ : all disks on the enclosure whose name is xyz
Select disk devices to add: [【Step by Step Oracle RAC on Veritas DBE/AC】,all,list,q,?] c2
/* 需要在rac1和rac2上进行初始化 */
十四、 进行SCSI-3 PR(I/O Fencing)测试
确定不同计算机上的两块硬盘是不是同一块硬盘的方法:
root@rac1 # vxfenadm -i /dev/rdsk/c2t0d0s2
Vendor id : IBM
Product id : 1742-900
Revision : 0520
Serial Number : }? ?
root@rac1 # rlogin rac2
Last login: Mon Nov 17 10:03:57 from 172.39.199.112
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
You have new mail.
Sourcing //.profile-EIS.....
root@rac2 # vxfenadm -i /dev/rdsk/c2t0d0s2
Vendor id : IBM
Product id : 1742-900
Revision : 0520
Serial Number : }? ?
/* 通过查看Serial Number是否一样来看是否是同一块硬盘
* IBM FastT900阵列的系列号是怪字符,但只要一样就可以了!!!
推荐阅读
- 在solaris 10/x86下安装oracle10
- Oracle 10g 在Solaris 8&9 环境中的安装
- 入侵Oracle数据库常用操作命令
- win7系统中使用sxstrace.exe工具具体操作方法
- 蓝牙无线接入系统
- bracelet手环使用方法
- practice的用法
- stepinto的用法
- 宽松的源站选路traceroute程序的往返路由
- 严格的源站选路的traceroute程序示例