2023年12月23日发(作者:)

山西电信CFSHA安装配置报告

Oct, 2008

Symantec Consulting Services

.

Symantec Consulting Service, Great China Region

文件信息

版本

Subject

Version

Author

Comments

Symantec 大中国区顾问服务

胡华波

关于作者

该文件可以与下列作者取得联系

胡华波

Consultant

Symantec Consulting Service, Greater China Region

*********************

修改历史

日期 作者 版本 修改内容

2

Symantec Consulting Service, Great China Region

目录

1

安装CFSHA4.1 for Linux ................................................................... 4

1.1

1.2

1.3

1.4

1.5

1.6

环境准备 .................................................................................................................... 4

修改安装脚本 ............................................................................................................. 4

安装软件 .................................................................................................................... 5

安装MP4补丁 ......................................................................................................... 17

安装RP2补丁 .......................................................................................................... 25

配置软件 .................................................................................................................. 26

2

配置信息 .......................................................................................... 35

2.1

/etc/llttab .................................................................................................................. 35

2.2

/etc/VRTSvcs/conf/config/ ............................................................................. 35

2.3

图形方式配置DG,Volume,FileSystem ................................................................... 38

2.4

命令方式配置DG,Volume,FileSystem ................................................................... 45

3

Symantec Consulting Service, Great China Region

1 安装CFSHA4.1 for Linux

安装软件版本为VCS for RedHat Linux

1.1 环境准备

配置ssh

于每台主机上建立ssh public key

[root@SX-MMS-SA-1 rhel4_i686]# ssh-keygen -t rsa

Generating public/private rsa key pair.

Enter file in which to save the key (/root/.ssh/id_rsa):

Enter passphrase (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in /root/.ssh/id_rsa.

Your public key has been saved in /root/.ssh/id_.

The key fingerprint is:

1e:ce:2e:19:73:10:f6:2c:d7:09:4a:b8:02:3f:45:b0 root@SX-MMS-SA-

为了scp所有主机同时安装软件,需要主机间scp不用输密码,copy SX-MMS-SA-1上ssh public

key至另一主机上

[********************]#scpid_-MMS-SA-2:/root/.ssh/authorized_keysroot@sx-mms-sa-2's password:

id_ 100% 226 0.2KB/s 00:00

1.2 修改安装脚本

进入安装路径

[root@SX-MMS-SA-1 install]# pwd

/sf/rhel4_i686/storage_foundation_cluster_file_system/scripts/install

[root@SX-MMS-SA-1 install]# ls

messages rex vxgettext

[root@SX-MMS-SA-1 install]# vi

将脚本内“4AS”修改为“4ES”

$CMD{STOP}{vxsvc}="/opt/VRTS/bin/vxsvcctrl stop";

$COMM{LINUX}{SUPPARCHES} = [ qw( i586 i686 ia64 x86_64 ) ];

$COMM{LINUX}{SUPPRHRELS} = [ qw( 4AS ) ];

$COMM{LINUX}{SUPPSUSERELS} = [ qw( 9 ) ];

修改后为

4

Symantec Consulting Service, Great China Region

$CMD{STOP}{vxsvc}="/opt/VRTS/bin/vxsvcctrl stop";

$COMM{LINUX}{SUPPARCHES} = [ qw( i586 i686 ia64 x86_64 ) ];

$COMM{LINUX}{SUPPRHRELS} = [ qw( 4ES ) ];

$COMM{LINUX}{SUPPSUSERELS} = [ qw( 9 ) ];

1.3 安装软件

[root@SX-MMS-SA-1 storage_foundation_cluster_file_system]# ./installsfcfs -installonly

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

Copyright (c) 2005 VERITAS Software Corporation. All rights reserved.

VERITAS, the VERITAS Logo and all other VERITAS product names and slogans are trademarks

or

registered trademarks of VERITAS Software Corporation. VERITAS and the VERITAS Logo Reg.

U.S. Pat. & Tm. Off. Other product names and/or slogans mentioned herein may be trademarks

or registered trademarks of their respective companies.

Enter the system names separated by spaces on which to install SFCFS: SX-MMS-SA-2 SX-MMS-SA-1

Checking system communication:

installsfcfs requires that ssh commands used between systems execute without prompting for

passwords or confirmations. If installsfcfs asks for a login password, stop installsfcfs

and run it again with the ssh configured for passwordless logins, or configure rsh and use

the -usersh option.

Verifying communication with SX-MMS-SA-2 .............................. ping successful

Attempting ssh -x with SX-MMS-SA-2 .................................. ssh -x successful

Attempting scp with SX-MMS-SA-2 ........................................ scp successful

Checking OS version on SX-MMS-SA-2 ............................... Linux

Checking VRTScavf rpm ................................................... not installed

Checking Machine Type on SX-MMS-SA-2 ............................................. i686

Checking Linux Distribution on SX-MMS-SA-2 ................................. Redhat 4ES

Creating log directory on SX-MMS-SA-2 ............................................ Done

Checking OS version on SX-MMS-SA-1 ............................... Linux

Checking VRTScavf rpm ................................................... not installed

Checking Machine Type on SX-MMS-SA-1 ............................................. i686

5

Symantec Consulting Service, Great China Region

Checking Linux Distribution on SX-MMS-SA-1 ................................. Redhat 4ES

Logs for installsfcfs are being created in /var/tmp/installsfcfs1022150043.

Using /usr/bin/ssh -x and /usr/bin/scp to communicate with remote systems.

Initial system check completed successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

VERITAS Infrastructure rpm installation:

Installing VERITAS Infrastructure rpms on SX-MMS-SA-2:

Checking VRTSvlic rpm ................................................... not installed

Checking VRTScpi rpm .................................................... not installed

Checking file system space ................................ required space is available

Copying VRTSvlic rpm to SX-MMS-SA-2 .............................................. Done

Installing VRTSvlic 3.02 on SX-MMS-SA-2 .......................................... Done

Copying VRTScpi rpm to SX-MMS-SA-2 ............................................... Done

Installing VRTScpi 4.1.0.151 on SX-MMS-SA-2 ...................................... Done

Installing VERITAS Infrastructure rpms on SX-MMS-SA-1:

Checking VRTSvlic rpm ................................................... not installed

Checking VRTScpi rpm .................................................... not installed

Checking file system space ................................ required space is available

Installing VRTSvlic 3.02 on SX-MMS-SA-1 .......................................... Done

Installing VRTScpi 4.1.0.151 on SX-MMS-SA-1 ...................................... Done

VERITAS Infrastructure rpms installed successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

6

Symantec Consulting Service, Great China Region

Each system requires a SFCFS product license before installation. License keys for

additional product features should also be added at this time.

Some license keys are node locked and are unique per system. Other license keys, such as

demo keys and site license keys, are registered on all systems and must be entered on the

first system.

SFCFS Licensing Verification:

Checking SFCFS license key on SX-MMS-SA-2 ................................ not licensed

Enter a SFCFS license key for SX-MMS-SA-2: [?] IZPG-I3R3-I6ON-37MG-KX7L-G943-P

Registering VERITAS Storage Foundation for Cluster File System DEMO key on SX-MMS-SA-2

Do you want to enter another license key for SX-MMS-SA-2? [y,n,q,?] (n)

Registering IZPG-I3R3-I6ON-37MG-KX7L-G943-P on SX-MMS-SA-1

Checking SFCFS license key on SX-MMS-SA-1 ... Storage Foundation Cluster File System HA

Demo

Do you want to enter another license key for SX-MMS-SA-1? [y,n,q,?] (n)

SFCFS licensing completed successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

installsfcfs can install the following optional SFCFS rpms:

VRTSobgui VERITAS Enterprise Administrator

VRTSvcsmn VERITAS Cluster Server Man Pages

VRTSvcsApache VERITAS Cluster Server Apache Agent

VRTSvcsdc VERITAS Cluster Server Documentation

VRTScscm VERITAS Cluster Server Cluster Manager

VRTScssim VERITAS Cluster Server Simulator

VRTSvmdoc VERITAS Volume Manager Documentation

VRTSvmman VERITAS Volume Manager Manual Pages

VRTSlvmconv VERITAS Linux LVM to VxVM Converter

VRTSap VERITAS Action Provider

7

Symantec Consulting Service, Great China Region

VRTStep VERITAS Task Provider

VRTSfsdoc VERITAS File System Documentation

VRTSfsmnd VERITAS File System Software Developer Kit Manual Pages

1) Install all of the optional rpms

2) Install none of the optional rpms

3) View rpm descriptions and select optional rpms

Select the optional rpms to be installed on all systems? [1-3,q,?] (1)

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

installsfcfs will install the following SFCFS rpms:

VRTSperl VERITAS Perl 5.8.0 Redistribution

VRTSob VERITAS Enterprise Administrator Service

VRTSobgui VERITAS Enterprise Administrator

VRTSllt VERITAS Low Latency Transport

VRTSgab VERITAS Group Membership and Atomic Broadcast

VRTSvxfen VERITAS I/O Fencing

VRTSvcs VERITAS Cluster Server

VRTSvcsmg VERITAS Cluster Server Message Catalogs

VRTSvcsag VERITAS Cluster Server Bundled Agents

VRTSvcsdr VERITAS Cluster Server Disk Reservation Modules and Utilities

VRTSvcsmn VERITAS Cluster Server Man Pages

VRTSvcsApache VERITAS Cluster Server Apache Agent

VRTSvcsdc VERITAS Cluster Server Documentation

VRTSjre VERITAS Java Runtime Environment Redistribution

VRTScscm VERITAS Cluster Server Cluster Manager

VRTScssim VERITAS Cluster Server Simulator

VRTScscw VERITAS Cluster Server Configuration Wizards

VRTSweb VERITAS Java Web Server

VRTSvcsw VERITAS Cluster Manager (Web Console)

Press [Enter] to continue:

...continued:

VRTScutil VERITAS Cluster Utilities

VRTSvxvmcommon VERITAS Volume Manager Common Package.

VRTSvxvmplatform VERITAS Volume Manager Platform Specific Package.

8

Symantec Consulting Service, Great China Region

VRTSvmdoc VERITAS Volume Manager Documentation

VRTSvmman VERITAS Volume Manager Manual Pages

VRTSvmpro VERITAS Volume Manager Management Services Provider

VRTSfspro VERITAS File System Management Services Provider

VRTSalloc VERITAS Volume Manager Intelligent Storage Provisioning

VRTSddlpr VERITAS Device Discovery Layer Services Provider

VRTSlvmconv VERITAS Linux LVM to VxVM Converter

VRTSvxfscommon VERITAS File System Common Package.

VRTSvxfsplatform VERITAS File System Platform Specific Package.

VRTSap VERITAS Action Provider

VRTStep VERITAS Task Provider

VRTSfsman VERITAS File System Manual Pages

VRTSfsdoc VERITAS File System Documentation

VRTSfssdk VERITAS File System Software Developer Kit

VRTSfsmnd VERITAS File System Software Developer Kit Manual Pages

VRTScavf VERITAS Cluster Server Agents for Cluster File System

VRTSglm VERITAS Group Lock Manager

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

Checking system installation requirements:

Checking SFCFS installation requirements on SX-MMS-SA-2:

Checking VRTSperl rpm ................................................... not installed

Checking VRTSob rpm ..................................................... not installed

Checking VRTSobgui rpm .................................................. not installed

Checking VRTSllt rpm .................................................... not installed

Checking VRTSgab rpm .................................................... not installed

Checking VRTSvxfen rpm .................................................. not installed

Checking VRTSvcs rpm .................................................... not installed

Checking VRTSvcsmg rpm .................................................. not installed

Checking VRTSvcsag rpm .................................................. not installed

Checking VRTSvcsdr rpm .................................................. not installed

Checking VRTSvcsmn rpm .................................................. not installed

Checking VRTSvcsApache rpm .............................................. not installed

9

Symantec Consulting Service, Great China Region

Checking VRTSvcsdc rpm .................................................. not installed

Checking VRTSjre rpm .................................................... not installed

Checking VRTScscm rpm ................................................... not installed

Checking VRTScssim rpm .................................................. not installed

Checking VRTScscw rpm ................................................... not installed

Checking VRTSweb rpm .................................................... not installed

Checking VRTSvcsw rpm ................................................... not installed

Checking VRTScutil rpm .................................................. not installed

Checking VRTSvxvmcommon rpm ............................................. not installed

Checking VRTSvxvmplatform rpm ........................................... not installed

Checking VRTSvmdoc rpm .................................................. not installed

Checking VRTSvmman rpm .................................................. not installed

Checking VRTSvmpro rpm .................................................. not installed

Checking VRTSfspro rpm .................................................. not installed

Checking VRTSalloc rpm .................................................. not installed

Checking VRTSddlpr rpm .................................................. not installed

Checking VRTSlvmconv rpm ................................................ not installed

Checking VRTSvxfscommon rpm ............................................. not installed

Checking VRTSvxfsplatform rpm ........................................... not installed

Checking VRTSap rpm ..................................................... not installed

Checking VRTStep rpm .................................................... not installed

Checking VRTSfsman rpm .................................................. not installed

Checking VRTSfsdoc rpm .................................................. not installed

Checking VRTSfssdk rpm .................................................. not installed

Checking VRTSfsmnd rpm .................................................. not installed

Checking VRTScavf rpm ................................................... not installed

Checking VRTSglm rpm .................................................... not installed

Checking file system space ................................ required space is available

Checking for patch(1) rpm ..................................... version 2.5.4 installed

Checking vxsvc process .................................................... not running

Checking had process ...................................................... not running

Checking hashadow process ................................................. not running

Checking CmdServer process ................................................ not running

Checking notifier process ................................................. not running

Checking vxfen driver ..................................................... not running

Checking gab driver ....................................................... not running

Checking llt driver ....................................................... not running

Checking SFCFS installation requirements on SX-MMS-SA-1:

10

Symantec Consulting Service, Great China Region

Checking VRTSperl rpm ................................................... not installed

Checking VRTSob rpm ..................................................... not installed

Checking VRTSobgui rpm .................................................. not installed

Checking VRTSllt rpm .................................................... not installed

Checking VRTSgab rpm .................................................... not installed

Checking VRTSvxfen rpm .................................................. not installed

Checking VRTSvcs rpm .................................................... not installed

Checking VRTSvcsmg rpm .................................................. not installed

Checking VRTSvcsag rpm .................................................. not installed

Checking VRTSvcsdr rpm .................................................. not installed

Checking VRTSvcsmn rpm .................................................. not installed

Checking VRTSvcsApache rpm .............................................. not installed

Checking VRTSvcsdc rpm .................................................. not installed

Checking VRTSjre rpm .................................................... not installed

Checking VRTScscm rpm ................................................... not installed

Checking VRTScssim rpm .................................................. not installed

Checking VRTScscw rpm ................................................... not installed

Checking VRTSweb rpm .................................................... not installed

Checking VRTSvcsw rpm ................................................... not installed

Checking VRTScutil rpm .................................................. not installed

Checking VRTSvxvmcommon rpm ............................................. not installed

Checking VRTSvxvmplatform rpm ........................................... not installed

Checking VRTSvmdoc rpm .................................................. not installed

Checking VRTSvmman rpm .................................................. not installed

Checking VRTSvmpro rpm .................................................. not installed

Checking VRTSfspro rpm .................................................. not installed

Checking VRTSalloc rpm .................................................. not installed

Checking VRTSddlpr rpm .................................................. not installed

Checking VRTSlvmconv rpm ................................................ not installed

Checking VRTSvxfscommon rpm ............................................. not installed

Checking VRTSvxfsplatform rpm ........................................... not installed

Checking VRTSap rpm ..................................................... not installed

Checking VRTStep rpm .................................................... not installed

Checking VRTSfsman rpm .................................................. not installed

Checking VRTSfsdoc rpm .................................................. not installed

Checking VRTSfssdk rpm .................................................. not installed

Checking VRTSfsmnd rpm .................................................. not installed

Checking VRTScavf rpm ................................................... not installed

11

Symantec Consulting Service, Great China Region

Checking VRTSglm rpm .................................................... not installed

Checking file system space ................................ required space is available

Checking for patch(1) rpm ..................................... version 2.5.4 installed

Checking vxsvc process .................................................... not running

Checking had process ...................................................... not running

Checking hashadow process ................................................. not running

Checking CmdServer process ................................................ not running

Checking notifier process ................................................. not running

Checking vxfen driver ..................................................... not running

Checking gab driver ....................................................... not running

Checking llt driver ....................................................... not running

Installation requirement checks completed successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

I/O Fencing

I/O Fencing requires manual configuration after SFCFS Installation.

If not properly configured, I/O Fencing will become disabled.

It needs to be determined at this time if you plan to configure

I/O Fencing in order to properly set the expected Fencing mode.

See the Storage Foundation Cluster File System Installation

and Administration Guide for more information on I/O Fencing.

Will you be configuring I/O Fencing? [y,n,q,?] (y) n

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

SFCFS can be installed on systems consecutively or simultaneously. Installing on systems

consecutively takes more time but allows for better error handling.

Would you like to install Storage Foundation Cluster File System HA on all systems

simultaneously? [y,n,q,?] (y)

Installing Storage Foundation Cluster File System HA 4.1 on all systems simultaneously:

12

Symantec Consulting Service, Great China Region

Copying VRTSperl rpm to SX-MMS-SA-2 ............................... Done 1 of 117 steps

Installing VRTSperl 4.1.0.0 on SX-MMS-SA-1 ........................ Done 2 of 117 steps

Installing VRTSperl 4.1.0.0 on SX-MMS-SA-2 ........................ Done 3 of 117 steps

Copying VRTSob rpm to SX-MMS-SA-2 ................................. Done 4 of 117 steps

Installing VRTSob 3.2.540 on SX-MMS-SA-1 .......................... Done 5 of 117 steps

Installing VRTSob 3.2.540 on SX-MMS-SA-2 .......................... Done 6 of 117 steps

Installing VRTSobgui 3.2.540 on SX-MMS-SA-1 ....................... Done 7 of 117 steps

Installing VRTSllt 4.1.00.10 on SX-MMS-SA-1 ....................... Done 8 of 117 steps

Copying VRTSobgui rpm to SX-MMS-SA-2 .............................. Done 9 of 117 steps

Installing VRTSgab 4.1.00.10 on SX-MMS-SA-1 ...................... Done 10 of 117 steps

Installing VRTSvxfen 4.1.00.10 on SX-MMS-SA-1 .................... Done 11 of 117 steps

Installing VRTSobgui 3.2.540 on SX-MMS-SA-2 ...................... Done 12 of 117 steps

Copying VRTSllt rpm to SX-MMS-SA-2 ............................... Done 13 of 117 steps

Installing VRTSllt 4.1.00.10 on SX-MMS-SA-2 ...................... Done 14 of 117 steps

Copying VRTSgab rpm to SX-MMS-SA-2 ............................... Done 15 of 117 steps

Installing VRTSvcs 4.1.00.10 on SX-MMS-SA-1 ...................... Done 16 of 117 steps

Installing VRTSvcsmg 4.1.00.10 on SX-MMS-SA-1 .................... Done 17 of 117 steps

Installing VRTSvcsag 4.1.00.10 on SX-MMS-SA-1 .................... Done 18 of 117 steps

Installing VRTSgab 4.1.00.10 on SX-MMS-SA-2 ...................... Done 19 of 117 steps

Copying VRTSvxfen rpm to SX-MMS-SA-2 ............................. Done 20 of 117 steps

Installing VRTSvcsdr 4.1.00.10 on SX-MMS-SA-1 .................... Done 21 of 117 steps

Installing VRTSvcsmn 4.1.00.10 on SX-MMS-SA-1 .................... Done 22 of 117 steps

Installing VRTSvxfen 4.1.00.10 on SX-MMS-SA-2 .................... Done 23 of 117 steps

Installing VRTSvcsApache 4.1.00.10 on SX-MMS-SA-1 ................ Done 24 of 117 steps

Installing VRTSvcsdc 4.1.00.10 on SX-MMS-SA-1 .................... Done 25 of 117 steps

Copying VRTSvcs rpm to SX-MMS-SA-2 ............................... Done 26 of 117 steps

Installing VRTSjre 1.4 on SX-MMS-SA-1 ............................ Done 27 of 117 steps

Installing VRTScscm 4.4.00.10 on SX-MMS-SA-1 ..................... Done 28 of 117 steps

Installing VRTSvcs 4.1.00.10 on SX-MMS-SA-2 ...................... Done 29 of 117 steps

Copying VRTSvcsmg rpm to SX-MMS-SA-2 ............................. Done 30 of 117 steps

Installing VRTScssim 4.1.00.10 on SX-MMS-SA-1 .................... Done 31 of 117 steps

Installing VRTSvcsmg 4.1.00.10 on SX-MMS-SA-2 .................... Done 32 of 117 steps

Installing VRTScscw 4.1.00.10 on SX-MMS-SA-1 ..................... Done 33 of 117 steps

Copying VRTSvcsag rpm to SX-MMS-SA-2 ............................. Done 34 of 117 steps

Installing VRTSweb 4.2 on SX-MMS-SA-1 ............................ Done 35 of 117 steps

Installing VRTSvcsag 4.1.00.10 on SX-MMS-SA-2 .................... Done 36 of 117 steps

Copying VRTSvcsdr rpm to SX-MMS-SA-2 ............................. Done 37 of 117 steps

Installing VRTSvcsw 4.4.00.10 on SX-MMS-SA-1 ..................... Done 38 of 117 steps

13

Symantec Consulting Service, Great China Region

Installing VRTSvcsdr 4.1.00.10 on SX-MMS-SA-2 .................... Done 39 of 117 steps

Copying VRTSvcsmn rpm to SX-MMS-SA-2 ............................. Done 40 of 117 steps

Installing VRTScutil 4.1.00.10 on SX-MMS-SA-1 .................... Done 41 of 117 steps

Installing VRTSvcsmn 4.1.00.10 on SX-MMS-SA-2 .................... Done 42 of 117 steps

Copying VRTSvcsApache rpm to SX-MMS-SA-2 ......................... Done 43 of 117 steps

Installing VRTSvcsApache 4.1.00.10 on SX-MMS-SA-2 ................ Done 44 of 117 steps

Installing VRTSvxvmcommon 4.1.00.10 on SX-MMS-SA-1 ............... Done 45 of 117 steps

Copying VRTSvcsdc rpm to SX-MMS-SA-2 ............................. Done 46 of 117 steps

Installing VRTSvcsdc 4.1.00.10 on SX-MMS-SA-2 .................... Done 47 of 117 steps

Copying VRTSjre rpm to SX-MMS-SA-2 ............................... Done 48 of 117 steps

Installing VRTSjre 1.4 on SX-MMS-SA-2 ............................ Done 49 of 117 steps

Installing VRTSvxvmplatform 4.1.00.10 on SX-MMS-SA-1 ............. Done 50 of 117 steps

Copying VRTScscm rpm to SX-MMS-SA-2 .............................. Done 51 of 117 steps

Installing VRTSvmdoc 4.1.00.10 on SX-MMS-SA-1 .................... Done 52 of 117 steps

Installing VRTScscm 4.4.00.10 on SX-MMS-SA-2 ..................... Done 53 of 117 steps

Installing VRTSvmman 4.1.00.10 on SX-MMS-SA-1 .................... Done 54 of 117 steps

Copying VRTScssim rpm to SX-MMS-SA-2 ............................. Done 55 of 117 steps

Installing VRTSvmpro 4.1.00.10 on SX-MMS-SA-1 .................... Done 56 of 117 steps

Installing VRTSfspro 4.1.00.10 on SX-MMS-SA-1 .................... Done 57 of 117 steps

Installing VRTScssim 4.1.00.10 on SX-MMS-SA-2 .................... Done 58 of 117 steps

Copying VRTScscw rpm to SX-MMS-SA-2 .............................. Done 59 of 117 steps

Installing VRTSalloc 4.1.00.10 on SX-MMS-SA-1 .................... Done 60 of 117 steps

Installing VRTScscw 4.1.00.10 on SX-MMS-SA-2 ..................... Done 61 of 117 steps

Installing VRTSddlpr 4.1.00.10 on SX-MMS-SA-1 .................... Done 62 of 117 steps

Copying VRTSweb rpm to SX-MMS-SA-2 ............................... Done 63 of 117 steps

Installing VRTSlvmconv 4.1.00.10 on SX-MMS-SA-1 .................. Done 64 of 117 steps

Installing VRTSvxfscommon 4.1.00.10 on SX-MMS-SA-1 ............... Done 65 of 117 steps

Installing VRTSweb 4.2 on SX-MMS-SA-2 ............................ Done 66 of 117 steps

Copying VRTSvcsw rpm to SX-MMS-SA-2 .............................. Done 67 of 117 steps

Installing VRTSvcsw 4.4.00.10 on SX-MMS-SA-2 ..................... Done 68 of 117 steps

Copying VRTScutil rpm to SX-MMS-SA-2 ............................. Done 69 of 117 steps

Installing VRTScutil 4.1.00.10 on SX-MMS-SA-2 .................... Done 70 of 117 steps

Installing VRTSvxfsplatform 4.1.00.10 on SX-MMS-SA-1 ............. Done 71 of 117 steps

Copying VRTSvxvmcommon rpm to SX-MMS-SA-2 ........................ Done 72 of 117 steps

Installing VRTSap 2.00 on SX-MMS-SA-1 ............................ Done 73 of 117 steps

Installing VRTStep 1.20 on SX-MMS-SA-1 ........................... Done 74 of 117 steps

Installing VRTSfsman 4.1.00.10 on SX-MMS-SA-1 .................... Done 75 of 117 steps

Installing VRTSfsdoc 4.1.00.10 on SX-MMS-SA-1 .................... Done 76 of 117 steps

Installing VRTSvxvmcommon 4.1.00.10 on SX-MMS-SA-2 ............... Done 77 of 117 steps

14

Symantec Consulting Service, Great China Region

Installing VRTSfssdk 4.1.00.10 on SX-MMS-SA-1 .................... Done 78 of 117 steps

Installing VRTSfsmnd 4.1.00.10 on SX-MMS-SA-1 .................... Done 79 of 117 steps

Copying VRTSvxvmplatform rpm to SX-MMS-SA-2 ...................... Done 80 of 117 steps

Installing VRTScavf 4.1.00.10 on SX-MMS-SA-1 ..................... Done 81 of 117 steps

Installing VRTSglm 4.1.00.10 on SX-MMS-SA-1 ...................... Done 82 of 117 steps

Installing VRTSvxvmplatform 4.1.00.10 on SX-MMS-SA-2 ............. Done 83 of 117 steps

Copying VRTSvmdoc rpm to SX-MMS-SA-2 ............................. Done 84 of 117 steps

Installing VRTSvmdoc 4.1.00.10 on SX-MMS-SA-2 .................... Done 85 of 117 steps

Copying VRTSvmman rpm to SX-MMS-SA-2 ............................. Done 86 of 117 steps

Installing VRTSvmman 4.1.00.10 on SX-MMS-SA-2 .................... Done 87 of 117 steps

Copying VRTSvmpro rpm to SX-MMS-SA-2 ............................. Done 88 of 117 steps

Installing VRTSvmpro 4.1.00.10 on SX-MMS-SA-2 .................... Done 89 of 117 steps

Copying VRTSfspro rpm to SX-MMS-SA-2 ............................. Done 90 of 117 steps

Installing VRTSfspro 4.1.00.10 on SX-MMS-SA-2 .................... Done 91 of 117 steps

Copying VRTSalloc rpm to SX-MMS-SA-2 ............................. Done 92 of 117 steps

Installing VRTSalloc 4.1.00.10 on SX-MMS-SA-2 .................... Done 93 of 117 steps

Copying VRTSddlpr rpm to SX-MMS-SA-2 ............................. Done 94 of 117 steps

Installing VRTSddlpr 4.1.00.10 on SX-MMS-SA-2 .................... Done 95 of 117 steps

Copying VRTSlvmconv rpm to SX-MMS-SA-2 ........................... Done 96 of 117 steps

Installing VRTSlvmconv 4.1.00.10 on SX-MMS-SA-2 .................. Done 97 of 117 steps

Copying VRTSvxfscommon rpm to SX-MMS-SA-2 ........................ Done 98 of 117 steps

Installing VRTSvxfscommon 4.1.00.10 on SX-MMS-SA-2 ............... Done 99 of 117 steps

Copying VRTSvxfsplatform rpm to SX-MMS-SA-2 ..................... Done 100 of 117 steps

Installing VRTSvxfsplatform 4.1.00.10 on SX-MMS-SA-2 ............ Done 101 of 117 steps

Copying VRTSap rpm to SX-MMS-SA-2 ............................... Done 102 of 117 steps

Installing VRTSap 2.00 on SX-MMS-SA-2 ........................... Done 103 of 117 steps

Copying VRTStep rpm to SX-MMS-SA-2 .............................. Done 104 of 117 steps

Installing VRTStep 1.20 on SX-MMS-SA-2 .......................... Done 105 of 117 steps

Copying VRTSfsman rpm to SX-MMS-SA-2 ............................ Done 106 of 117 steps

Installing VRTSfsman 4.1.00.10 on SX-MMS-SA-2 ................... Done 107 of 117 steps

Copying VRTSfsdoc rpm to SX-MMS-SA-2 ............................ Done 108 of 117 steps

Installing VRTSfsdoc 4.1.00.10 on SX-MMS-SA-2 ................... Done 109 of 117 steps

Copying VRTSfssdk rpm to SX-MMS-SA-2 ............................ Done 110 of 117 steps

Installing VRTSfssdk 4.1.00.10 on SX-MMS-SA-2 ................... Done 111 of 117 steps

Copying VRTSfsmnd rpm to SX-MMS-SA-2 ............................ Done 112 of 117 steps

Installing VRTSfsmnd 4.1.00.10 on SX-MMS-SA-2 ................... Done 113 of 117 steps

Copying VRTScavf rpm to SX-MMS-SA-2 ............................. Done 114 of 117 steps

Installing VRTScavf 4.1.00.10 on SX-MMS-SA-2 .................... Done 115 of 117 steps

Copying VRTSglm rpm to SX-MMS-SA-2 .............................. Done 116 of 117 steps

15

Symantec Consulting Service, Great China Region

Installing VRTSglm 4.1.00.10 on SX-MMS-SA-2 ..................... Done 117 of 117 steps

Storage Foundation Cluster File System HA installation completed successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION

PROGRAM

Installation of Storage Foundation Cluster File System HA 4.1 has completed successfully.

The installation summary is saved at:

/opt/VRTS/install/logs/y

The installsfcfs log is saved at:

/opt/VRTS/install/logs/

The installation response file is saved at:

/opt/VRTS/install/logs/se

Storage Foundation Cluster File System HA cannot be started without configuration.

Run installsfcfs -configure when you are ready to configure SFCFS.

The README.1st file has more information about VCS. Read it Now? [y,n,q] (y) n

CPI WARNING V-9-0-0 While installing VxVM, the rpm(8) command generated either an error or

warning message. The message for each relevant system is logged in the summary file

specified above.

See the VERITAS File System Administrators Guide for information on using VxFS.

See the Storage Foundation Cluster File System Installation and Administration Guide for

more information.

16

Symantec Consulting Service, Great China Region

1.4 安装MP4补丁

[root@SX-MMS-SA-1 rhel4_i686]# ./installmp

VERITAS MAINTENANCE PACK 4 4.1 INSTALLATION PROGRAM

Copyright (c) 2007 VERITAS Software Corporation. All rights reserved.

VERITAS, the VERITAS Logo and all other VERITAS product names and slogans are trademarks

or

registered trademarks of VERITAS Software Corporation. VERITAS and the VERITAS Logo Reg.

U.S. Pat. & Tm. Off. Other product names and/or slogans mentioned herein may be trademarks

or registered trademarks of their respective companies.

Enter the system names separated by spaces on which to install VERITAS Maintenance Pack 4:

SX-MMS-SA-2 SX-MMS-SA-1

Checking system communication:

installmp requires that ssh commands used between systems execute without prompting for

passwords or confirmations. If installmp asks for a login password, stop installmp and run

it again with the ssh configured for passwordless logins, or configure rsh and use the

-usersh option.

Verifying communication with SX-MMS-SA-2 .............................. ping successful

Attempting ssh -x with SX-MMS-SA-2 .................................. ssh -x successful

Attempting scp with SX-MMS-SA-2 ........................................ scp successful

Checking OS version on SX-MMS-SA-2 ............................... Linux

Checking VRTSvxvmplatform rpm ............................. version 4.1.00.10 installed

Creating log directory on SX-MMS-SA-2 ............................................ Done

Checking OS version on SX-MMS-SA-1 ............................... Linux

Checking VRTSvxvmplatform rpm ............................. version 4.1.00.10 installed

Logs for installmp are being created in /var/tmp/installmp1022150723.

Using /usr/bin/ssh -x and /usr/bin/scp to communicate with remote systems.

Initial system check completed successfully.

Press [Enter] to continue:

17

Symantec Consulting Service, Great China Region

VERITAS MAINTENANCE PACK 4 4.1 INSTALLATION PROGRAM

Checking system upgrade requirements:

Checking VERITAS Maintenance Pack 4 upgrade requirements on SX-MMS-SA-2:

Checking VRTSperl rpm ....................................... version 4.1.0.0 installed

Checking VRTScpi rpm ...................................... version 4.1.0.151 installed

Checking VRTSjre rpm ............................................ version 1.4 installed

Checking VRTSjre15 rpm .................................................. not installed

Checking VRTSvxvmcommon rpm ............................... version 4.1.00.10 installed

Checking VRTSvxvmplatform rpm ............................. version 4.1.00.10 installed

Checking VRTSvmpro rpm .................................... version 4.1.00.10 installed

Checking VRTSalloc rpm .................................... version 4.1.00.10 installed

Checking VRTSddlpr rpm .................................... version 4.1.00.10 installed

Checking VRTSfsdoc rpm .................................... version 4.1.00.10 installed

Checking VRTSfsman rpm .................................... version 4.1.00.10 installed

Checking VRTSfssdk rpm .................................... version 4.1.00.10 installed

Checking VRTSfsmnd rpm .................................... version 4.1.00.10 installed

Checking VRTSllt rpm ...................................... version 4.1.00.10 installed

Checking VRTSgab rpm ...................................... version 4.1.00.10 installed

Checking VRTSvxfen rpm .................................... version 4.1.00.10 installed

Checking VRTSvcs rpm ...................................... version 4.1.00.10 installed

Checking VRTSvcsor rpm .................................................. not installed

Checking VRTSvcsag rpm .................................... version 4.1.00.10 installed

Checking VRTSvcsdr rpm .................................... version 4.1.00.10 installed

Checking VRTScscw rpm ..................................... version 4.1.00.10 installed

Checking VRTSvxfscommon rpm ............................... version 4.1.00.10 installed

Checking VRTSvxfsplatform rpm ............................. version 4.1.00.10 installed

Checking VRTSap rpm ............................................ version 2.00 installed

Checking VRTStep rpm ........................................... version 1.20 installed

Checking VRTSfspro rpm .................................... version 4.1.00.10 installed

Checking VRTSglm rpm ...................................... version 4.1.00.10 installed

Checking VRTScavf rpm ..................................... version 4.1.00.10 installed

Checking VRTSgms rpm .................................................... not installed

Checking VRTSodmcommon rpm .............................................. not installed

Checking VRTSodmplatform rpm ............................................ not installed

Checking VRTSdbac rpm ................................................... not installed

18

Symantec Consulting Service, Great China Region

Checking VRTScsocw rpm .................................................. not installed

Checking file system space ................................ required space is available

installmp will install or reinstall the following rpms on SX-MMS-SA-2:

VRTSperl VRTScpi VRTSjre VRTSvxvmcommon VRTSvxvmplatform VRTSvmpro VRTSalloc

VRTSddlpr

VRTSfsdoc VRTSfsman VRTSfssdk VRTSfsmnd VRTSllt VRTSgab VRTSvxfen

VRTSvcs

VRTSvcsag VRTSvcsdr VRTScscw VRTSvxfscommon VRTSvxfsplatform VRTSap

VRTStep

VRTSfspro VRTSglm VRTScavf

File System processes must be stopped before adding patches.

Storage Foundation Cluster File System processes must be stopped before adding patches.

VERITAS Enterprise Administrator processes must be stopped before adding patches.

Do you want to stop these processes and install patches on SX-MMS-SA-2? [y,n,q] (y)

Stopping Cluster Manager and Agents on SX-MMS-SA-2 ............................... Done

Stopping Cluster Manager and Agents on SX-MMS-SA-1 ............................... Done

Checking had process ...................................................... not running

Checking hashadow process ................................................. not running

Checking CmdServer process ................................................ not running

Checking notifier process ................................................. not running

Checking vxsvc process .................................................... not running

Checking vxfen driver ..................................................... not running

Checking gab driver ....................................................... not running

Checking llt driver ....................................................... not running

Checking VERITAS Maintenance Pack 4 upgrade requirements on SX-MMS-SA-1:

Checking VRTSperl rpm ....................................... version 4.1.0.0 installed

Checking VRTScpi rpm ...................................... version 4.1.0.151 installed

Checking VRTSjre rpm ............................................ version 1.4 installed

Checking VRTSjre15 rpm .................................................. not installed

Checking VRTSvxvmcommon rpm ............................... version 4.1.00.10 installed

Checking VRTSvxvmplatform rpm ............................. version 4.1.00.10 installed

19

Symantec Consulting Service, Great China Region

Checking VRTSvmpro rpm .................................... version 4.1.00.10 installed

Checking VRTSalloc rpm .................................... version 4.1.00.10 installed

Checking VRTSddlpr rpm .................................... version 4.1.00.10 installed

Checking VRTSfsdoc rpm .................................... version 4.1.00.10 installed

Checking VRTSfsman rpm .................................... version 4.1.00.10 installed

Checking VRTSfssdk rpm .................................... version 4.1.00.10 installed

Checking VRTSfsmnd rpm .................................... version 4.1.00.10 installed

Checking VRTSllt rpm ...................................... version 4.1.00.10 installed

Checking VRTSgab rpm ...................................... version 4.1.00.10 installed

Checking VRTSvxfen rpm .................................... version 4.1.00.10 installed

Checking VRTSvcs rpm ...................................... version 4.1.00.10 installed

Checking VRTSvcsor rpm .................................................. not installed

Checking VRTSvcsag rpm .................................... version 4.1.00.10 installed

Checking VRTSvcsdr rpm .................................... version 4.1.00.10 installed

Checking VRTScscw rpm ..................................... version 4.1.00.10 installed

Checking VRTSvxfscommon rpm ............................... version 4.1.00.10 installed

Checking VRTSvxfsplatform rpm ............................. version 4.1.00.10 installed

Checking VRTSap rpm ............................................ version 2.00 installed

Checking VRTStep rpm ........................................... version 1.20 installed

Checking VRTSfspro rpm .................................... version 4.1.00.10 installed

Checking VRTSglm rpm ...................................... version 4.1.00.10 installed

Checking VRTScavf rpm ..................................... version 4.1.00.10 installed

Checking VRTSgms rpm .................................................... not installed

Checking VRTSodmcommon rpm .............................................. not installed

Checking VRTSodmplatform rpm ............................................ not installed

Checking VRTSdbac rpm ................................................... not installed

Checking VRTScsocw rpm .................................................. not installed

Checking file system space ................................ required space is available

installmp will install or reinstall the following rpms on SX-MMS-SA-1:

VRTSperl VRTScpi VRTSjre VRTSvxvmcommon VRTSvxvmplatform VRTSvmpro VRTSalloc

VRTSddlpr

VRTSfsdoc VRTSfsman VRTSfssdk VRTSfsmnd VRTSllt VRTSgab VRTSvxfen

VRTSvcs

VRTSvcsag VRTSvcsdr VRTScscw VRTSvxfscommon VRTSvxfsplatform VRTSap

VRTStep

VRTSfspro VRTSglm VRTScavf

File System processes must be stopped before adding patches.

20

Symantec Consulting Service, Great China Region

Storage Foundation Cluster File System processes must be stopped before adding patches.

VERITAS Enterprise Administrator processes must be stopped before adding patches.

Do you want to stop these processes and install patches on SX-MMS-SA-1? [y,n,q] (y)

Checking had process ...................................................... not running

Checking hashadow process ................................................. not running

Checking CmdServer process ................................................ not running

Checking notifier process ................................................. not running

Checking vxsvc process .................................................... not running

Checking vxfen driver ..................................................... not running

Checking gab driver ....................................................... not running

Checking llt driver ....................................................... not running

Upgrade requirement checks completed successfully.

Press [Enter] to continue:

VERITAS MAINTENANCE PACK 4 4.1 INSTALLATION PROGRAM

VERITAS MAINTENANCE PACK 4 4.1 INSTALLATION PROGRAM

VERITAS Maintenance Pack 4 rpms can be upgraded on systems consecutively or simultaneously.

Upgrading rpms on systems consecutively takes more time but allows for better error

handling.

Would you like to upgrade VERITAS Maintenance Pack 4 rpms on all systems simultaneously?

[y,n,q,?] (y)

Uninstalling prior versions of VERITAS Maintenance Pack 4 on all systems simultaneously:

Uninstalling VRTScavf 4.1.00.10 on SX-MMS-SA-1 ..................... Done 1 of 44 steps

Uninstalling VRTScavf 4.1.00.10 on SX-MMS-SA-2 ..................... Done 2 of 44 steps

Uninstalling VRTSglm 4.1.00.10 on SX-MMS-SA-1 ...................... Done 3 of 44 steps

Uninstalling VRTSglm 4.1.00.10 on SX-MMS-SA-2 ...................... Done 4 of 44 steps

Uninstalling VRTSfspro 4.1.00.10 on SX-MMS-SA-1 .................... Done 5 of 44 steps

Uninstalling VRTStep 1.20 on SX-MMS-SA-1 ........................... Done 6 of 44 steps

21

Symantec Consulting Service, Great China Region

Uninstalling VRTSfspro 4.1.00.10 on SX-MMS-SA-2 .................... Done 7 of 44 steps

Uninstalling VRTSap 2.00 on SX-MMS-SA-1 ............................ Done 8 of 44 steps

Uninstalling VRTStep 1.20 on SX-MMS-SA-2 ........................... Done 9 of 44 steps

Uninstalling VRTSap 2.00 on SX-MMS-SA-2 ........................... Done 10 of 44 steps

Uninstalling VRTSvxfsplatform 4.1.00.10 on SX-MMS-SA-1 ............ Done 11 of 44 steps

Uninstalling VRTSvxfscommon 4.1.00.10 on SX-MMS-SA-1 .............. Done 12 of 44 steps

Uninstalling VRTScscw 4.1.00.10 on SX-MMS-SA-1 .................... Done 13 of 44 steps

Uninstalling VRTSvcsdr 4.1.00.10 on SX-MMS-SA-1 ................... Done 14 of 44 steps

Uninstalling VRTSvxfsplatform 4.1.00.10 on SX-MMS-SA-2 ............ Done 15 of 44 steps

Uninstalling VRTSvcsag 4.1.00.10 on SX-MMS-SA-1 ................... Done 16 of 44 steps

Uninstalling VRTSvxfscommon 4.1.00.10 on SX-MMS-SA-2 .............. Done 17 of 44 steps

Uninstalling VRTSvxfen 4.1.00.10 on SX-MMS-SA-1 ................... Done 18 of 44 steps

Uninstalling VRTSgab 4.1.00.10 on SX-MMS-SA-1 ..................... Done 19 of 44 steps

Uninstalling VRTScscw 4.1.00.10 on SX-MMS-SA-2 .................... Done 20 of 44 steps

Uninstalling VRTSllt 4.1.00.10 on SX-MMS-SA-1 ..................... Done 21 of 44 steps

Uninstalling VRTSvcsdr 4.1.00.10 on SX-MMS-SA-2 ................... Done 22 of 44 steps

Uninstalling VRTSfsmnd 4.1.00.10 on SX-MMS-SA-1 ................... Done 23 of 44 steps

Uninstalling VRTSvcsag 4.1.00.10 on SX-MMS-SA-2 ................... Done 24 of 44 steps

Uninstalling VRTSfssdk 4.1.00.10 on SX-MMS-SA-1 ................... Done 25 of 44 steps

Uninstalling VRTSfsman 4.1.00.10 on SX-MMS-SA-1 ................... Done 26 of 44 steps

Uninstalling VRTSvxfen 4.1.00.10 on SX-MMS-SA-2 ................... Done 27 of 44 steps

Uninstalling VRTSfsdoc 4.1.00.10 on SX-MMS-SA-1 ................... Done 28 of 44 steps

Uninstalling VRTSddlpr 4.1.00.10 on SX-MMS-SA-1 ................... Done 29 of 44 steps

Uninstalling VRTSgab 4.1.00.10 on SX-MMS-SA-2 ..................... Done 30 of 44 steps

Uninstalling VRTSalloc 4.1.00.10 on SX-MMS-SA-1 ................... Done 31 of 44 steps

Uninstalling VRTSllt 4.1.00.10 on SX-MMS-SA-2 ..................... Done 32 of 44 steps

Uninstalling VRTSvmpro 4.1.00.10 on SX-MMS-SA-1 ................... Done 33 of 44 steps

Uninstalling VRTSfsmnd 4.1.00.10 on SX-MMS-SA-2 ................... Done 34 of 44 steps

Uninstalling VRTSfssdk 4.1.00.10 on SX-MMS-SA-2 ................... Done 35 of 44 steps

Uninstalling VRTSjre 1.4 on SX-MMS-SA-1 ........................... Done 36 of 44 steps

Uninstalling VRTSfsman 4.1.00.10 on SX-MMS-SA-2 ................... Done 37 of 44 steps

Uninstalling VRTSperl 4.1.0.0 on SX-MMS-SA-1 ...................... Done 38 of 44 steps

Uninstalling VRTSfsdoc 4.1.00.10 on SX-MMS-SA-2 ................... Done 39 of 44 steps

Uninstalling VRTSddlpr 4.1.00.10 on SX-MMS-SA-2 ................... Done 40 of 44 steps

Uninstalling VRTSalloc 4.1.00.10 on SX-MMS-SA-2 ................... Done 41 of 44 steps

Uninstalling VRTSvmpro 4.1.00.10 on SX-MMS-SA-2 ................... Done 42 of 44 steps

Uninstalling VRTSjre 1.4 on SX-MMS-SA-2 ........................... Done 43 of 44 steps

Uninstalling VRTSperl 4.1.0.0 on SX-MMS-SA-2 ...................... Done 44 of 44 steps

22

Symantec Consulting Service, Great China Region

VERITAS Maintenance Pack 4 rpm uninstall completed successfully.

VERITAS MAINTENANCE PACK 4 4.1 INSTALLATION PROGRAM

Installing VERITAS Maintenance Pack 4 4.1 on all systems simultaneously:

Copying VRTSperl rpm to SX-MMS-SA-2 ................................ Done 1 of 78 steps

Installing VRTSperl 4.1.40.00 on SX-MMS-SA-1 ....................... Done 2 of 78 steps

Installing VRTScpi 4.1.40.0 on SX-MMS-SA-1 ......................... Done 3 of 78 steps

Installing VRTSperl 4.1.40.00 on SX-MMS-SA-2 ....................... Done 4 of 78 steps

Copying VRTScpi rpm to SX-MMS-SA-2 ................................. Done 5 of 78 steps

Installing VRTScpi 4.1.40.0 on SX-MMS-SA-2 ......................... Done 6 of 78 steps

Installing VRTSjre 1.4.1.3 on SX-MMS-SA-1 .......................... Done 7 of 78 steps

Copying VRTSjre rpm to SX-MMS-SA-2 ................................. Done 8 of 78 steps

Installing VRTSvxvmcommon 4.1.40.00 on SX-MMS-SA-1 ................. Done 9 of 78 steps

Installing VRTSjre 1.4.1.3 on SX-MMS-SA-2 ......................... Done 10 of 78 steps

Copying VRTSvxvmcommon rpm to SX-MMS-SA-2 ......................... Done 11 of 78 steps

Installing VRTSvxvmcommon 4.1.40.00 on SX-MMS-SA-2 ................ Done 12 of 78 steps

Copying VRTSvxvmplatform rpm to SX-MMS-SA-2 ....................... Done 13 of 78 steps

Installing VRTSvxvmplatform 4.1.40.00 on SX-MMS-SA-1 .............. Done 14 of 78 steps

Installing VRTSvmpro 4.1.40.00 on SX-MMS-SA-1 ..................... Done 15 of 78 steps

Installing VRTSalloc 4.1.30.00 on SX-MMS-SA-1 ..................... Done 16 of 78 steps

Installing VRTSddlpr 4.1.40.00 on SX-MMS-SA-1 ..................... Done 17 of 78 steps

Installing VRTSfsdoc 4.1.40.00 on SX-MMS-SA-1 ..................... Done 18 of 78 steps

Installing VRTSvxvmplatform 4.1.40.00 on SX-MMS-SA-2 .............. Done 19 of 78 steps

Copying VRTSvmpro rpm to SX-MMS-SA-2 .............................. Done 20 of 78 steps

Installing VRTSfsman 4.1.40.00 on SX-MMS-SA-1 ..................... Done 21 of 78 steps

Installing VRTSfssdk 4.1.40.00 on SX-MMS-SA-1 ..................... Done 22 of 78 steps

Installing VRTSvmpro 4.1.40.00 on SX-MMS-SA-2 ..................... Done 23 of 78 steps

Installing VRTSfsmnd 4.1.40.00 on SX-MMS-SA-1 ..................... Done 24 of 78 steps

Copying VRTSalloc rpm to SX-MMS-SA-2 .............................. Done 25 of 78 steps

Installing VRTSllt 4.1.40.00 on SX-MMS-SA-1 ....................... Done 26 of 78 steps

Installing VRTSgab 4.1.40.00 on SX-MMS-SA-1 ....................... Done 27 of 78 steps

Installing VRTSalloc 4.1.30.00 on SX-MMS-SA-2 ..................... Done 28 of 78 steps

Installing VRTSvxfen 4.1.40.00 on SX-MMS-SA-1 ..................... Done 29 of 78 steps

Copying VRTSddlpr rpm to SX-MMS-SA-2 .............................. Done 30 of 78 steps

Installing VRTSddlpr 4.1.40.00 on SX-MMS-SA-2 ..................... Done 31 of 78 steps

Copying VRTSfsdoc rpm to SX-MMS-SA-2 .............................. Done 32 of 78 steps

23

Symantec Consulting Service, Great China Region

Installing VRTSfsdoc 4.1.40.00 on SX-MMS-SA-2 ..................... Done 33 of 78 steps

Copying VRTSfsman rpm to SX-MMS-SA-2 .............................. Done 34 of 78 steps

Installing VRTSvcs 4.1.40.00 on SX-MMS-SA-1 ....................... Done 35 of 78 steps

Installing VRTSfsman 4.1.40.00 on SX-MMS-SA-2 ..................... Done 36 of 78 steps

Copying VRTSfssdk rpm to SX-MMS-SA-2 .............................. Done 37 of 78 steps

Installing VRTSvcsag 4.1.40.00 on SX-MMS-SA-1 ..................... Done 38 of 78 steps

Installing VRTSvcsdr 4.1.40.00 on SX-MMS-SA-1 ..................... Done 39 of 78 steps

Installing VRTSfssdk 4.1.40.00 on SX-MMS-SA-2 ..................... Done 40 of 78 steps

Copying VRTSfsmnd rpm to SX-MMS-SA-2 .............................. Done 41 of 78 steps

Installing VRTScscw 4.1.40.00 on SX-MMS-SA-1 ...................... Done 42 of 78 steps

Installing VRTSfsmnd 4.1.40.00 on SX-MMS-SA-2 ..................... Done 43 of 78 steps

Copying VRTSllt rpm to SX-MMS-SA-2 ................................ Done 44 of 78 steps

Installing VRTSvxfscommon 4.1.40.00 on SX-MMS-SA-1 ................ Done 45 of 78 steps

Installing VRTSllt 4.1.40.00 on SX-MMS-SA-2 ....................... Done 46 of 78 steps

Copying VRTSgab rpm to SX-MMS-SA-2 ................................ Done 47 of 78 steps

Installing VRTSgab 4.1.40.00 on SX-MMS-SA-2 ....................... Done 48 of 78 steps

Copying VRTSvxfen rpm to SX-MMS-SA-2 .............................. Done 49 of 78 steps

Installing VRTSvxfsplatform 4.1.40.00 on SX-MMS-SA-1 .............. Done 50 of 78 steps

Installing VRTSvxfen 4.1.40.00 on SX-MMS-SA-2 ..................... Done 51 of 78 steps

Installing VRTSap 4.0.3.12 on SX-MMS-SA-1 ......................... Done 52 of 78 steps

Installing VRTStep 4.0.3.12 on SX-MMS-SA-1 ........................ Done 53 of 78 steps

Copying VRTSvcs rpm to SX-MMS-SA-2 ................................ Done 54 of 78 steps

Installing VRTSfspro 4.1.40.00 on SX-MMS-SA-1 ..................... Done 55 of 78 steps

Installing VRTSglm 4.1.40.00 on SX-MMS-SA-1 ....................... Done 56 of 78 steps

Installing VRTScavf 4.1.40.00 on SX-MMS-SA-1 ...................... Done 57 of 78 steps

Installing VRTSvcs 4.1.40.00 on SX-MMS-SA-2 ....................... Done 58 of 78 steps

Copying VRTSvcsag rpm to SX-MMS-SA-2 .............................. Done 59 of 78 steps

Installing VRTSvcsag 4.1.40.00 on SX-MMS-SA-2 ..................... Done 60 of 78 steps

Copying VRTSvcsdr rpm to SX-MMS-SA-2 .............................. Done 61 of 78 steps

Installing VRTSvcsdr 4.1.40.00 on SX-MMS-SA-2 ..................... Done 62 of 78 steps

Copying VRTScscw rpm to SX-MMS-SA-2 ............................... Done 63 of 78 steps

Installing VRTScscw 4.1.40.00 on SX-MMS-SA-2 ...................... Done 64 of 78 steps

Copying VRTSvxfscommon rpm to SX-MMS-SA-2 ......................... Done 65 of 78 steps

Installing VRTSvxfscommon 4.1.40.00 on SX-MMS-SA-2 ................ Done 66 of 78 steps

Copying VRTSvxfsplatform rpm to SX-MMS-SA-2 ....................... Done 67 of 78 steps

Installing VRTSvxfsplatform 4.1.40.00 on SX-MMS-SA-2 .............. Done 68 of 78 steps

Copying VRTSap rpm to SX-MMS-SA-2 ................................. Done 69 of 78 steps

Installing VRTSap 4.0.3.12 on SX-MMS-SA-2 ......................... Done 70 of 78 steps

Copying VRTStep rpm to SX-MMS-SA-2 ................................ Done 71 of 78 steps

24

Symantec Consulting Service, Great China Region

Installing VRTStep 4.0.3.12 on SX-MMS-SA-2 ........................ Done 72 of 78 steps

Copying VRTSfspro rpm to SX-MMS-SA-2 .............................. Done 73 of 78 steps

Installing VRTSfspro 4.1.40.00 on SX-MMS-SA-2 ..................... Done 74 of 78 steps

Copying VRTSglm rpm to SX-MMS-SA-2 ................................ Done 75 of 78 steps

Installing VRTSglm 4.1.40.00 on SX-MMS-SA-2 ....................... Done 76 of 78 steps

Copying VRTScavf rpm to SX-MMS-SA-2 ............................... Done 77 of 78 steps

Installing VRTScavf 4.1.40.00 on SX-MMS-SA-2 ...................... Done 78 of 78 steps

VERITAS Maintenance Pack 4 installation completed successfully.

Press [Enter] to continue:

VERITAS MAINTENANCE PACK 4 4.1 INSTALLATION PROGRAM

Upgrade of VERITAS Maintenance Pack 4 4.1 has completed successfully.

The upgrade summary is saved at:

/opt/VRTS/install/logs/y

The installmp log is saved at:

/opt/VRTS/install/logs/

In order to restart processes, a reboot or manual product startup is required following

installation of VERITAS Maintenance Pack 4. If you wish to perform product configuration,

product installation scripts from /opt/VRTS/install/ can be run with the -configure option..

1.5 安装RP2补丁

rpm –Uvh VRTSvxfen-4.1.40.20-MP4RP2_

rpm –Uvh VRTSfspro-4.1.40.20-MP4RP2_

rpm –Uvh VRTSvxfs-common-4.1.40.20-MP4RP2_

rpm –Uvh VRTSgab-4.1.40.20-MP4RP2_

rpm –Uvh VRTSvxfs-platform-4.1.40.20-MP4RP2_

rpm –Uvh VRTSllt-4.1.40.20-MP4RP2_

rpm –Uvh VRTSvxvm-common-4.1.40.20-MP4RP2_

rpm –Uvh VRTSvcsdr-4.1.40.20-MP4RP2_

25

Symantec Consulting Service, Great China Region

rpm –Uvh VRTSvxvm-platform-4.1.40.20-MP4RP2_

1.6 配置软件

[root@SX-MMS-SA-1 install]# ./installsfcfs -configure

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Copyright (c) 2007 VERITAS Software Corporation. All rights reserved.

VERITAS, the VERITAS Logo and all other VERITAS product names and slogans are trademarks

or

registered trademarks of VERITAS Software Corporation. VERITAS and the VERITAS Logo Reg.

U.S. Pat. & Tm. Off. Other product names and/or slogans mentioned herein may be trademarks

or registered trademarks of their respective companies.

Enter the system names separated by spaces on which to configure SFCFS: SX-MMS-SA-2 SX-MMS-SA-1

Checking system communication:

installsfcfs requires that ssh commands used between systems execute without prompting for

passwords or confirmations. If installsfcfs asks for a login password, stop installsfcfs

and run it again with the ssh configured for passwordless logins, or configure rsh and use

the -usersh option.

Verifying communication with SX-MMS-SA-2 .............................. ping successful

Attempting ssh -x with SX-MMS-SA-2 .................................. ssh -x successful

Attempting scp with SX-MMS-SA-2 ........................................ scp successful

Checking OS version on SX-MMS-SA-2 ............................... Linux

Checking VRTScavf rpm ..................................... version 4.1.40.00 installed

Checking Machine Type on SX-MMS-SA-2 ............................................. i686

Checking Linux Distribution on SX-MMS-SA-2 ................................. Redhat 4ES

Creating log directory on SX-MMS-SA-2 ............................................ Done

Checking OS version on SX-MMS-SA-1 ............................... Linux

Checking VRTScavf rpm ..................................... version 4.1.40.00 installed

Checking Machine Type on SX-MMS-SA-1 ............................................. i686

Checking Linux Distribution on SX-MMS-SA-1 ................................. Redhat 4ES

Logs for installsfcfs are being created in /var/tmp/installsfcfs1022160423.

26

Symantec Consulting Service, Great China Region

Using /usr/bin/ssh -x and /usr/bin/scp to communicate with remote systems.

Initial system check completed successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Each system requires a SFCFS product license before installation. License keys for

additional product features should also be added at this time.

Some license keys are node locked and are unique per system. Other license keys, such as

demo keys and site license keys, are registered on all systems and must be entered on the

first system.

SFCFS Licensing Verification:

Checking SFCFS license key on SX-MMS-SA-2 ... Storage Foundation Cluster File System HA

Demo

Checking SFCFS license key on SX-MMS-SA-1 ... Storage Foundation Cluster File System HA

Demo

SFCFS licensing verified successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Checking SFCFS processes on SX-MMS-SA-2:

Checking vxsvc process .................................................... not running

Checking had process ...................................................... not running

Checking hashadow process ................................................. not running

Checking CmdServer process ................................................ not running

Checking notifier process ................................................. not running

Checking vxfen driver ..................................................... not running

27

Symantec Consulting Service, Great China Region

Checking gab driver ....................................................... not running

Checking llt driver ....................................................... not running

Checking SFCFS processes on SX-MMS-SA-1:

Checking vxsvc process .................................................... not running

Checking had process ...................................................... not running

Checking hashadow process ................................................. not running

Checking CmdServer process ................................................ not running

Checking notifier process ................................................. not running

Checking vxfen driver ..................................................... not running

Checking gab driver ....................................................... not running

Checking llt driver ....................................................... not running

SFCFS processes are stopped

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

installsfcfs will now ask sets of SFCFS configuration-related questions.

When a [b] is presented after a question, 'b' may be entered to go back to the first

question of the configuration set.

When a [?] is presented after a question, '?' may be entered for help or additional

information about the question.

Following each set of questions, the information you have entered will be presented for

confirmation. To repeat the set of questions and correct any previous errors, enter 'n' at

the confirmation prompt.

No configuration changes are made to the systems until all configuration questions are

completed and confirmed.

28

Symantec Consulting Service, Great China Region

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

To configure VCS for SFCFS the following is required:

A unique Cluster name

A unique Cluster ID number between 0-65535

Two or more NIC cards per system used for heartbeat links

One or more heartbeat links are configured as private links

One heartbeat link may be configured as a low priority link

All systems are being configured to create one cluster

Enter the unique cluster name: [?] vcs_sa

Enter the unique Cluster ID number between 0-65535: [b,?] 107

Discovering NICs on SX-MMS-SA-2 ... discovered bond0 inet6 eth0 eth1 eth2 inet6 eth3 inet6

sit0

Enter the NIC for the first private heartbeat link on SX-MMS-SA-2: [b,?] eth2

eth2 is probably active as a public NIC on SX-MMS-SA-2

Are you sure you want to use eth2 for the first private heartbeat link? [y,n,q,b,?] (n) y

Would you like to configure a second private heartbeat link? [y,n,q,b,?] (y)

Enter the NIC for the second private heartbeat link on SX-MMS-SA-2: [b,?] eth3

eth3 is probably active as a public NIC on SX-MMS-SA-2

Are you sure you want to use eth3 for the second private heartbeat link? [y,n,q,b,?] (n) y

Would you like to configure a third private heartbeat link? [y,n,q,b,?] (n)

Do you want to configure an additional low priority 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)

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Cluster information verification:

Cluster Name: vcs_sa

Cluster ID Number: 107

29

Symantec Consulting Service, Great China Region

Private Heartbeat NICs for SX-MMS-SA-2: link1=eth2 link2=eth3

Private Heartbeat NICs for SX-MMS-SA-1: link1=eth2 link2=eth3

Is this information correct? [y,n,q] (y)

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

The following information is required to add VCS users:

A user name

A password for the user

User privileges (Administrator, Operator, or Guest)

Do you want to set the username and/or password for the Admin user

(default username = 'admin', password='password')? [y,n,q] (n) y

Enter the user name: [?] (admin)

Enter New Password:

Enter Again:

Do you want to add another user to the cluster? [y,n,q] (y) n

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

VCS User verification:

User: admin Privilege: Administrators

Passwords are not displayed

Is this information correct? [y,n,q] (y)

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

The following information is required to configure Cluster Manager:

A public NIC used by each system in the cluster

A Virtual IP address and netmask for Cluster Manager

30

Symantec Consulting Service, Great China Region

Do you want to configure Cluster Manager (Web Console) [y,n,q] (y) n

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

The following information is required to configure SMTP notification:

The domain-based hostname of the SMTP server

The email address of each SMTP recipient

A minimum severity level of messages to send to each recipient

Do you want to configure SMTP notification? [y,n,q] (y) n

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

The following information is required to configure SNMP notification:

System names of SNMP consoles to receive VCS trap messages

SNMP trap daemon port numbers for each console

A minimum severity level of messages to send to each console

Do you want to configure SNMP notification? [y,n,q] (y) n

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Enter Cluster Volume Manager cluster reconfiguration timeout (sec): (200)

The enclosure-based naming scheme is a feature of Volume Manager. It allows one to reference

disks using a symbolic name that is more meaningful than the operating system's normal

device access name. This symbolic name is typically derived from the array name.

Do you want to set up the enclosure-based naming scheme? [y,n,q,?] (n)

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

31

Symantec Consulting Service, Great China Region

Configuring Storage Foundation Cluster File System HA:

Creating Cluster Server configuration files ...................................... Done

Copying configuration files to SX-MMS-SA-2 ....................................... Done

Copying configuration files to SX-MMS-SA-1 ....................................... Done

Storage Foundation Cluster File System HA configured successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Starting Cluster Server:

Starting LLT on SX-MMS-SA-2 ................................................... Started

Starting LLT on SX-MMS-SA-1 ................................................... Started

Starting GAB on SX-MMS-SA-2 ................................................... Started

Starting GAB on SX-MMS-SA-1 ................................................... Started

Starting Cluster Server on SX-MMS-SA-2 ........................................ Started

Starting Cluster Server on SX-MMS-SA-1 ........................................ Started

Confirming Cluster Server startup ................................... 2 systems RUNNING

Note: The vxconfigd daemon will be started, which can take a while depending upon the

hardware configuration.

Disabling enclosure-based naming on SX-MMS-SA-2 .................................. Done

Starting vxconfigd for VxVM on SX-MMS-SA-2 .................................... Started

Disabling enclosure-based naming on SX-MMS-SA-1 .................................. Done

Starting vxconfigd for VxVM on SX-MMS-SA-1 .................................... Started

Starting vxfen in disabled mode on

Starting vxfen on SX-MMS-SA-2 .................................................... Done

Starting vxfen on SX-MMS-SA-1 .................................................... Done

Done with starting vxfen on

Fencing has currently been configured in disabled mode.

32

Symantec Consulting Service, Great China Region

Refer to the installation and configuration

documentation to enable fencing.

Press [Enter] to continue:

Configuring CFS agents for SFCFSHA:

Confirming VxVM configuration daemons startup ..................... All systems Enabled

Starting CFS agents ........................................................... Started

Volume Manager default disk group configuration:

Many Volume Manager commands affect the contents or configuration of a disk group. Such

commands require that the user specify a disk group. This is accomplished by using the -g

option of a command or setting the VXVM_DEFAULTDG environment variable. An alternative to

these two methods is to configure the default disk group of a system.

Do you want to set up the default disk group for each system? [y,n,q,?] (y) n

Volume Manager default disk group setup and daemon startup

You declined to set up the default disk group for SX-MMS-SA-2.

Starting vxrelocd on SX-MMS-SA-2 .............................................. Started

Starting vxcached on SX-MMS-SA-2 .............................................. Started

Starting vxconfigbackupd on SX-MMS-SA-2 ....................................... Started

You declined to set up the default disk group for SX-MMS-SA-1.

Starting vxrelocd on SX-MMS-SA-1 .............................................. Started

Starting vxcached on SX-MMS-SA-1 .............................................. Started

Starting vxconfigbackupd on SX-MMS-SA-1 ....................................... Started

Storage Foundation Cluster File System HA was started successfully.

Press [Enter] to continue:

VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 CONFIGURATION

PROGRAM

Configuration of Storage Foundation Cluster File System HA 4.1 has completed successfully.

33

Symantec Consulting Service, Great China Region

The configuration summary is saved at:

/opt/VRTS/install/logs/y

The installsfcfs log is saved at:

/opt/VRTS/install/logs/

The installation response file is saved at:

/opt/VRTS/install/logs/se

The README.1st file has more information about VCS. Read it Now? [y,n,q] (y) n

CPI WARNING V-9-112-1035 While installing VxVM, the rpm(8) command generated either an

error

or warning message. The message for each relevant system is logged in the summary file

specified above.

See the VERITAS File System Administrators Guide for information on using VxFS.

See the Storage Foundation Cluster File System Installation and Administration Guide for

more information.

34

Symantec Consulting Service, Great China Region

2 配置信息

2.1 /etc/llttab

set-node SX-MMS-SA-1

set-cluster 107

link eth2 eth-00:15:17:7B:CF:C2 - ether - -

link eth3 eth-00:15:17:7B:CF:C3 - ether - -

set-node SX-MMS-SA-2

set-cluster 107

link eth2 eth-00:15:17:7B:D3:72 - ether - -

link eth3 eth-00:15:17:7B:D3:73 - ether - -

2.2 /etc/VRTSvcs/conf/config/

include ""

include ""

include ""

include ""

cluster vcs_sa (

UserNames = { admin = dlmElgLimHmmKumGlj }

Administrators = { admin }

HacliUserLevel = COMMANDROOT

)

system SX-MMS-SA-1 (

)

system SX-MMS-SA-2 (

)

group DataSG (

SystemList = { SX-MMS-SA-1 = 0, SX-MMS-SA-2 = 1 }

AutoFailOver = 0

Parallel = 1

AutoStartList = { SX-MMS-SA-1, SX-MMS-SA-2 }

)

35

Symantec Consulting Service, Great China Region

CFSMount cfsmount1 (

CVMVolDg cvmvoldg1 (

requires group cvm online local firm

cfsmount1 requires cvmvoldg1

// resource dependency tree

//

//

//

//

//

//

//

//

group cvm (

SystemList = { SX-MMS-SA-1 = 0, SX-MMS-SA-2 = 1 }

AutoFailOver = 0

Parallel = 1

AutoStartList = { SX-MMS-SA-1, SX-MMS-SA-2 }

)

CFSfsckd vxfsckd (

group DataSG

{

CFSMount cfsmount1

{

CVMVolDg cvmvoldg1

}

}

CVMDiskGroup = datadg

CVMActivation @SX-MMS-SA-1 = sw

CVMActivation @SX-MMS-SA-2 = sw

)

MountPoint = "/bases/mms"

BlockDevice = "/dev/vx/dsk/datadg/datavol01"

MountOpt @SX-MMS-SA-1 = "suid,rw"

MountOpt @SX-MMS-SA-2 = "suid,rw"

NodeList = { SX-MMS-SA-1, SX-MMS-SA-2 }

Policy = { " SX-MMS-SA-1" }

)

36

Symantec Consulting Service, Great China Region

ActivationMode @SX-MMS-SA-1 = { datadg = sw }

ActivationMode @SX-MMS-SA-2 = { datadg = sw }

)

CVMCluster cvm_clus (

CVMVxconfigd cvm_vxconfigd (

cvm_clus requires cvm_vxconfigd

vxfsckd requires cvm_clus

// resource dependency tree

//

//

//

//

//

//

//

//

//

//

//

group cvm

{

CFSfsckd vxfsckd

{

CVMCluster cvm_clus

{

CVMVxconfigd cvm_vxconfigd

}

}

}

Critical = 0

CVMVxconfigdArgs = { syslog }

)

CVMClustName = vcs_sa

CVMNodeId = { SX-MMS-SA-1 = 1, SX-MMS-SA-2 = 0 }

CVMTransport = gab

CVMTimeout = 200

)

37

Symantec Consulting Service, Great China Region

2.3 图形方式配置DG,Volume,FileSystem

开启Veritas Enterprise Administrator

[root@SX-MMS-SA-1 ~]# cd /opt/VRTSob/bin

[root@SX-MMS-SA-1 bin]# ./vea&

[1] 13430

[root@SX-MMS-SA-1 bin]

输入root密码口令

Next

38

Symantec Consulting Service, Great China Region

创建DG输入DG名称,加入相应的存储盘

Confirm

39

Symantec Consulting Service, Great China Region

Choose None

Confirm

40

Symantec Consulting Service, Great China Region

创建New Volume

Choose a DG

41

Symantec Consulting Service, Great China Region

让Volume Manager选择硬盘

给与volume名称,大小创建到最大,Next

42

Symantec Consulting Service, Great China Region

创建Filesystem,一定得选择Vxfs。选择mount point,点选Mount File System Details。

勾选cluster mount,勾选相应主机,选择所要创建的Service Group

43

Symantec Consulting Service, Great China Region

创建完毕

44

Symantec Consulting Service, Great China Region

此时开启VCS console即可看见CFS状态,检视系统可以看见挂载点已经自动挂载。

[root@SX-MMS-SA-2 mms]# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/sda5 20G 2.7G 16G 15% /

tmpfs 4.0K 0 4.0K 0% /dev/vx

tmpfs 4.0K 0 4.0K 0% /dev/vx

/dev/sda2 58G 85M 55G 1% /bases

/dev/sda1 494M 18M 452M 4% /boot

none 4.0G 0 4.0G 0% /dev/shm

/dev/sda3 39G 877M 36G 3% /opt

/dev/sda7 11G 59M 9.8G 1% /tmp

/dev/vx/dsk/datadg/datavol01

99G 93M 94G 1% /bases/mms

[root@SX-MMS-SA-1 mms]# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/sda5 20G 2.7G 16G 15% /

tmpfs 4.0K 0 4.0K 0% /dev/vx

tmpfs 4.0K 0 4.0K 0% /dev/vx

/dev/sda2 58G 85M 55G 1% /bases

/dev/sda1 494M 18M 452M 4% /boot

none 4.0G 0 4.0G 0% /dev/shm

/dev/sda3 39G 877M 36G 3% /opt

/dev/sda7 11G 59M 9.8G 1% /tmp

/dev/vx/dsk/datadg/datavol01

99G 93M 94G 1% /bases/mms

2.4 命令方式配置DG,Volume,FileSystem

初始化磁盘:

/etc/vx/bin/vxdisksetup -i sda

创建group:

vxdg init datadg sda

创建volume:

vxassist -g datadg maxsize

vxassist -g datadg make datavol01 165662720

做文件系统:

45

Symantec Consulting Service, Great China Region

mkfs -t vxfs /dev/vx/rdsk/datadg/datavol01

将存储该城online shared模式:

#vxdg deport datadg

#vxdg –s import datadg

#vxvol –g datadg startall

挂载存储:

mount -t vxfs -o cluster /dev/vx/dsk/datadg/datavol01 /bases/mms

注意:如果存储之前已被使用过,需要fdisk存储新建一个空分区fdisk /dev/sda,选o,w保存

46