Veritas|Veritas InfoScale Enterprise 7 安装部署手册

前言 Veritas InfoScale Availability 能确保关键任务应用程序在遇到意外停机时能够持续正常运行,作为一款商业产品已经足够强大。

【Veritas|Veritas InfoScale Enterprise 7 安装部署手册】记录 infoscale 7.0.1 安装部署心得
更新记录 2017年04月14日 - 初稿
阅读原文 - https://wsgzao.github.io/post/infoscale/
扩展阅读
  • Veritas - https://www.veritas.com/zh/cn/product/business-continuity/infoscale-availability
部署前准备
# 编辑/etc/hosts vim /etc/hosts 172.25.242.125qrydb1 172.25.242.126qrydb2# 编辑环境变量 vim ~/.bash_profilePATH=$PATH:$HOME/bin:/opt/VRTS/bin:/opt/VRTSvxfs/sbin:/opt/VRTSvcs/bin# 禁用部分服务 service iptables stop chkconfig iptables off chkconfig --list iptables iptables0:off1:off2:off3:off4:off5:off6:offservice ip6tables stop chkconfig ip6tables off chkconfig --list ip6tables ip6tables0:off1:off2:off3:off4:off5:off6:off# 禁用cpuspeed服务 chkconfig --level 12345 cpuspeed off chkconfig --list cpuspeed cpuspeed0:off1:off2:off3:off4:off5:off6:off# 禁用SELINUX服务 vim /etc/selinux/config# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: #enforcing - SELinux security policy is enforced. #permissive - SELinux prints warnings instead of enforcing. #disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: #targeted - Targeted processes are protected, #mls - Multi Level Security protection. SELINUXTYPE=targeted # 系统优化调整# 针对数据库环境,需要把grub.con中添加elevator设置为deadline vim /etc/grub.conf# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE:You have a /boot partition.This means that #all kernel and initrd paths are relative to /boot/, eg. #root (hd0,0) #kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root #initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux 6 (2.6.32-573.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-573.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=768M rd_LVM_LV=VolGroup/lv_rootKEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet transparent_hugepage=never elevator=deadline initrd /initramfs-2.6.32-573.el6.x86_64.img# sysctl.conf文件检查及调整 sysctl -a | grep -i hungkernel.hung_task_panic = 0 kernel.hung_task_check_count = 4194304 kernel.hung_task_timeout_secs = 120 kernel.hung_task_warnings = 10vim /etc/sysctl.confkernel.panic = 10

安装InfoScale Enterprise 7.0及7.0.1MR包
cd /tmp/sf mkdir base mv Veritas_InfoScale_7.0_RHEL.tar.gz base/ cd base tar -xzvf * cd .. tar -xzvf cpi-Patch-7.0.1.500.tar.gz patches/ cd patches mv *.pl ../. cd .. tar -xzvf infoscale-rhel6_x86_64-MR-7.0.1.tar.gz cd rhel6_x86_64 ./installmr -require /tmp/sf/CPI_7.0.1_P5.pl -base_path /tmp/sf/base/dvd1-redhatlinux/rhel6_x86_64Task Menu:P) Perform a Pre-Installation CheckI) Install a Product G) Upgrade a Product?) HelpEnter a Task: [P,I,G,?] p1)Veritas InfoScale Foundation 2)Veritas InfoScale Availability 3)Veritas InfoScale Storage 4)Veritas InfoScale Enterprise b)Back to previous menuSelect a product to perform pre-installation check for: [1-4,b,q] 41)Cluster Server (VCS) 2)Storage Foundation (SF) 3)Storage Foundation and High Availability (SFHA) 4)Storage Foundation Cluster File System HA (SFCFSHA) 5)Storage Foundation for Oracle RAC (SF Oracle RAC) 6)Storage Foundation for Sybase ASE CE (SFSYBASECE)Select a component to perform pre-installation check for: [1-6,q] 5 Enter the system names separated by spaces: [q,?] qrydb1 qrydb2Would you like the installer to setup ssh or rsh communication automatically between the systems? Superuser passwords for the systems will be asked. [y,n,q,?] (y) Enter the superuser password for system qrydb2: 1)Setup ssh between the systems 2)Setup rsh between the systems b)Back to previous menuSelect the communication method [1-2,b,q,?] (1) Would you like to install InfoScale Enterprise on qrydb1 qrydb2? [y,n,q] (n) yThis product may contain open source and other third party materials that are subject to a separate license. See the applicable Third-Party Notice at http://www.symantec.com/about/profile/policies/eulasDo you agree with the terms of the End User License Agreement as specified in the EULA/en/EULA_InfoScale_Ux_7.0.pdf file under /tmp/sf/base/dvd1-redhatlinux/rhel6_x86_64? [y,n,q,?] ySystems have difference in clock by more than 5 secondsSystem clocks can be synchronized using one or more Network Time Protocol (NTP) serversDo you want to synchronize system clocks with NTP server(s)? [y,n,q] (y) n1)Enter a valid license key 2)Enable keyless licensing and complete system licensing laterHow would you like to license the systems? [1-2,q] (2) 1)Veritas InfoScale Foundation 2)Veritas InfoScale Availability 3)Veritas InfoScale Storage 4)Veritas InfoScale Enterprise b)Back to previous menuWhich product would you like to register? [1-4,b,q] (4) 1)Configure SF Oracle RAC sub-components 2)Prepare to Install Oracle 3)Install Oracle Clusterware/Grid Infrastructure and Database 4)Post Oracle Installation Tasks 5)Exit SF Oracle RAC ConfigurationChoose option: [1-5,q] (1) 5Would you like to do post SFRAC configuration checks? [y,n,q] (y) Do you want to cleanup the communication for the systems qrydb2? [y,n,q] (n) installmr log files, summary file, and response file are saved at:/opt/VRTS/install/logs/installmr-201703141635LlzWould you like to view the summary file? [y,n,q] (n)

安装相关hotfix包
# 安装aslapm包(两个节点同时操作) cd /tmp/sf tar -xzvf VRTSaslapm* cd RHEL6 rpm -Uvh VRTSaslapm*# 安装vxvm包(两个节点同时操作) cd /tmp/sf rm -rf RHEL6 tar -xzvf vm-rhel6* cd rpms rpm -Uvh VRTSvxvm*# 安装llt包(单个节点操作) cd /tmp/sf tar -xzvf llt* ./installVRTSllt701P400Enter the system names separated by spaces: [q,?] (qrydb1) qrydb1 qrydb2Do you want to continue? [y,n,q] (y) All InfoScale Enterprise processes that are currently running must be stoppedDo you want to stop InfoScale Enterprise processes now? [y,n,q,?] (y) Would you like to view the summary file? [y,n,q] (n) # 安装vxfs包(两个节点同时操作) cd /tmp/sf tar -xzvf fs* cd rpms rpm -Uvh VRTSvxfs*# 安装vcs包(两个节点同时操作) cd /tmp/sf tar -xzvf vcs-* /opt/VRTSvcs/bin/CmdServer -stop cp /etc/VRTSvcs/conf/config/types.cf /etc/VRTSvcs/conf/config/types.cf.orig cp /etc/VRTSvcs/conf/config/main.cf /etc/VRTSvcs/conf/config/main.cf.orig cd rpms rpm -Uvh VRTSvcs*# 安装Java GUI包(两个节点同时操作) cd /tmp/sf tar -xzvf VCS_C* rpm -ivh VRTScscm*

重启前配置及检查
# Linux平台(所有节点)修改/etc/init.d/vxvm-recover,去掉除Stopping $daemon...外其他所有的vxrelocd字段 vim /etc/init.d/vxvm-recover#$CHECKPROC "vxrelocd" #if [ $? != 0 ] #then #echo -n "Starting vxrelocd..." #vxrelocd root & #sleep 1 #pid="$(pids_pidof "vxrelocd")" #if [ ! -z "$pid" ] #then #echo "[ OK ]" #else #echo "[ FAILED ]" #fi #else #echo "vxrelocd already running..." #fi# 修改tunefstab文件 echo "system_default dalloc_enable=0,pdir_enable=0" > /etc/vx/tunefstab# 修改vcsenv文件 vim /opt/VRTSvcs/bin/vcsenv VCS_GAB_RMACTION="panic" export VCS_GAB_RMACTIONVCS_GAB_TIMOUT=15000 export VCS_GAB_TIMEOUT# 检查相关软件包版本 rpm -qa|grep -i vrts VRTSvcs-7.0.1.101-RHEL6.x86_64 VRTSperl-5.20.1.2-RHEL6.x86_64 VRTSamf-7.0.1.000-RHEL6.x86_64 VRTSdbac-7.0.1.000-RHEL6.x86_64 VRTSvxvm-7.0.1.003-RHEL6.x86_64 VRTSvcsag-7.0.1.000-RHEL6.x86_64 VRTSsfcpi-7.0.1.000-GENERIC.noarch VRTSllt-7.0.1.400-RHEL6.x86_64 VRTSodm-7.0.0.000-RHEL6.x86_64 VRTSgab-7.0.1.000-RHEL6.x86_64 VRTScps-7.0.1.000-RHEL6.i686 VRTSglm-7.0.1.000-RHEL6.x86_64 VRTSvbs-7.0.0.000-Linux.i686 VRTSvcswiz-7.0.1.000-RHEL6.x86_64 VRTSvxfs-7.0.1.003-RHEL6.x86_64 VRTSgms-7.0.0.000-RHEL6.x86_64 VRTSspt-7.0.1.000-RHEL6.noarch VRTSdbed-7.0.1.000-RHEL.x86_64 VRTSsfmh-7.0.0.0-0.x86_64 VRTSaslapm-7.0.1.200-RHEL6.x86_64 VRTSvlic-3.02.70.008-RHEL6.x86_64 VRTSfsadv-7.0.1.000-RHEL6.x86_64 VRTSvcsea-7.0.1.000-RHEL6.x86_64 VRTScscm-6.0.100.000-GA_GENERIC.noarch VRTSvxfen-7.0.1.000-RHEL6.x86_64 VRTScavf-7.0.1.000-RHEL6.i686# 重启所有安装节点 shutdown -r now

配置集群
cd /opt/VRTS/install ./installer -configure1)Cluster Server (VCS) 2)Storage Foundation (SF) 3)Storage Foundation and High Availability (SFHA) 4)Storage Foundation Cluster File System HA (SFCFSHA) 5)Storage Foundation for Oracle RAC (SF Oracle RAC) 6)Storage Foundation for Sybase ASE CE (SFSYBASECE)Select a component to configure: [1-6,q] 5Enter the system names separated by spaces: [q,?] qrydb1 qrydb2Do you want to synchronize system clocks with NTP server(s)? [y,n,q] (y) n1)Configure SF Oracle RAC sub-components 2)Prepare to Install Oracle 3)Install Oracle Clusterware/Grid Infrastructure and Database 4)Post Oracle Installation Tasks 5)Exit SF Oracle RAC ConfigurationChoose option: [1-5,q] (1) Press [Enter] to continue: Enter the unique cluster name: [q,?] qrydb_cluster1)Configure the heartbeat links using LLT over Ethernet 2)Configure the heartbeat links using LLT over UDP 3)Configure the heartbeat links using LLT over RDMA 4)Automatically detect configuration for LLT over Ethernet b)Back to previous menuHow would you like to configure heartbeat links? [1-4,b,q,?] (4) 1Enter the NIC for the first private heartbeat link on qrydb1: [b,q,?] (bond1) eth8Enter the NIC for the second private heartbeat link on qrydb1: [b,q,?] (bond1) eth4Would you like to configure a third private heartbeat link? [y,n,q,b,?] (n) Are you using the same NICs for private heartbeat links on all systems? [y,n,q,b,?] (y) Enter a unique cluster ID number between 0-65535: [b,q,?] (58763) 4142Would you like to check if the cluster ID is in use by another cluster? [y,n,q] (y) Press [Enter] to continue: Cluster information verification:Cluster Name:qrydb_cluster Cluster ID Number: 4142Private Heartbeat NICs for qrydb1: link1=eth8 link2=eth4Private Heartbeat NICs for qrydb2: link1=eth8 link2=eth4Is this information correct? [y,n,q,?] (y) Do you want to configure the Virtual IP? [y,n,q,?] (n) Would you like to configure the VCS cluster in secure mode? [y,n,q,?] (y) nAre you sure that you want to proceed with non-secure installation? [y,n,q] (n) yDo you wish to accept the default cluster credentials of 'admin/password'? [y,n,q] (y) Do you want to add another user to the cluster? [y,n,q] (n) VCS User verification:User: adminPrivilege: AdministratorsPasswords are not displayedIs this information correct? [y,n,q] (y) Do you want to configure SMTP notification? [y,n,q,?] (n) Do you want to configure SNMP notification? [y,n,q,?] (n) Do you want to configure the Global Cluster Option? [y,n,q,?] (n) Do you want to stop InfoScale Enterprise processes now? [y,n,q,?] (y) Press [Enter] to continue: Would you like to do post SFRAC configuration checks? [y,n,q] (y) Would you like to view the summary file? [y,n,q] (n) # 检查配置后的HA状态 qrydb1@NH/opt/VRTS/install#/opt/VRTSvcs/bin/hastatus -sum-- SYSTEM STATE -- SystemStateFrozenAqrydb1RUNNING0 Aqrydb2RUNNING0-- GROUP STATE -- GroupSystemProbedAutoDisabledStateBcvmqrydb1YNONLINE Bcvmqrydb2YNONLINE

配置I/O Fencing
# 创建vxfendg(集群中的一个节点操作) qrydb1@NH/root#vxdisk list DEVICETYPEDISKGROUPSTATUS disk_0auto:LVM--online invalid huawei-xsg10_0 auto:none--online invalid huawei-xsg10_1 auto:none--online invalid huawei-xsg10_2 auto:none--online invalid huawei-xsg10_3 auto:none--online invalid huawei-xsg10_4 auto:none--online invalid huawei-xsg10_5 auto:none--online invalid huawei-xsg10_6 auto:none--online invalid huawei-xsg10_7 auto:none--online invalid huawei-xsg10_8 auto:none--online invalid huawei-xsg10_9 auto:none--online invalid huawei-xsg10_10 auto:none--online invalid huawei-xsg10_11 auto:none--online invalid huawei-xsg10_12 auto:none--online invalid huawei-xsg10_13 auto:none--online invalid huawei-xsg10_14 auto:none--online invalid huawei-xsg10_15 auto:none--online invalid huawei-xsg10_16 auto:none--online invalid huawei-xsg10_17 auto:none--online invalid huawei-xsg10_18 auto:none--online invalid huawei-xsg10_19 auto:none--online invalid huawei-xsg10_20 auto:none--online invalid huawei-xsg10_21 auto:none--online invalid huawei-xsg10_22 auto:none--online invalid huawei-xsg10_23 auto:none--online invalid huawei-xsg10_24 auto:none--online invalid huawei-xsg10_25 auto:none--online invalid huawei-xsg10_26 auto:none--online invalid huawei-xsg10_27 auto:none--online invalid huawei-xsg10_28 auto:none--online invalid huawei-xsg10_29 auto:none--online invalid huawei-xsg10_30 auto:none--online invalid huawei-xsg10_31 auto:none--online invalid huawei-xsg10_32 auto:none--online invalid huawei-xsg10_33 auto:none--online invalid huawei-xsg10_34 auto:none--online invalid huawei-xsg10_35 auto:none--online invalid huawei-xsg10_36 auto:none--online invalid huawei-xsg10_37 auto:none--online invalid huawei-xsg10_38 auto:none--online invalid huawei-xsg10_39 auto:none--online invalid huawei-xsg10_40 auto:none--online invalid huawei-xsg10_41 auto:none--online invalid huawei-xsg10_42 auto:none--online invalid huawei-xsg10_43 auto:none--online invalid huawei-xsg10_44 auto:none--online invalid huawei-xsg10_45 auto:none--online invalid huawei-xsg10_46 auto:none--online invalid huawei-xsg10_47 auto:none--online invalid huawei-xsg10_48 auto:none--online invalid huawei-xsg10_49 auto:none--online invalid huawei-xsg10_50 auto:none--online invalid huawei-xsg10_51 auto:none--online invalid huawei-xsg10_52 auto:none--online invalid huawei-xsg10_53 auto:none--online invalid huawei-xsg10_54 auto:none--online invalid huawei-xsg10_55 auto:none--online invalid huawei-xsg10_56 auto:none--online invalid huawei-xsg10_57 auto:none--online invalid huawei-xsg10_58 auto:none--online invalid huawei-xsg10_59 auto:none--online invalid huawei-xsg10_60 auto:none--online invalid huawei-xsg10_61 auto:none--online invalid huawei-xsg10_62 auto:none--online invalid huawei-xsg10_63 auto:none--online invalid huawei-xsg10_64 auto:none--online invalid huawei-xsg10_65 auto:none--online invalid huawei-xsg10_66 auto:none--online invalid huawei-xsg10_67 auto:none--online invalid huawei-xsg10_68 auto:none--online invalid huawei-xsg10_69 auto:none--online invalid huawei-xsg10_70 auto:none--online invalid huawei-xsg10_71 auto:none--online invalid huawei-xsg10_72 auto:none--online invalid huawei-xsg10_73 auto:none--online invalid huawei-xsg10_74 auto:none--online invalid huawei-xsg10_75 auto:none--online invalid huawei-xsg10_76 auto:none--online invalid huawei-xsg11_0 auto:none--online invalid huawei-xsg11_1 auto:none--online invalid huawei-xsg11_2 auto:none--online invalid huawei-xsg11_3 auto:none--online invalid huawei-xsg11_4 auto:none--online invalid huawei-xsg11_5 auto:none--online invalid huawei-xsg11_6 auto:none--online invalid huawei-xsg11_7 auto:none--online invalid huawei-xsg11_8 auto:none--online invalid huawei-xsg11_9 auto:none--online invalid huawei-xsg11_10 auto:none--online invalid huawei-xsg11_11 auto:none--online invalid huawei-xsg11_12 auto:none--online invalid huawei-xsg11_13 auto:none--online invalid huawei-xsg11_14 auto:none--online invalid huawei-xsg11_15 auto:none--online invalid huawei-xsg11_16 auto:none--online invalid huawei-xsg11_17 auto:none--online invalid huawei-xsg11_18 auto:none--online invalid huawei-xsg11_19 auto:none--online invalid huawei-xsg11_20 auto:none--online invalid huawei-xsg11_21 auto:none--online invalid huawei-xsg11_22 auto:none--online invalid huawei-xsg11_23 auto:none--online invalid huawei-xsg11_24 auto:none--online invalid huawei-xsg11_25 auto:none--online invalid huawei-xsg11_26 auto:none--online invalid huawei-xsg11_27 auto:none--online invalid huawei-xsg11_28 auto:none--online invalid huawei-xsg11_29 auto:none--online invalid huawei-xsg11_30 auto:none--online invalid huawei-xsg11_31 auto:none--online invalid huawei-xsg11_32 auto:none--online invalid huawei-xsg11_33 auto:none--online invalid huawei-xsg11_34 auto:none--online invalid huawei-xsg11_35 auto:none--online invalid huawei-xsg11_36 auto:none--online invalid huawei-xsg11_37 auto:none--online invalid huawei-xsg11_38 auto:none--online invalid huawei-xsg11_39 auto:none--online invalid huawei-xsg11_40 auto:none--online invalid huawei-xsg11_41 auto:none--online invalid huawei-xsg11_42 auto:none--online invalid huawei-xsg11_43 auto:none--online invalid huawei-xsg11_44 auto:none--online invalid huawei-xsg11_45 auto:none--online invalid huawei-xsg11_46 auto:none--online invalid huawei-xsg11_47 auto:none--online invalid huawei-xsg11_48 auto:none--online invalid huawei-xsg11_49 auto:none--online invalid huawei-xsg11_50 auto:none--online invalid huawei-xsg11_51 auto:none--online invalid huawei-xsg11_52 auto:none--online invalid huawei-xsg11_53 auto:none--online invalid huawei-xsg11_54 auto:none--online invalid huawei-xsg11_55 auto:none--online invalid huawei-xsg11_56 auto:none--online invalid huawei-xsg11_57 auto:none--online invalid huawei-xsg11_58 auto:none--online invalid huawei-xsg11_59 auto:none--online invalid huawei-xsg11_60 auto:none--online invalid huawei-xsg11_61 auto:none--online invalid huawei-xsg11_62 auto:none--online invalid huawei-xsg11_63 auto:none--online invalid huawei-xsg11_64 auto:none--online invalid huawei-xsg11_65 auto:none--online invalid huawei-xsg11_66 auto:none--online invalid qrydb1@NH/root## 初始化磁盘为online vxdisk list |grep -i huawei|awk '{print "/etc/vx/bin/vxdisksetup -i "$1}'|sh# 选择大小为1G的磁盘作为仲裁盘 qrydb1@NH/root#lsblk | grep "1G" sdma69:28801G0 disk sdme69:35201G0 disk sdmc69:32001G0 disk sdml69:46401G0 disk sdmm69:48001G0 disk sdmn69:49601G0 disk sdrr134:33601G0 disk sdrv134:40001G0 disk sdrt134:36801G0 disk sdva67:70401G0 disk sduz67:68801G0 disk sduy67:67201G0 disk sdaap132:72001G0 disk sdaao132:70401G0 disk sdaan132:68801G0 disk sdagb69:94401G0 disk sdagc69:96001G0 disk sdagd69:97601G0 disk sdalp134:94401G0 disk sdalr134:97601G0 disk sdalq134:96001G0 disk sdard71:120001G0 disk sdare71:121601G0 disk sdarf71:123201G0 disk VxDMP74201:116801G0 disk VxDMP78201:123201G0 disk VxDMP83201:131201G0 disk# 查看路径对应关系 qrydb1@NH/root#vxdmpadm getsubpaths | grep sdma sdmaENABLEDSECONDARYhuawei-xsg10_71 huawei-xsg10 c2- qrydb1@NH/root#vxdmpadm getsubpaths | grep sdme sdmeENABLED(A) PRIMARYhuawei-xsg10_73 huawei-xsg10 c2- qrydb1@NH/root#vxdmpadm getsubpaths | grep sdmc sdmcENABLEDSECONDARYhuawei-xsg10_72 huawei-xsg10 c2-vxdg init vxfencoorddg vxfencoorddg01=huawei-xsg10_71 vxfencoorddg02=huawei-xsg10_72 vxfencoorddg03=huawei-xsg10_73 vxdg -g vxfencoorddg set coordinator=on vxdg deport vxfencoorddg vxdg -t import vxfencoorddg vxdg deport vxfencoorddg# 测试仲裁盘可用性 /opt/VRTSvcs/vxfen/bin/vxfentsthdw -g vxfencoorddgDo you still want to continue : [y/n] (default: n) yEnter the first node of the cluster: qrydb1 Enter the second node of the cluster: qrydb2ALL tests on the disk /dev/vx/rdmp/huawei-xsg10_73 have PASSED. The disk is now ready to be configured for I/O Fencing on node qrydb1.ALL tests on the disk /dev/vx/rdmp/huawei-xsg10_73 have PASSED. The disk is now ready to be configured for I/O Fencing on node qrydb2.# 配置I/O Fencing cd /opt/VRTS/install ./installer -fencingEnter the name of one system in the VCS cluster for which you would like to configure I/O fencing: qrydb1 qrydb2Cluster information verification:Cluster Name: qrydb_clusterCluster ID Number: 4142Systems: qrydb1 qrydb2Would you like to configure I/O fencing on the cluster? [y,n,q] (y) Fencing configuration 1)Configure Coordination Point client based fencing 2)Configure disk based fencing 3)Configure fencing in disabled modeSelect the fencing mechanism to be configured in this Application Cluster: [1-3,q,?] 2This I/O fencing configuration option requires a restart of VCS. Installer will stop VCS at a later stage in this run. Note that the service groups will be online only on the systems that are in the 'AutoStartList' after restarting VCS. Do you want to continue? [y,n,q,b,?] yDo you have SCSI3 PR enabled disks? [y,n,q,b,?] (y) Select one of the options below for fencing disk group: 1)Create a new disk group 2)Using an existing disk group b)Back to previous menuEnter the choice for a disk group: [1-2,b,q] 2 1)vxfencoorddg(coordinator) b)Back to previous menuSelect one disk group as fencing disk group: [1-1,b,q] 1As per the 'vxfentsthdw' run you performed, do you want to continue with this disk group? [y,n,q] (y) I/O fencing configuration verificationDisk Group: vxfencoorddgFencing disk policy: dmpIs this information correct? [y,n,q] (y) HAD and all the applications will be stopped. Do you want to stop VCS and all its applications and apply fencing configuration on all nodes at this point? [y,n,q] (y) Do you want to configure Coordination Point Agent on the client cluster? [y,n,q] (y) Enter a non-existing name for the service group for Coordination Point Agent: [b] (vxfen) Do you want to set LevelTwoMonitorFreq? [y,n,q] (y) Enter the value of the LevelTwoMonitorFreq attribute(0 to 65535): [b,q,?] (5) Would you like to view the summary file? [y,n,q] (n)# 配置完成后会在HA中多一个vxfen的服务组 qrydb1@NH/opt/VRTS/install#hastatus -sum-- SYSTEM STATE -- SystemStateFrozenAqrydb1RUNNING0 Aqrydb2RUNNING0-- GROUP STATE -- GroupSystemProbedAutoDisabledStateBcvmqrydb1YNONLINE Bcvmqrydb2YNONLINE Bvxfenqrydb1YNONLINE Bvxfenqrydb2YNONLINE

创建磁盘组、卷和文件系统
# 格式化数据磁盘(集群中的一个节点操作) vxdisk list | grep -i huawei|awk '{print "/etc/vx/bin/vxdisksetup -i "$1}'|sh# /etc/vx/bin/vxdisksetup -i huawei-xsg11_76 # /etc/vx/bin/vxdisksetup -i huawei-xsg11_77 # /etc/vx/bin/vxdisksetup -i huawei-xsg11_78 # /etc/vx/bin/vxdisksetup -i huawei…….# 创建磁盘组# 技巧,利用excel统计磁盘和容量的对应关系 vxdisk list vxdisk list | grep huawei | awk '{print "/sbin/vxdisk list " $1}' | sh | grep public # 删除dg vxdg destroy [dgname]#ocrvotedg(每个盘10G) vxdg -s init ocrvotedg ocrvotedg01=huawei-xsg10_74 vxdg -g ocrvotedg adddisk ocrvotedg02=huawei-xsg10_75 vxdg -g ocrvotedg adddisk ocrvotedg03=huawei-xsg10_76 vxdg -g ocrvotedg adddisk ocrvotedg01_1=huawei-xsg11_64 vxdg -g ocrvotedg adddisk ocrvotedg02_1=huawei-xsg11_65 vxdg -g ocrvotedg adddisk ocrvotedg03_1=huawei-xsg11_66 vxdg -g ocrvotedg set diskdetpolicy=local#qrydbbkdg(rmanbk每个盘500G) vxdg init qrydbbkdg qrydbbkdg01=huawei-xsg10_66 vxdg -g qrydbbkdg adddisk qrydbbkdg02=huawei-xsg10_67 vxdg -g qrydbbkdg adddisk qrydbbkdg03=huawei-xsg10_68 vxdg -g qrydbbkdg adddisk qrydbbkdg04=huawei-xsg10_69#qrydbdumpdg(每个盘500G) vxdg init qrydbdumpdg qrydbdumpdg01=huawei-xsg10_64 vxdg -g qrydbdumpdg adddisk qrydbdumpdg02=huawei-xsg10_65#qrydbdsgdg(每个盘500G) vxdg init qrydbdsgdg qrydbdsgdg01=huawei-xsg10_70#qrydbdatadg(每个盘200G) vxdg -s init qrydbdatadg qrydbdatadg01=huawei-xsg10_0 vxdg -g qrydbdatadg adddisk qrydbdatadg02=huawei-xsg10_1 vxdg -g qrydbdatadg adddisk qrydbdatadg02=huawei-xsg10_1 vxdg -g qrydbdatadg adddisk qrydbdatadg03=huawei-xsg10_2 vxdg -g qrydbdatadg adddisk qrydbdatadg04=huawei-xsg10_3 vxdg -g qrydbdatadg adddisk qrydbdatadg05=huawei-xsg10_4 vxdg -g qrydbdatadg adddisk qrydbdatadg06=huawei-xsg10_5 vxdg -g qrydbdatadg adddisk qrydbdatadg07=huawei-xsg10_6 vxdg -g qrydbdatadg adddisk qrydbdatadg08=huawei-xsg10_7 vxdg -g qrydbdatadg adddisk qrydbdatadg09=huawei-xsg10_8 vxdg -g qrydbdatadg adddisk qrydbdatadg10=huawei-xsg10_9 vxdg -g qrydbdatadg adddisk qrydbdatadg11=huawei-xsg10_10 vxdg -g qrydbdatadg adddisk qrydbdatadg12=huawei-xsg10_11 vxdg -g qrydbdatadg adddisk qrydbdatadg13=huawei-xsg10_12 vxdg -g qrydbdatadg adddisk qrydbdatadg14=huawei-xsg10_13 vxdg -g qrydbdatadg adddisk qrydbdatadg15=huawei-xsg10_14 vxdg -g qrydbdatadg adddisk qrydbdatadg16=huawei-xsg10_15 vxdg -g qrydbdatadg adddisk qrydbdatadg17=huawei-xsg10_16 vxdg -g qrydbdatadg adddisk qrydbdatadg18=huawei-xsg10_17 vxdg -g qrydbdatadg adddisk qrydbdatadg19=huawei-xsg10_18 vxdg -g qrydbdatadg adddisk qrydbdatadg20=huawei-xsg10_19 vxdg -g qrydbdatadg adddisk qrydbdatadg21=huawei-xsg10_20 vxdg -g qrydbdatadg adddisk qrydbdatadg22=huawei-xsg10_21 vxdg -g qrydbdatadg adddisk qrydbdatadg23=huawei-xsg10_22 vxdg -g qrydbdatadg adddisk qrydbdatadg24=huawei-xsg10_23 vxdg -g qrydbdatadg adddisk qrydbdatadg25=huawei-xsg10_24 vxdg -g qrydbdatadg adddisk qrydbdatadg26=huawei-xsg10_25 vxdg -g qrydbdatadg adddisk qrydbdatadg27=huawei-xsg10_26 vxdg -g qrydbdatadg adddisk qrydbdatadg28=huawei-xsg10_27 vxdg -g qrydbdatadg adddisk qrydbdatadg29=huawei-xsg10_28 vxdg -g qrydbdatadg adddisk qrydbdatadg30=huawei-xsg10_29 vxdg -g qrydbdatadg adddisk qrydbdatadg31=huawei-xsg10_30 vxdg -g qrydbdatadg adddisk qrydbdatadg32=huawei-xsg10_31 vxdg -g qrydbdatadg adddisk qrydbdatadg33=huawei-xsg10_32 vxdg -g qrydbdatadg adddisk qrydbdatadg34=huawei-xsg10_33 vxdg -g qrydbdatadg adddisk qrydbdatadg35=huawei-xsg10_34 vxdg -g qrydbdatadg adddisk qrydbdatadg36=huawei-xsg10_35 vxdg -g qrydbdatadg adddisk qrydbdatadg37=huawei-xsg10_36 vxdg -g qrydbdatadg adddisk qrydbdatadg38=huawei-xsg10_37 vxdg -g qrydbdatadg adddisk qrydbdatadg39=huawei-xsg10_38 vxdg -g qrydbdatadg adddisk qrydbdatadg40=huawei-xsg10_39 vxdg -g qrydbdatadg adddisk qrydbdatadg01_1=huawei-xsg11_0 vxdg -g qrydbdatadg adddisk qrydbdatadg02_1=huawei-xsg11_1 vxdg -g qrydbdatadg adddisk qrydbdatadg02_1=huawei-xsg11_1 vxdg -g qrydbdatadg adddisk qrydbdatadg03_1=huawei-xsg11_2 vxdg -g qrydbdatadg adddisk qrydbdatadg04_1=huawei-xsg11_3 vxdg -g qrydbdatadg adddisk qrydbdatadg05_1=huawei-xsg11_4 vxdg -g qrydbdatadg adddisk qrydbdatadg06_1=huawei-xsg11_5 vxdg -g qrydbdatadg adddisk qrydbdatadg07_1=huawei-xsg11_6 vxdg -g qrydbdatadg adddisk qrydbdatadg08_1=huawei-xsg11_7 vxdg -g qrydbdatadg adddisk qrydbdatadg09_1=huawei-xsg11_8 vxdg -g qrydbdatadg adddisk qrydbdatadg10_1=huawei-xsg11_9 vxdg -g qrydbdatadg adddisk qrydbdatadg11_1=huawei-xsg11_10 vxdg -g qrydbdatadg adddisk qrydbdatadg12_1=huawei-xsg11_11 vxdg -g qrydbdatadg adddisk qrydbdatadg13_1=huawei-xsg11_12 vxdg -g qrydbdatadg adddisk qrydbdatadg14_1=huawei-xsg11_13 vxdg -g qrydbdatadg adddisk qrydbdatadg15_1=huawei-xsg11_14 vxdg -g qrydbdatadg adddisk qrydbdatadg16_1=huawei-xsg11_15 vxdg -g qrydbdatadg adddisk qrydbdatadg17_1=huawei-xsg11_16 vxdg -g qrydbdatadg adddisk qrydbdatadg18_1=huawei-xsg11_17 vxdg -g qrydbdatadg adddisk qrydbdatadg19_1=huawei-xsg11_18 vxdg -g qrydbdatadg adddisk qrydbdatadg20_1=huawei-xsg11_19 vxdg -g qrydbdatadg adddisk qrydbdatadg21_1=huawei-xsg11_20 vxdg -g qrydbdatadg adddisk qrydbdatadg22_1=huawei-xsg11_21 vxdg -g qrydbdatadg adddisk qrydbdatadg23_1=huawei-xsg11_22 vxdg -g qrydbdatadg adddisk qrydbdatadg24_1=huawei-xsg11_23 vxdg -g qrydbdatadg adddisk qrydbdatadg25_1=huawei-xsg11_24 vxdg -g qrydbdatadg adddisk qrydbdatadg26_1=huawei-xsg11_25 vxdg -g qrydbdatadg adddisk qrydbdatadg27_1=huawei-xsg11_26 vxdg -g qrydbdatadg adddisk qrydbdatadg28_1=huawei-xsg11_27 vxdg -g qrydbdatadg adddisk qrydbdatadg29_1=huawei-xsg11_28 vxdg -g qrydbdatadg adddisk qrydbdatadg30_1=huawei-xsg11_29 vxdg -g qrydbdatadg adddisk qrydbdatadg31_1=huawei-xsg11_30 vxdg -g qrydbdatadg adddisk qrydbdatadg32_1=huawei-xsg11_31 vxdg -g qrydbdatadg adddisk qrydbdatadg33_1=huawei-xsg11_32 vxdg -g qrydbdatadg adddisk qrydbdatadg34_1=huawei-xsg11_33 vxdg -g qrydbdatadg adddisk qrydbdatadg35_1=huawei-xsg11_34 vxdg -g qrydbdatadg adddisk qrydbdatadg36_1=huawei-xsg11_35 vxdg -g qrydbdatadg adddisk qrydbdatadg37_1=huawei-xsg11_36 vxdg -g qrydbdatadg adddisk qrydbdatadg38_1=huawei-xsg11_37 vxdg -g qrydbdatadg adddisk qrydbdatadg39_1=huawei-xsg11_38 vxdg -g qrydbdatadg adddisk qrydbdatadg40_1=huawei-xsg11_39 vxdg -g qrydbdatadg set diskdetpolicy=local#qrydbhistbizdg(每个盘500G) vxdg -s init qrydbhistbizdg qrydbhistbizdg01=huawei-xsg10_40 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg02=huawei-xsg10_41 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg03=huawei-xsg10_42 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg04=huawei-xsg10_43 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg05=huawei-xsg10_44 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg06=huawei-xsg10_45 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg07=huawei-xsg10_46 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg08=huawei-xsg10_47 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg09=huawei-xsg10_48 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg10=huawei-xsg10_49 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg11=huawei-xsg10_50 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg12=huawei-xsg10_51 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg01_1=huawei-xsg11_40 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg02_1=huawei-xsg11_41 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg03_1=huawei-xsg11_42 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg04_1=huawei-xsg11_43 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg05_1=huawei-xsg11_44 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg06_1=huawei-xsg11_45 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg07_1=huawei-xsg11_46 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg08_1=huawei-xsg11_47 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg09_1=huawei-xsg11_48 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg10_1=huawei-xsg11_49 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg11_1=huawei-xsg11_50 vxdg -g qrydbhistbizdg adddisk qrydbhistbizdg12_1=huawei-xsg11_51 vxdg -g qrydbhistbizdg set diskdetpolicy=local#qrydbhistriskdg(每个盘500G) vxdg -s init qrydbhistriskdg qrydbhistriskdg01=huawei-xsg10_52 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg02=huawei-xsg10_53 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg03=huawei-xsg10_54 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg04=huawei-xsg10_55 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg05=huawei-xsg10_56 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg06=huawei-xsg10_57 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg07=huawei-xsg10_58 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg08=huawei-xsg10_59 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg09=huawei-xsg10_60 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg10=huawei-xsg10_61 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg11=huawei-xsg10_62 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg12=huawei-xsg10_63 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg01_1=huawei-xsg11_52 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg02_1=huawei-xsg11_53 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg03_1=huawei-xsg11_54 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg04_1=huawei-xsg11_55 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg05_1=huawei-xsg11_56 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg06_1=huawei-xsg11_57 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg07_1=huawei-xsg11_58 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg08_1=huawei-xsg11_59 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg09_1=huawei-xsg11_60 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg10_1=huawei-xsg11_61 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg11_1=huawei-xsg11_62 vxdg -g qrydbhistriskdg adddisk qrydbhistriskdg12_1=huawei-xsg11_63 vxdg -g qrydbhistriskdg set diskdetpolicy=localqrydb1@NH/root#vxdisk list DEVICETYPEDISKGROUPSTATUS disk_0auto:LVM--online invalid huawei-xsg10_0 auto:cdsdiskqrydbdatadg01qrydbdatadgonline shared huawei-xsg10_1 auto:cdsdiskqrydbdatadg02qrydbdatadgonline shared huawei-xsg10_2 auto:cdsdiskqrydbdatadg03qrydbdatadgonline shared huawei-xsg10_3 auto:cdsdiskqrydbdatadg04qrydbdatadgonline shared huawei-xsg10_4 auto:cdsdiskqrydbdatadg05qrydbdatadgonline shared huawei-xsg10_5 auto:cdsdiskqrydbdatadg06qrydbdatadgonline shared huawei-xsg10_6 auto:cdsdiskqrydbdatadg07qrydbdatadgonline shared huawei-xsg10_7 auto:cdsdiskqrydbdatadg08qrydbdatadgonline shared huawei-xsg10_8 auto:cdsdiskqrydbdatadg09qrydbdatadgonline shared huawei-xsg10_9 auto:cdsdiskqrydbdatadg10qrydbdatadgonline shared huawei-xsg10_10 auto:cdsdiskqrydbdatadg11qrydbdatadgonline shared huawei-xsg10_11 auto:cdsdiskqrydbdatadg12qrydbdatadgonline shared huawei-xsg10_12 auto:cdsdiskqrydbdatadg13qrydbdatadgonline shared huawei-xsg10_13 auto:cdsdiskqrydbdatadg14qrydbdatadgonline shared huawei-xsg10_14 auto:cdsdiskqrydbdatadg15qrydbdatadgonline shared huawei-xsg10_15 auto:cdsdiskqrydbdatadg16qrydbdatadgonline shared huawei-xsg10_16 auto:cdsdiskqrydbdatadg17qrydbdatadgonline shared huawei-xsg10_17 auto:cdsdiskqrydbdatadg18qrydbdatadgonline shared huawei-xsg10_18 auto:cdsdiskqrydbdatadg19qrydbdatadgonline shared huawei-xsg10_19 auto:cdsdiskqrydbdatadg20qrydbdatadgonline shared huawei-xsg10_20 auto:cdsdiskqrydbdatadg21qrydbdatadgonline shared huawei-xsg10_21 auto:cdsdiskqrydbdatadg22qrydbdatadgonline shared huawei-xsg10_22 auto:cdsdiskqrydbdatadg23qrydbdatadgonline shared huawei-xsg10_23 auto:cdsdiskqrydbdatadg24qrydbdatadgonline shared huawei-xsg10_24 auto:cdsdiskqrydbdatadg25qrydbdatadgonline shared huawei-xsg10_25 auto:cdsdiskqrydbdatadg26qrydbdatadgonline shared huawei-xsg10_26 auto:cdsdiskqrydbdatadg27qrydbdatadgonline shared huawei-xsg10_27 auto:cdsdiskqrydbdatadg28qrydbdatadgonline shared huawei-xsg10_28 auto:cdsdiskqrydbdatadg29qrydbdatadgonline shared huawei-xsg10_29 auto:cdsdiskqrydbdatadg30qrydbdatadgonline shared huawei-xsg10_30 auto:cdsdiskqrydbdatadg31qrydbdatadgonline shared huawei-xsg10_31 auto:cdsdiskqrydbdatadg32qrydbdatadgonline shared huawei-xsg10_32 auto:cdsdiskqrydbdatadg33qrydbdatadgonline shared huawei-xsg10_33 auto:cdsdiskqrydbdatadg34qrydbdatadgonline shared huawei-xsg10_34 auto:cdsdiskqrydbdatadg35qrydbdatadgonline shared huawei-xsg10_35 auto:cdsdiskqrydbdatadg36qrydbdatadgonline shared huawei-xsg10_36 auto:cdsdiskqrydbdatadg37qrydbdatadgonline shared huawei-xsg10_37 auto:cdsdiskqrydbdatadg38qrydbdatadgonline shared huawei-xsg10_38 auto:cdsdiskqrydbdatadg39qrydbdatadgonline shared huawei-xsg10_39 auto:cdsdiskqrydbdatadg40qrydbdatadgonline shared huawei-xsg10_40 auto:cdsdiskqrydbhistbizdg01qrydbhistbizdg online shared huawei-xsg10_41 auto:cdsdiskqrydbhistbizdg02qrydbhistbizdg online shared huawei-xsg10_42 auto:cdsdiskqrydbhistbizdg03qrydbhistbizdg online shared huawei-xsg10_43 auto:cdsdiskqrydbhistbizdg04qrydbhistbizdg online shared huawei-xsg10_44 auto:cdsdiskqrydbhistbizdg05qrydbhistbizdg online shared huawei-xsg10_45 auto:cdsdiskqrydbhistbizdg06qrydbhistbizdg online shared huawei-xsg10_46 auto:cdsdiskqrydbhistbizdg07qrydbhistbizdg online shared huawei-xsg10_47 auto:cdsdiskqrydbhistbizdg08qrydbhistbizdg online shared huawei-xsg10_48 auto:cdsdiskqrydbhistbizdg09qrydbhistbizdg online shared huawei-xsg10_49 auto:cdsdiskqrydbhistbizdg10qrydbhistbizdg online shared huawei-xsg10_50 auto:cdsdiskqrydbhistbizdg11qrydbhistbizdg online shared huawei-xsg10_51 auto:cdsdiskqrydbhistbizdg12qrydbhistbizdg online shared huawei-xsg10_52 auto:cdsdiskqrydbhistriskdg01qrydbhistriskdg online shared huawei-xsg10_53 auto:cdsdiskqrydbhistriskdg02qrydbhistriskdg online shared huawei-xsg10_54 auto:cdsdiskqrydbhistriskdg03qrydbhistriskdg online shared huawei-xsg10_55 auto:cdsdiskqrydbhistriskdg04qrydbhistriskdg online shared huawei-xsg10_56 auto:cdsdiskqrydbhistriskdg05qrydbhistriskdg online shared huawei-xsg10_57 auto:cdsdiskqrydbhistriskdg06qrydbhistriskdg online shared huawei-xsg10_58 auto:cdsdiskqrydbhistriskdg07qrydbhistriskdg online shared huawei-xsg10_59 auto:cdsdiskqrydbhistriskdg08qrydbhistriskdg online shared huawei-xsg10_60 auto:cdsdiskqrydbhistriskdg09qrydbhistriskdg online shared huawei-xsg10_61 auto:cdsdiskqrydbhistriskdg10qrydbhistriskdg online shared huawei-xsg10_62 auto:cdsdiskqrydbhistriskdg11qrydbhistriskdg online shared huawei-xsg10_63 auto:cdsdiskqrydbhistriskdg12qrydbhistriskdg online shared huawei-xsg10_64 auto:cdsdiskqrydbdumpdg01qrydbdumpdgonline huawei-xsg10_65 auto:cdsdiskqrydbdumpdg02qrydbdumpdgonline huawei-xsg10_66 auto:cdsdiskqrydbbkdg01qrydbbkdgonline huawei-xsg10_67 auto:cdsdiskqrydbbkdg02qrydbbkdgonline huawei-xsg10_68 auto:cdsdiskqrydbbkdg03qrydbbkdgonline huawei-xsg10_69 auto:cdsdiskqrydbbkdg04qrydbbkdgonline huawei-xsg10_70 auto:cdsdiskqrydbdsgdg01qrydbdsgdgonline huawei-xsg10_71 auto:cdsdisk--online huawei-xsg10_72 auto:cdsdisk--online huawei-xsg10_73 auto:cdsdisk--online huawei-xsg10_74 auto:cdsdiskocrvotedg01ocrvotedgonline shared huawei-xsg10_75 auto:cdsdiskocrvotedg02ocrvotedgonline shared huawei-xsg10_76 auto:cdsdiskocrvotedg03ocrvotedgonline shared huawei-xsg11_0 auto:cdsdiskqrydbdatadg01_1qrydbdatadgonline shared huawei-xsg11_1 auto:cdsdiskqrydbdatadg02_1qrydbdatadgonline shared huawei-xsg11_2 auto:cdsdiskqrydbdatadg03_1qrydbdatadgonline shared huawei-xsg11_3 auto:cdsdiskqrydbdatadg04_1qrydbdatadgonline shared huawei-xsg11_4 auto:cdsdiskqrydbdatadg05_1qrydbdatadgonline shared huawei-xsg11_5 auto:cdsdiskqrydbdatadg06_1qrydbdatadgonline shared huawei-xsg11_6 auto:cdsdiskqrydbdatadg07_1qrydbdatadgonline shared huawei-xsg11_7 auto:cdsdiskqrydbdatadg08_1qrydbdatadgonline shared huawei-xsg11_8 auto:cdsdiskqrydbdatadg09_1qrydbdatadgonline shared huawei-xsg11_9 auto:cdsdiskqrydbdatadg10_1qrydbdatadgonline shared huawei-xsg11_10 auto:cdsdiskqrydbdatadg11_1qrydbdatadgonline shared huawei-xsg11_11 auto:cdsdiskqrydbdatadg12_1qrydbdatadgonline shared huawei-xsg11_12 auto:cdsdiskqrydbdatadg13_1qrydbdatadgonline shared huawei-xsg11_13 auto:cdsdiskqrydbdatadg14_1qrydbdatadgonline shared huawei-xsg11_14 auto:cdsdiskqrydbdatadg15_1qrydbdatadgonline shared huawei-xsg11_15 auto:cdsdiskqrydbdatadg16_1qrydbdatadgonline shared huawei-xsg11_16 auto:cdsdiskqrydbdatadg17_1qrydbdatadgonline shared huawei-xsg11_17 auto:cdsdiskqrydbdatadg18_1qrydbdatadgonline shared huawei-xsg11_18 auto:cdsdiskqrydbdatadg19_1qrydbdatadgonline shared huawei-xsg11_19 auto:cdsdiskqrydbdatadg20_1qrydbdatadgonline shared huawei-xsg11_20 auto:cdsdiskqrydbdatadg21_1qrydbdatadgonline shared huawei-xsg11_21 auto:cdsdiskqrydbdatadg22_1qrydbdatadgonline shared huawei-xsg11_22 auto:cdsdiskqrydbdatadg23_1qrydbdatadgonline shared huawei-xsg11_23 auto:cdsdiskqrydbdatadg24_1qrydbdatadgonline shared huawei-xsg11_24 auto:cdsdiskqrydbdatadg25_1qrydbdatadgonline shared huawei-xsg11_25 auto:cdsdiskqrydbdatadg26_1qrydbdatadgonline shared huawei-xsg11_26 auto:cdsdiskqrydbdatadg27_1qrydbdatadgonline shared huawei-xsg11_27 auto:cdsdiskqrydbdatadg28_1qrydbdatadgonline shared huawei-xsg11_28 auto:cdsdiskqrydbdatadg29_1qrydbdatadgonline shared huawei-xsg11_29 auto:cdsdiskqrydbdatadg30_1qrydbdatadgonline shared huawei-xsg11_30 auto:cdsdiskqrydbdatadg31_1qrydbdatadgonline shared huawei-xsg11_31 auto:cdsdiskqrydbdatadg32_1qrydbdatadgonline shared huawei-xsg11_32 auto:cdsdiskqrydbdatadg33_1qrydbdatadgonline shared huawei-xsg11_33 auto:cdsdiskqrydbdatadg34_1qrydbdatadgonline shared huawei-xsg11_34 auto:cdsdiskqrydbdatadg35_1qrydbdatadgonline shared huawei-xsg11_35 auto:cdsdiskqrydbdatadg36_1qrydbdatadgonline shared huawei-xsg11_36 auto:cdsdiskqrydbdatadg37_1qrydbdatadgonline shared huawei-xsg11_37 auto:cdsdiskqrydbdatadg38_1qrydbdatadgonline shared huawei-xsg11_38 auto:cdsdiskqrydbdatadg39_1qrydbdatadgonline shared huawei-xsg11_39 auto:cdsdiskqrydbdatadg40_1qrydbdatadgonline shared huawei-xsg11_40 auto:cdsdiskqrydbhistbizdg01_1qrydbhistbizdg online shared huawei-xsg11_41 auto:cdsdiskqrydbhistbizdg02_1qrydbhistbizdg online shared huawei-xsg11_42 auto:cdsdiskqrydbhistbizdg03_1qrydbhistbizdg online shared huawei-xsg11_43 auto:cdsdiskqrydbhistbizdg04_1qrydbhistbizdg online shared huawei-xsg11_44 auto:cdsdiskqrydbhistbizdg05_1qrydbhistbizdg online shared huawei-xsg11_45 auto:cdsdiskqrydbhistbizdg06_1qrydbhistbizdg online shared huawei-xsg11_46 auto:cdsdiskqrydbhistbizdg07_1qrydbhistbizdg online shared huawei-xsg11_47 auto:cdsdiskqrydbhistbizdg08_1qrydbhistbizdg online shared huawei-xsg11_48 auto:cdsdiskqrydbhistbizdg09_1qrydbhistbizdg online shared huawei-xsg11_49 auto:cdsdiskqrydbhistbizdg10_1qrydbhistbizdg online shared huawei-xsg11_50 auto:cdsdiskqrydbhistbizdg11_1qrydbhistbizdg online shared huawei-xsg11_51 auto:cdsdiskqrydbhistbizdg12_1qrydbhistbizdg online shared huawei-xsg11_52 auto:cdsdiskqrydbhistriskdg01_1qrydbhistriskdg online shared huawei-xsg11_53 auto:cdsdiskqrydbhistriskdg02_1qrydbhistriskdg online shared huawei-xsg11_54 auto:cdsdiskqrydbhistriskdg03_1qrydbhistriskdg online shared huawei-xsg11_55 auto:cdsdiskqrydbhistriskdg04_1qrydbhistriskdg online shared huawei-xsg11_56 auto:cdsdiskqrydbhistriskdg05_1qrydbhistriskdg online shared huawei-xsg11_57 auto:cdsdiskqrydbhistriskdg06_1qrydbhistriskdg online shared huawei-xsg11_58 auto:cdsdiskqrydbhistriskdg07_1qrydbhistriskdg online shared huawei-xsg11_59 auto:cdsdiskqrydbhistriskdg08_1qrydbhistriskdg online shared huawei-xsg11_60 auto:cdsdiskqrydbhistriskdg09_1qrydbhistriskdg online shared huawei-xsg11_61 auto:cdsdiskqrydbhistriskdg10_1qrydbhistriskdg online shared huawei-xsg11_62 auto:cdsdiskqrydbhistriskdg11_1qrydbhistriskdg online shared huawei-xsg11_63 auto:cdsdiskqrydbhistriskdg12_1qrydbhistriskdg online shared huawei-xsg11_64 auto:cdsdiskocrvotedg01_1ocrvotedgonline shared huawei-xsg11_65 auto:cdsdiskocrvotedg02_1ocrvotedgonline shared huawei-xsg11_66 auto:cdsdiskocrvotedg03_1ocrvotedgonline shared# 创建卷 # ocrvotedg vxassist -g ocrvotedg make ocrvotevol01 19456000 layout=mirror ocrvotedg01 ocrvotedg01_1 vxassist -g ocrvotedg make ocrvotevol02 19456000 ocrvotedg02 vxassist -g ocrvotedg make ocrvotevol03 19456000 ocrvotedg02_1 vxsnap -g ocrvotedg prepare ocrvotevol01 alloc=ocrvotedg01,ocrvotedg01_1# qrydbbkdg vxassist -g qrydbbkdg make qrydbbkvol 1998G layout=stripe ncol=2 stripeunit=256# qrydbdumpdg vxassist -g qrydbdumpdg make qrydbdumpvol 998G layout=stripe ncol=2 stripeunit=256# qrydbdsgdg vxassist -g qrydbdsgdg make qrydbdsgvol 1048469696# qrydbdatadg qrydb1@NH/root#vxassist -g qrydbdatadg maxsize layout=mirror-stripe ncol=4 stripeunit=256 mirror=enclr Maximum volume size: 16773924864 (8190393Mb)vxassist -g qrydbdatadg make qrydbdatavol 7800G layout=mirror-stripe ncol=4 stripeunit=256 mirror=enclr vxsnap -g qrydbdatadg prepare qrydbdatavol alloc=qrydbdatadg40,qrydbdatadg40_1 vxvol -g qrydbdatadg rdpol round qrydbdatavol vxvol -g qrydbdatadg rdpol round qrydbdatavol_dcl# qrydbhistbizdg qrydb1@NH/root#vxassist -g qrydbhistbizdg maxsize layout=mirror-stripe ncol=4 stripeunit=256 mirror=enclr Maximum volume size: 16773924864 (8190393Mb)vxassist -g qrydbhistbizdg make qrydbhistbizvol 5800G layout=mirror-stripe ncol=4 stripeunit=256 mirror=enclr vxsnap -g qrydbhistbizdg prepare qrydbhistbizvol alloc=qrydbhistbizdg12,qrydbhistbizdg12_1 vxvol -g qrydbhistbizdg rdpol round qrydbhistbizvol vxvol -g qrydbhistbizdg rdpol round qrydbhistbizvol_dcl# qrydbhistriskdg qrydb1@NH/root#vxassist -g qrydbhistriskdg maxsize layout=mirror-stripe ncol=4 stripeunit=256 mirror=enclr Maximum volume size: 16773924864 (8190393Mb)vxassist -g qrydbhistriskdg make qrydbhistriskvol 5800G layout=mirror-stripe ncol=4 stripeunit=256 mirror=enclr vxsnap -g qrydbhistriskdg prepare qrydbhistriskvol alloc=qrydbhistriskdg12,qrydbhistriskdg12_1 vxvol -g qrydbhistriskdg rdpol round qrydbhistriskvol vxvol -g qrydbhistriskdg rdpol round qrydbhistriskvol_dcl# 创建文件系统# ocrvotedg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/ocrvotedg/ocrvotevol01 mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/ocrvotedg/ocrvotevol02 mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/ocrvotedg/ocrvotevol03# qrydbbkdg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/qrydbbkdg/qrydbbkvol # qrydbdumpdg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/qrydbdumpdg/qrydbdumpvol # qrydbdsgdg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/qrydbdsgdg/qrydbdsgvol # qrydbdatadg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/qrydbdatadg/qrydbdatavol # qrydbhistbizdg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/qrydbhistbizdg/qrydbhistbizvol # qrydbhistriskdg mkfs -t vxfs -o bsize=8192,largefiles /dev/vx/rdsk/qrydbhistriskdg/qrydbhistriskvol # 创建挂载点(两个节点操作) mkdir -p /cffex/ora_crs1 mkdir -p /cffex/ora_crs2 mkdir -p /cffex/ora_crs3 mkdir -p /cffex/ora_data mkdir /dsg mkdir /rmanbk mkdir -p /cffex/dump mkdir -p /cffex/ora_data/histbiz mkdir -p /cffex/ora_data/histrisk

配置main.cf
# 在hastop -all的情况下,对集群所有节点的/etc/VRTSvcs/conf/config/main.cf进行修改,添加修改类似如下配置 hastop -all #vim /etc/VRTSvcs/conf/config/main.cf# 通过图形化界面配置 yum install -y libXext.i686 libXrender.i686 libXtst.i686 export DISPLAY=172.25.243.202:0.0 cd /opt/VRTSvcs/bin ./hagui172.25.242.125 admin/password# 修改2处配置 MountPoint:/dev/vx/dsk/ MountOps:convosync=direct,mincache=direct,cluster

    推荐阅读