VERITAS VolumeManager (VxVM) ¤ò Sun Cluster ´Ä¶¤Ë¥¤¥ó¥¹¥È¡¼¥ë
º£²ó¤Ï Sun Cluster 3.1 Update 2 ´Ä¶¤Ë VERITAS VolumeManager 3.5 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
¤µ¤é¤Ë¥ë¡¼¥È¥Ç¥£¥¹¥¯(µ¯Æ°¥Ç¥£¥¹¥¯)¤ò¥«¥×¥»¥ë²½¤·¤Þ¤¹¡£
¢¢ ½àÈ÷
¡¦Sun Cluster 3.1 Update 2 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ£²¥Î¡¼¥É¥¯¥é¥¹¥¿¹½À®¤Ë¤·¤Þ¤¹¡£
¡¡¢ª
¥¤¥ó¥¹
¥È¡¼¥ë¡¦¹½À®ÊýË¡¤Ï¤³¤Á¤é
¡¦VERITAS VolumeManager 3.5 CD-ROM ¤òÍѰդ·¤Þ¤¹¡£
¡¡°Ê²¼¤ÎÎã¤Ç¤ÏCD-ROM¤Î¥Ç¡¼¥¿¤ò¤¢¤é¤«¤¸¤á¾¤Î¥Þ¥·¥ó¤Ë¥³¥Ô¡¼¤·¤Æ¶¦Í¤·¤Æ¤ª¤ê¤Þ¤¹¡£
¢¢ ¥¤¥ó¥¹¥È¡¼¥ë
°ÊÁ°¤Ï¥ë¡¼¥È¥Ç¥£¥¹¥¯(µ¯Æ°¥Ç¥£¥¹¥¯)¤ò¥«¥×¥»¥ë²½¤Ê¤ÉÈó¾ï¤ËÌÌÅݤǤ·¤¿¤¬¡¢
Sun Cluster 3.0 ¤Î Update 3 ¤«¤é¤Ï scvxinstall ¤È¤¤¤¦ VxVM ¥¤¥ó¥¹¥È¡¼¥ëÍѤÎ
ÊØÍø¤Ê¥¹¥¯¥ê¥×¥È¤¬/usr/cluster/bin¤ËÍѰդµ¤ì¤Æ¤ª¤ê¤Þ¤¹¤Î¤Ç¤³¤ì¤ò»ÈÍѤ·¤Þ¤¹¡£
#
scvxinstall
Volume Manager ¤Ç¥ë¡¼¥È¤ò¥«¥×¥»¥ë²½¤·¤Þ¤¹¤« [¤¤¤¤¤¨] ?
y
Volume Manager CD-ROM ¤Ï¤É¤³¤Ç¤¹¤« ?
/net/nfssrv/export/products//VxVM_3.5
DMP ¤ò̵¸ú¤Ë¤·¤Æ¤¤¤Þ¤¹¡£
/net/nfssrv/export/products//VxVM_3.5/pkgs ¤«¤é¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Þ¤¹
VRTSvlic ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Þ¤¹¡£
VRTSvxvm ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Þ¤¹¡£
VRTSvmman ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Þ¤¹¡£
¥¯¥é¥¹¥¿µ¬ÌϤΠvxio ÈÖ¹æ¤ò¼èÆÀ¤·¤Æ¤¤¤Þ¤¹¡£
315 ¤ò vxio ¥á¥¸¥ã¡¼ÈÖ¹æ¤È¤·¤Æ»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£
Volume Manager ¥¤¥ó¥¹¥È¡¼¥ë¤¬´°Î»¤·¤Þ¤·¤¿¡£
1 ¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î Volume Manager µ¡Ç½¤Ë¤Ï¤¹¤Ç¤Ë¥é¥¤¥»¥ó¥¹¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£
¥Ù¥ê¥¿¥¹¥é¥¤¥»¥ó¥¹¥¡¼¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¤Ë¤Ï ¡Övxlicrep¡×¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤
¥¤¥ó¥¹¥È¡¼¥ë´°Î»¡£
ÄɲäΥ饤¥»¥ó¥¹¥¡¼¤òÄ󶡤·¤¿¤¯¤Ê¤¤¾ì¹ç¡¢
ENTER ¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢1 ¤Ä¤ÎÄɲ塼¤òÄ󶡤Ǥ¤Þ¤¹¡£
Volume Manager ¥é¥¤¥»¥ó¥¹¥¡¼¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£[none]:
xxxxxxxx
Volume Manager ¥ë¡¼¥È¥Ç¥£¥¹¥¯¤Î¥«¥×¥»¥ë²½¼ê½ç¤¬ 20 Éøå¤Ë»Ï¤Þ¤ê¤Þ¤¹¡£
Ctrl-C ¤òÆþÎϤ¹¤ë¤È¡¢ÃæÃǤ·¤Þ¤¹....................
¥ë¡¼¥È¥Ç¥£¥¹¥¯¤Î Volume Manager ¥«¥×¥»¥ë²½¤ò¼êÇÛ¤·¤Æ¤¤¤Þ¤¹¡£
vxconfigd ¥Ç¡¼¥â¥ó¤Ïµ¯Æ°¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢Ìµ¸ú¥â¡¼¥É¤Ç¤¹¡£
volboot ¥Õ¥¡¥¤¥ë¤òºÆÅÙ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Þ¤¹...
rootdg ¤òºîÀ®¤·¤Þ¤·¤¿¡£
¥ë¡¼¥È¥Ç¥£¥¹¥¯¤ò rootdg ¤ËÄɲä·¤Þ¤·¤¿¡£
¥ë¡¼¥È¥Ç¥£¥¹¥¯¤ò¥«¥×¥»¥ë²½¤¹¤ë¤¿¤á¤ÎÀßÄ꤬´°Î»¤·¤Þ¤·¤¿¡£
/etc/vfstab ¤Î /global/.devices ¥¨¥ó¥È¥ê¤ò¹¹¿·¤·¤Æ¤¤¤Þ¤¹¡£
¤³¤Î¥Î¡¼¥É¤Ï 20 Éøå¤Ë¥ê¥Ö¡¼¥È¤·¤Þ¤¹¡£
Ctrl-C ¤òÆþÎϤ¹¤ë¤È¡¢ÃæÃǤ·¤Þ¤¹..........
Rebooting with command: boot
-x
Boot device: /pci@1f,4000/scsi@3/disk@0,0 File and args: -x
SunOS Release 5.9 Version Generic_117171-17 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
NOTICE: VxVM not started
configuring IPv4 interfaces: hme0.
Hostname: sctest1
NOTICE: VxVM not started
vxvm:vxrecover: ERROR: IPC failure: Configuration daemon is not
accessible
Configuring /dev and /devices
Configuring the /dev directory (compatibility devices)
Not booting as part of a cluster
Note: path_to_inst was not updated. Please 'boot -r' to update.
NOTICE: VxVM not started
The Volume Manager is now reconfiguring (partition phase)...
Volume Manager: Partitioning c0t0d0 as an encapsulated disk.
/dev/dsk/c0t0d0s1 was dump device --
invoking dumpadm(1M) -d swap to select new dump device
The Volume Manager is now reconfiguring (initialization phase)...
Volume Manager: Adding rootdisk_1 (c0t0d0) as an encapsulated
disk.
The Volume Daemon has been enabled for transactions.
Adding volumes for c0t0d0...
Starting new volumes...
Updating /etc/vfstab...
Remove encapsulated partitions...
The Volume Manager will now set up your Boot Disk as a managed disk.
Saving original configuration...
16 blocks
The system will now be rebooted.
syncing file systems... done
rebooting...
Resetting ...
NOTICE: clcomm: Path sctest1:qfe1 - sctest2:qfe1 online
WARNING: CMM: Reading reservation keys from quorum device
/dev/did/rdsk/d10s2 failed with error 2.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node sctest1 (nodeid = 1) is up; new incarnation number =
1129683150.
NOTICE: CMM: Node sctest2 (nodeid = 2) is up; new incarnation number =
1129614710.
NOTICE: CMM: Cluster members: sctest1 sctest2.
NOTICE: CMM: node reconfiguration #11 completed.
NOTICE: CMM: Node sctest1: joined cluster.
NOTICE: CMM: Retry of initialization for quorum device
/dev/did/rdsk/d10s2 was successful.
ip: joining multicasts failed (18) on clprivnet0 - will use link layer
broadcasts for multicast
DID ¥Ç¥Ð¥¤¥¹¤Î¹½À®
¡Ö/dev/rdsk/c1t22d0s2¡×¤ò³«¤¯¤³¤È¤¬¤Ç¤¤Þ¤»¤ó
¤½¤Î¤è¤¦¤Ê¥Ç¥Ð¥¤¥¹¤â¥¢¥É¥ì¥¹¤â¤¢¤ê¤Þ¤»¤ó¡£
NOTICE: clcomm: Path sctest1:qfe0 - sctest2:qfe2 online
VxVM general startup...
NOTICE: vxvm:vxdmp: added disk array 50800200000e48a0, datype = SENA
vxvm: NOTE: Setting partition /dev/dsk/c0t0d0s1 as the dump device
Oct 19 09:52:52 Cluster.CCR: rcm script SUNW_cluster_storage_rcm.pl:
metaset: sctest1: metad ¥¯¥é¥¤¥¢¥ó¥ÈºîÀ®: RPC: Rpcbind ¤¬¥¨¥é¡¼¤Ç¤¹¡£
Oct 19 09:52:52 Cluster.CCR: rcm script SUNW_cluster_storage_rcm.pl:
Oct 19 09:52:52 Cluster.CCR: rcm script SUNW_cluster_storage_rcm.pl:
Can't get VxVM groups
Oct 19 09:52:52 Cluster.CCR: rcm script SUNW_cluster_storage_rcm.pl:
register: Internal failure
The system is coming up. Please wait.
starting rpc services: rpcbind keyserv done.
Setting netmask of hme0 to 255.255.0.0
Setting netmask of qfe1 to 255.255.255.128
Setting netmask of qfe0 to 255.255.255.128
Setting netmask of clprivnet0 to 255.255.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway
sctest1
S74scvxinstall.sh Reminoring rootdg...
umount: ·Ù¹ð: /global/.devices/node@1 ¤Ï mnttab Ãæ¤Ë¤¢¤ê¤Þ¤»¤ó¡£
vxvm:vxdg: WARNING: Volume swapvol: Device is open, will renumber on
import
syslog service starting.
Àܳ¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥Ç¥£¥¹¥¯¤Ø¤Î¥¢¥¯¥»¥¹¤ò¼èÆÀ¤·¤Æ¤¤¤Þ¤¹
Oct 19 09:53:00 sctest1 vxdmp: NOTICE: vxvm:vxdmp: added disk array
50800200000ebc78, datype = SENA
Oct 19 09:53:06 sctest1 sendmail[479]: My unqualified host name
(sctest1) unknown; sleeping for retry
Oct 19 09:53:06 sctest1 sendmail[480]: My unqualified host name
(sctest1) unknown; sleeping for retry
No VVR license installed on the system; vradmind not started.
No VVR license installed on the system; in.vxrsyncd not started.
volume management starting.
The system is ready.
sctest1 console login:
¾¯¡¹¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Æ¤Þ¤¹¤¬¡¢¤³¤ì¤ÇÌäÂꤢ¤ê¤Þ¤»¤ó¡£
¤³¤³¤Ç¤â¤¦°ìÅ٥Ρ¼¥É¤òºÆµ¯Æ°¤·¤Þ¤¹¡£
#
scshutdown -y g0
...(¾Êά)
...
ok
boot
...(¾Êά)
ºÆµ¯Æ°¸å¡¢Î¾¥Î¡¼¥É¤Ë¥í¥°¥¤¥ó¤·¤Æ°Ê²¼¤Î³Îǧ¤ò¤·¤Þ¤¹¡£
¡¦ vxio ¥É¥é¥¤¥Ð¤Î¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ
¡¦ rootdg ¤Î¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ
#
grep vxio /etc/name_to_major
vxio 315
¢ª¡¡³Æ¥Î¡¼¥É¤ÇƱ¤¸¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ï¤º¡£
--¥Î¡¼¥É£±--
#
ls -l /dev/vx/rdsk/rootdg
¹ç·× 0
crw------- 1 root
root 315,
50
10·î 19Æü 09:52 rootdisk_14vol
crw------- 1 root
root 315,
51
10·î 19Æü 09:52 rootdisk_17vol
crw------- 1 root
root 315, 0 10·î 19Æü 09:50 rootvol
crw------- 1 root
root 315,
52
10·î 19Æü 10:36 swapvol
--¥Î¡¼¥É£²--
#
ls -l /dev/vx/rdsk/rootdg
¹ç·× 0
crw------- 1 root
root 315,
100
10·î 19Æü 10:04 rootdisk_24vol
crw------- 1 root
root 315,
101
10·î 19Æü 10:04 rootdisk_27vol
crw------- 1 root
root 315, 0 10·î 19Æü 10:01 rootvol
crw------- 1 root
root 315,
102
10·î 19Æü 10:36 swapvol
¢ª¡¡³Æ¥Î¡¼¥É´Ö¤Ç°ì°Õ¤Ë¤Ê¤Ã¤Æ¤¤¤ì¤ÐOK¡£
¤Á¤Ê¤ß¤Ë¡¢Àè¤Û¤É¤ÎºÆµ¯Æ°¤ò¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢
swapvol ¤Î¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤ÏƱ¤¸¤â¤Î¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£
´ðËÜÀßÄê¤ò´°Î»¤¹¤ë¤Ë¤ÏºÆµ¯Æ°¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£
¢Í
Sun
Cluster ´Ä¶¤Ç¤Î VxVM¥Ü¥ê¥å¡¼¥à¤Î¹½À®ÊýË¡¤Ï¤³¤Á¤é
========================================
¢¨¾Ü¤·¤¤¾ðÊó¤Ï°Ê²¼¤Î¥È¥ì¡¼¥Ë¥ó¥°¥³¡¼¥¹»²¾È
VERITAS Volume Manager 4.0 ´ÉÍý
Sun Cluster 3.x ´ÉÍý
========================================
¡Ú¥¢¥ó¥±¡¼¥È¡Û
¤³¤Îµ»ö¤Ï¤¿¤á¤Ë¤Ê¤ê¤Þ¤·¤¿¤«¡©
¡¡¡¡¡¡¤Ï¤¤¡¡¡¡/¡¡¡¡¤¤¤¤¤¨