Veritas安装配置手册-CFS
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
山西电信CFSHA安装配置报告
Oct, 2008
Symantec Consulting Services .
文件信息
版本
Subject Symantec 大中国区顾问服务
Version
Author 胡华波
Comments
关于作者
该文件可以与下列作者取得联系
胡华波
Consultant
Symantec Consulting Service, Greater China Region *********************
修改历史
日期作者版本修改内容
目录
1安装CFSHA4.1 for Linux (4)
1.1环境准备 (4)
1.2修改安装脚本 (4)
1.3安装软件 (5)
1.4安装MP4补丁 (17)
1.5安装RP2补丁 (25)
1.6配置软件 (26)
2配置信息 (35)
2.1/etc/llttab (35)
2.2/etc/VRTSvcs/conf/config/main.cf (35)
2.3图形方式配置DG,Volume,FileSystem (38)
2.4命令方式配置DG,Volume,FileSystem (45)
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_rsa.pub.
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_rsa.pubSX-MMS-SA-2:/root/.ssh/authorized_keys
root@sx-mms-sa-2's password:
id_rsa.pub 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
CPI41LINUX.pm messages rex vxgettext
[root@SX-MMS-SA-1 install]# vi CPI41LINUX.pm
将脚本内“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 ) ];
修改后为
$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 2.6.9-78.ELsmp
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 2.6.9-78.ELsmp
Checking VRTScavf rpm ................................................... not installed
Checking Machine Type on SX-MMS-SA-1 (i686)