inflating: 111847-07/SUNWsan/reloc/opt/SUNWsan/man/sman7d/qlc.7d
inflating: 111847-07/SUNWsan/reloc/opt/SUNWsan/man/sman7d/scsi_vhci.7d
inflating: 111847-07/README.111847-07
root@A # patchadd -d 111847-07
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 111847-07 has been successfully installed.
See /var/sadm/patch/111847-07/log for details
Patch packages installed:
SUNWsan
root@A # cd /tmp/8; ./install_patches
Patch cluster install script for SAN for Solaris 8
*WARNING* SYSTEMS WITH LIMITED DISK SPACE SHOULD *NOT* INSTALL PATCHES:
With or without using the save option, the patch installation process
will still require some amount of disk space for installation and
administrative tasks in the /, /usr, /var, or /opt partitions where
patches are typically installed. The exact amount of space will
depend on the machine's architecture, software packages already
installed, and the difference in the patched objects size. To be
safe, it is not recommended that a patch cluster be installed on a
system with less than 4 MBytes of available space in each of these
partitions. Running out of disk space during installation may result
in only partially loaded patches. Check and be sure adequate disk space
is available before continuing.
Are you ready to continue with install? [y/n]: y
Determining if sufficient save space exists...
Sufficient save space exists, continuing...
Installing patches located in /tmp/8
Installing 110696-04...
Installation of 110696-04 failed. Return code 8.
Installing 111095-10...
Installation of 111095-10 failed. Return code 25.
Installing 111096-04...
Installation of 111096-04 failed. Return code 25.
Installing 111097-10...
Installation of 111097-10 failed. Return code 25.
Installing 111412-09...
Installing 111413-08...
Installing 111846-04...
Installation of 111846-04 failed. Return code 25.
Installing 111847-04...
Installing 111893-04...
Installation of 111893-04 failed. Return code 8.
The following patches were not able to be installed:
110696-04
111095-10
111096-04
111097-10
111846-04
111893-04
For more installation messages refer to the installation logfile:
/var/sadm/install_data/SAN_for_Solaris_8_log
Use '/usr/bin/showrev -p' to verify installed patch-ids.
Refer to individual patch README files for more patch detail.
Rebooting the system is usually necessary after installation.
root@a1 # ./install_patches
Patch cluster install script for SAN for Solaris 8
*WARNING* SYSTEMS WITH LIMITED DISK SPACE SHOULD *NOT* INSTALL PATCHES:
With or without using the save option, the patch installation process
will still require some amount of disk space for installation and
administrative tasks in the /, /usr, /var, or /opt partitions where
patches are typically installed. The exact amount of space will
depend on the machine's architecture, software packages already
installed, and the difference in the patched objects size. To be
safe, it is not recommended that a patch cluster be installed on a
system with less than 4 MBytes of available space in each of these
partitions. Running out of disk space during installation may result
in only partially loaded patches. Check and be sure adequate disk space
is available before continuing.
Are you ready to continue with install? [y/n]: y
Determining if sufficient save space exists...
Sufficient save space exists, continuing...
Installing patches located in /tmp/8
Installing 111412-11...
Installing 113766-02...
Installation of 113766-02 failed. Return code 8 - Attempting to patch a package that is not installed
Installing 114475-01...
Installation of 114475-01 failed. Return code 8 - Attempting to patch a package that is not installed
Installing 113767-02...
Installation of 113767-02 failed. Return code 25 - A required patch is not applied
Installing 111095-13...
Installing 111096-06...
Installing 111097-12...
Installing 111413-10...
Installing 111846-06...
The following patches were not able to be installed:
113766-02
114475-01
113767-02
For more installation messages refer to the installation logfile:
/var/sadm/install_data/SAN-SNIA_for_Solaris_8_log
Use '/usr/bin/showrev -p' to verify installed patch-ids.
Refer to individual patch README files for more patch detail.
Rebooting the system is usually necessary after installation.
root@a1 # cd /cdrom/cdrom0/sun/patch/veritas-vm/3.2/8
root@A # unpack-patches
Are you ready to unpack patches into /tmp/8? [y/n]: y
Target for unpacking patches /tmp/8 exists!
May I delete /tmp/8? [y/n]: y
Cleaning out /tmp/8...
Unpacking.....
Patch 111904-07
Patch 113201-04
You should run: cd /tmp/8; ./install_patches
root@a1 # cd /tmp/8; ./install_patches
Patch cluster install script for VxVM 3.2 for Solaris 8
*WARNING* SYSTEMS WITH LIMITED DISK SPACE SHOULD *NOT* INSTALL PATCHES:
With or without using the save option, the patch installation process
will still require some amount of disk space for installation and
administrative tasks in the /, /usr, /var, or /opt partitions where
patches are typically installed. The exact amount of space will
depend on the machine's architecture, software packages already
installed, and the difference in the patched objects size. To be
safe, it is not recommended that a patch cluster be installed on a
system with less than 4 MBytes of available space in each of these
partitions. Running out of disk space during installation may result
in only partially loaded patches. Check and be sure adequate disk space
is available before continuing.
Are you ready to continue with install? [y/n]: y
Determining if sufficient save space exists...
Sufficient save space exists, continuing...
Installing patches located in /tmp/8
Installing 111904-07...
Installing 113201-04...
For more installation messages refer to the installation logfile:
/var/sadm/install_data/VxVM_3.2_for_Solaris_8_log
Use '/usr/bin/showrev -p' to verify installed patch-ids.
Refer to individual patch README files for more patch detail.
Rebooting the system is usually necessary after installation.
root@a1 #
安装Volume Manager的License
在安装完成之后,需要安装Volume Manager的License。(注:因安装License与机器的hostid有关系,请先确认与hostid对应的Lincense)
root@a1 #
root@a1 # vxlicense -c
Please enter your key: 6170 9613 6908 0562 1549 898
输入获得的license(例如: 61709613690805621549898)即可。
1.2.7 创建卷rootdg
分别在两台小型机(a1和b1 )上运行一下命令创建rootdg卷:
# vxconfigd -m disable
# vxdctl init
# vxdg init rootdg
# vxdisk -f init c0t0d0s4 type=simple
# vxdctl add disk c0t0d0s4 type=simple
# vxdg adddisk c0t0d0s4
# vxdctl enable
# rm /etc/vx/reconfig.d/state.d/install-db
然后运行以下命令,使双机重新启动
创建卷happydg
happy的卷的创建只需在一台机器上操作。
取消DMP功能
root@a1 #
root@a1 # 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
Hit RETURN to continue. [Enter]
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: list
List disk information
Menu: VolumeManager/Disk/ListDisk
Use this menu operation to display a list of disks. You can
also choose to list detailed information about the disk at
a specific disk device address.
Enter disk device or "all" [
,all,q,?] (default: all) [Enter]
DEVICE DISK GROUP STATUS
c0t0d0 - - error
c0t0d0 c0t0d0s4 rootdg online
c0t1d0 - - online
c6t9d0 - - online
c6t10d0 - - online
c7t9d0 - - online
c7t10d0 - - online
Device to list in detail [,none,q,?] (default: none) [Enter]
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
Hit RETURN to continue. [Enter]
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