Veritas_cluster_安装说明
双机中Veritas的详细配置
Veritas HA安装配置手册目录1 安装 Veritas Storage Foundation (2)1.1 下载软件 (2)1.2 准备工作 (2)1.3 安装 SF for RAC (4)1.4 重新配置 SF for Oracle RAC (7)2 用 VEA 配置 Disk Group (7)2.1 安装 VEA (7)2.2 新建 DG (8)2.3 创建 Volumes 和 File System (9)2.4 在另外一个节点上配置 DG (11)3 安装 oracle 软件,创建数据库 (11)3 .1 安装 oracle 软件 (11)3 .2 用 Veritas 的 ODM 代替 Oracle 的 libodm 库 (11)3.3 手工创建数据库 (12)4 用 VCM 配置 Veritas HA (12)4.1 安装 VCM 图形界面,管理 VCS (12)4. 2 增加服务组 (12)4. 3 增加资源组 (12)4.4 在 resource 中设置 link 关系 (15)4.5 ha 配置文件 (15)5 HA 监控配置 (15)5.1 监控 oracle instance (15)5.2 listener 监控 (17)6 HA 切换 (17)6.1 HA 切换日志 (17)6.2 HA 切换测试 (17)7 常用命令 (18)7.1 Veritas DMP (18)7.2 Veritas VxVM (19)7.3 Veritas VCS (19)8 SMTP 报警邮件配置 (20)9 参考文档211 安装 Veritas Storage Foundation1.1 下载软件/vcsmcSF for RAC Release 5.1 on LINUX对应软件包 VRTS_SF_HA_Solutions_5.1_PR1_RHEL5_SLES10_x64.tar.gzVeritas Enterprise Administrator 3.4.15.0 (Linux)对应软件包 VRTSobgui-3.4.15.0-0.i686.rpmVCS Cluster Manager Java_Console 5.1 (Linux)对应软件包 VCS_Cluster_Manager_Java_Console_5.1_for_Linux.rpm1.2 准备工作# 软件要求Software VersionDatabase Oracle RAC 11g Release 2OperatingsystemRed Hat Enterprise Linux 5 (RHEL 5) Update 3 or laterOracle Enterprise Linux 5.3 (OEL 5.3) or laterSUSE Linux Enterprise Server 10 with SP2 (SLES 10 SP2)SUSE Linux Enterprise Server 10 with SP3 ( SLES 10 SP3)# 配置/etc/hosts在2 台主机/etc/hosts 上增加各自的IP192.168.0.49 host1192.168.0.50 host2# 配置2 个节点root 用户的ssh 信任# 配NTP# 准备共享磁盘存储上的 lun 必须对所有节点可见。
veritas使用手册
ZHE JIANG UNIVERSITY QWARE TECHNOLOGY GROUP Veritas Netbackup 安装、配置及维护手册目录第 1 部分 VERITAS NBU简介 (2)第 2 部分 NBU基本概念 (5)第 3 部分 NBU 管理界面 (7)3.1 配置存储单元 (7)3.1.1 存储单元配置要求 (7)3.1.2 配置一个介质管理的存储单元 (8)3.1.3 配置一个磁盘类型的存储单元 (10)3.2 配置备份策略(Policy) (13)3.2.1 备份策略的组成 (13)3.2.2 如何规划一个Policy (16)3.2.3 如何创建一个Policy (21)3.2.4 其它安装配置 (34)3.3 任务监视器(Activity Monitor) (38)3.4 NetBackup报告 (40)3.5 设备管理(device manager) (47)3.5.1 增加一个机械手 (47)3.5.2 增加一个驱动器 (50)3.5.3 机械手与驱动器配置实例 (51)3.6 介质管理 (54)3.6.1 如何启动介质管理 (54)3.6.2 配置Volume Pool (55)3.6.3 增加一个Volume Pool (55)3.6.4 Scratch Volume Pool (56)3.6.5 增加卷 (56)3.6.6 使用Robot Inventory功能增加一个机械手控制的卷 (56)3.6.7 不使用Robot Inventory功能增加一个卷 (58)3.6.8 移动卷 (59)3.6.9 Deassign一个卷 (60)3.6.10 改变一个卷的属性 (60)3.6.11 更换一个卷 (62)第 1 部分 VERITAS NBU简介NBU是VERITAS 公司提供的企业级备份管理软件,它支持多种操作系统,包括UNIX、Microsoft Windows、OS/2以及Macintosh等。
VERITAS安装文档1
VERITAS安装文档目录第一章备份软件安装 (7)1.1M ASTER S ERVER安装 (7)1.2M EDIA S ERVER安装 (12)1.3C LIENT安装 (12)1.4O RACLE备份客户端安装 (14)第二章备份配置 (15)2.1配置存储设备 (15)2.2配置V OLUME (18)2.3配置C ATALOG备份策略 (19)2.4建立备份策略 (21)第一章备份软件安装1.1 Master Server安装●修改/etc/hosts文件●将/usr文件系统扩大到10G●安装Master Server☆将安装盘放至光驱,并mount CDROM☆进入到cdrom下,键入“./install.”出现如下屏幕:☆选择1 进行SERVER端安装,以后均按照缺省方式安装,如上图所示。
☆在下面出现的窗口输入license☆完成●修改启动脚本:修改/etc/inittab文件,在最后增加一行,使得机器启动时自动启动Netbackup 相关服务:手动启动备份服务如下:●建立机械臂设备文件:☆从ftp:///storage/devdrvr/AIX/下载最新的Atape软件包☆将软件包解压,然后ftp至Master Server的/tmp目录下☆安装机械臂驱动:☆识别机械臂:●确定机械臂的scsi id:●删除机械臂设备:●创建设备文件:●机械臂操作测试●修改bp.conf文件1.2 Media Server安装●修改hosts文件●安装media server☆当出现菜单选择时选择1 进行Media Server 安装☆根据安装脚本的进程进行选择安装,如图所示:●修改bp.conf文件1.3 Client安装●Windows Client端要首先确认windows2000 补丁版本是SP2或以上,否则打补丁;要先确保服务端与客户端能够通讯。
●修改hosts文件●安装Client软件:☆客户端的安装比较简单,只要插入安装光盘Verutas NetBackup 光盘,SETUP程序会自动执行,选择netbackyup client 进行安装。
Linux下Veritas Cluster Sever安装配置手册
Linux下Veritas Cluster Sever安装配置手册2015年3月2日目录一、安装前准备 (1)1. 硬件要求 (1)2. 软件要求 (1)3. 软硬件检查: (1)4. 所需的系统RPM包 (1)5. IP规划 (1)二、安装步骤 (1)1. 安装前检查 (1)2. 修改/etc/hosts文件 (1)3. 建立双机信任机制(分别在两个节点执行) (1)4. 安装配置 (2)1)安装前检查 (2)2)vcs安装配置 (2)3)安装完成以后,在root用户的.bash_profile文件中增加如下PATH: (9)4)安装完成查看VCS进程是否存在 (9)三、VG和逻辑卷创建 (9)1. 使用fdisk -l查看所有存储分配的lun (9)2. 创建PV查看pv状态(在共享存储上) (9)3. 创建VG查看VG状态 (9)4. 创建lv查看lv状态 (10)5. 建立挂载点 (10)四、JAVA Console客户端配置Mount资源组 (10)五、切换测试 (11)1. 将系统H0030服务切换到系统H0031 (11)2. 将系统H0031服务再切换到系统H0030 (11)3. Reboot系统H0030查看是否自动切换到H0031 (11)六、VCS卸载 (11)1.删除资源组 (12)2.停止VCS服务 (12)3.卸载VCS (12)4.重启主机 (12)七、VCS常用命令 (12)一、安装前准备1.硬件要求需要两台服务器,一台存储设备,交换机一台,网卡2个以上2.软件要求操作系统: Redhat-6.4VCS版本:Rhel6_x86_ 64(需要license)3.软硬件检查:A)确保主机与磁盘阵列,网卡物理连接正确无误B)确保两台主机均能访问到相同的共享磁盘设备4.所需的系统RPM包ksh-200110202-14.el5.x86_64.rpm5.IP规划二、安装步骤1.安装前检查2.修改/etc/hosts文件#vi /etc/hosts添加如下:10.217.5.78 H003010.217.5.79 H0031192.168.1.78 H0030-priv192.168.1.79 H0031-priv3.建立双机信任机制(分别在两个节点执行)#ssh-keygen -t rsa#chmod 755 ~/.ssh#scp ~/.ssh/id_rsa.pub H0031:/root/.ssh/authorized_keys #exec /usr/bin/ssh-agent $SHELL# ssh-add4.安装配置1)安装前检查# ./installer –precheck2)vcs安装配置#./installer3)安装完成以后,在root用户的.bash_profile文件中增加如下PATH:PATH=$PATH:$HOME/bin:/opt/VRTS/bin:/opt/VRTSvcs/bin:/opt/VRTSvlic/binexport PATH注:查看确认/etc/VRTSvcs/conf /types.cf和/etc/VRTSvcs/conf/config/types.cf文件大小相同4)安装完成查看VCS进程是否存在[root@H0030 rhel6_x86_64]# ps -ef|grep vcsroot 10282 1 0 18:26 ? 00:00:00 /opt/VRTSvcs/bin/hadroot 10288 1 0 18:26 ? 00:00:00 /opt/VRTSvcs/bin/CmdServerroot 10292 1 0 18:26 ? 00:00:00 /opt/VRTSvcs/bin/hashadowroot 10313 1 0 18:26 ? 00:00:00 /opt/VRTSvcs/bin/HostMonitor -type HostMonitor -agdir /root 10430 6395 0 18:28 pts/8 00:00:00 grep vcs三、VG和逻辑卷创建1.使用fdisk -l查看所有存储分配的lun# fdisk -l |grep Disk2.创建PV查看pv状态(在共享存储上)本例共享存储有两个/dev/sddlmaa、/dev/sddlmab#pvcreate -f /dev/sddlmaa#pvcreate -f /dev/sddlmaa3.创建VG查看VG状态#vgcreate -s 128 datavg /dev/sddlmaa#vgextend datavg /dev/sddlmab#vgdisplay -v /dev/datavg在另一系统上激活vg#vgscan#vgchange -ay /dev/datavg#vgdisplay -v /dev/datavg4.创建lv查看lv状态#lvcreate -L 200G -n datalv datavg#lvdisplay在另一系统上激活lv#lvscan#lvchange -ay /dev/datavg/datalv#lvdisplay5.建立挂载点#mkdir /data四、JAVA Console客户端配置Mount资源组1.右键Add Service Group,添加系统,设置优先级和服务组类型。
vcs安装完整版v1.1
VCS(Veritas Cluster Server)6.0软件安装介绍(一)一、安装前的准备1、核查心跳线1.1、首先我们要核对每台主机的网卡连到对方的那个卡。
简单办法是拔掉网线看告警是那个卡的端口UP或DOWN1.2、然后核查心跳线是否通我们一般方法是把两台主机的对应4张网卡都配成一个网段。
然后去ping对方。
这种方法不太好,这可能导致有个卡无法ping通,这好像跟系统的保护有关。
最好的方法就是把相连的卡激活后ping通,然后关掉卡或拔掉线。
再激活另一对卡再ping.。
2、用户需要提供的资料IP规划应用程序相关用户名和安装目录信息二、安装VCS(Veritas Cluster Server)6.0软件安装介绍1.转到installvcs命令所在的目录:# cd cluster_server2.运行installvcs,开始VCS的安装:# ./installvcs3.开始安装,你将看到下面的信息:VERITAS CLUSTER SERVER 6.0 INSTALLATION PROGRAMCopyright (c) 2003 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.4. 输入需要加到同一集群内的各系统主机名.Enter the system names separated by spaces on which to install VCS: north south安装之前先执行系统检查5.VCS安装工具验证用户指定的系统是否满足VCS的安装需求,以及它们是否配置了系统远程连接(ssh或者rsh). 如果VCS安装工具检测到了ssh, 则直接执行ssh(缺省不需要root口令)。
Veritas 用户手册说明书
Veritas User Guide Quick Reference GuideTHANK YOU FOR VOTING TEXECOM THANK YOU FOR VOTING TEXECOMUSER GUIDESecurity Control PanelsIssue 21 INS167Overview Premier Series User Guide 2 INS221 IntroductionUsers of the alarm system will be assigned a unique 4, 5 or 6 digit User code. User codes are used to arm and disarm the system. Some User codes can also access additional options such as, system tests and omitting zones.Keypads will be installed throughout the premises, usually one at each entry/exit door. The keypads are used to perform all of the system operations i.e. Arming, Disarming etc. Most User codes can be used at any keypad on the system. However, Local Users will only be able to use certain keypads on the system.The Emergency KeysIn case of emergency, the alarm system can provide three immediate emergency alarms by pressing and holding two specific keys for two seconds. !"The emergency keys can be enabled/disabled for each keypad on the system.The Panic alarm can be programmed for either audible or silent operation.The Panic alarm can be programmed for either instant or delayed operation. Emergency AlarmPress KeysPanic Alarm (PA)! & " Fire# & $ Medical% & &The Quick Arm Keys The ‘Quick Arm’ keys allow the system to be armed without having to enter a User code first. !"The ‘Quick Arm’ keys will only work if the keypad has been programmed to allowarming in this way.To FULL arm the system, press '.To PART arm the system, press !, ( or " followed by ).Keypad LockThe keys on the keypad can be locked to prevent unwanted access to the system. !"The Emergency keys will NOT operate with the keys locked.To Lock the keys, press * and + together.To Unlock the keys, press * and + together again.Premier Serie s User Guide Overview INS221 3LED IndicatorsFive LED indicators have been provided to indicate the status of the system. LEDStatus Meaning PowerOn AC mains is present on the control panelFlashing AC Mains is not present, the control panel is running on the standby battery ServiceOn The system requires attention, contact your installerOff The system does NOT require attention ReadyOn All zones are secure and the system is ready to be armedOff One or more zones are activeFlashing The system has zones (with the ‘Force Omit’ attribute) that are active Info.On The system is armed (can also be programmed for other indications)Off The system is unarmed (can also be programmed for other indications) OmitOn One or more zones are omitted Off No zones are omittedZone Faults During ArmingBefore attempting to arm the system, ensure that the premises are secure (all doors and windows closed etc.) and the Ready light is on.If an attempt is made to arm the system with any zones active (e.g. door ajar, open window, etc.) the internal sounders will bleep repeatedly (fault tone) and the display will show the zones that are active.The fault tone will stop and the exit tone will resume when all zones are secure. If it is necessary to leave a zone open then it must be omitted (see page 8 for details). !"If an active zone cannot be secured then it may be ‘in fault’, in this case contact the alarm company immediately. Arm Fail - Failing to Arm If the exit procedure is started and zones are still ‘Active’ at the end of the exit procedure, an Internal alarm will occur (internal sounders only) and the strobe light on the external sounder will flash. !"If this occurs the arm fail must be cleared and the zone in fault identified before the system can be armed (see page 6 for details on clearing an Arm Fail). The Ready LED To help prevent faults during arming a Ready light has been provided, see table above for details on how the Ready LED operates.Operating the Alarm System Premier Series User Guide 4 INS221 To FULL Arm the SystemThe system is FULL Armed when ALL zones are ON (not omitted). !"Your Installer may have programmed the system so that it can be set by just pressing', if this is the case then there is no need to enter the User code below.1. Ensure that the premises are secure (all doors and windows closed etc.) and the Ready light is on2. Enter a valid User code ,,,,3. Press * to armThe exit tone will sound4. Leave the premisesWhen the system has armed the exit tone will stopTo PART Arm the SystemThe system is PART Armed , when ONE OR MORE zones have been left OFF (omitted) i.e. the landing or a bedroom. !"The system is only Part Armed when zones are omitted using the ‘Part Arm’ procedure(omitting zones manually (see page 8 for details) is not classed as Part Arming).The bottom line of the display is programmable for each Part Arm.Your Installer may have programmed the system so that it can be Part Armed by just pressing !, ( or " followed by ), if this is the case then there is no need to enter the User code below.1. Ensure that the premises are secure (all windows and doors not being omitted are closed) and the Ready light is on2. Enter a valid User code ,,,,3. Press )4. Use keys ! - " to select the required Part Arm5. Press * to arm normally or press - to arm silentlyThe exit tone will sound (if silent arm has not been selected)6. Leave the protected areaWhen the system has armed, the exit tone (if sounding) will stopPremier Serie s User Guide Operating the Alarm System INS221 5 To ARM Individual AreasIf the system has been split up into separate areas of protection i.e. Area 1 = House, Area 2 = Garage, Area 3 = Shed etc. These areas can be individually selected for FULL or PART arming as required. !"Areas are selected by using keys ! - . (the / key can also be used toselect an area followed by ' or +).Only areas that exist on the system can be selected. (A ‘Star’ means the area can be selected and a ‘Dot’ means the area cannot be selected).Pressing 0 will select/deselect all areas, pressing ' will toggle between the first 8 areas and the second 8 areas (where applicable).1. Ensure that the premises are secure (all windows and doors not being omitted are closed) and the Ready light is on2. Enter a valid User code ,,,,3. Press '4. Use keys ! - . to select the required areas5. Press * or - to FULL arm the areasOr5. Press )!, ( or " followed by * or - to PART arm the areas The exit tone will sound (if silent arm has not been selected)6. Leave the premisesWhen the system has armed, the exit tone (if sounding) will stop To DISARM the SystemThe entry time is divided into two sections, the Entry time and the 2nd Entry time. If the Entry time expires, an Internal alarm will occur and the 2nd Entry time will start. If the 2nd Entry time expires, an Intruder alarm will occur (all internal and external sounders). !"It is perfectly normal for the 2nd Entry time to be programmed as zero, in whichcase, an Intruder alarm will occur as soon as the Entry time expires.1. Enter the premises via the designated entry pointThe entry tone will start2. Enter a valid User code ,,,,The entry tone will stopOperating the Alarm System Premier Series User Guide 6 INS221 To DISARM the System When Not in Entry1. Enter a valid User code ,,,,2. Press * To CANCEL the Exit ModeOnce the exit mode has been started you should leave the premises immediately, however, if for some reason you decide not to leave, the exit mode must be cancelled.1. Enter a valid User code ,,,,2. Press *The exit tone will stop. To CLEAR an Arm FailWhen the system tries to arm with zones active (open), the internal sounders will sound and the external strobe will be flashing to indicate a problem. For details on preventing an Arm Fail condition, please refer to page 3. !"If you were not present when the Arm Fail occurred or you do not clear the ArmFail, the internal sounders will continue to sound and the external strobe will continue to flash.1. Enter a valid User code ,,,,The internal and external sounders will stop, the external strobe will continue to flash and the number of the zone that caused the Arm Fail will be displayed.2. Enter a valid User code ,,,, and press 12 To SILENCE an AlarmWhen an alarm occurs on the system, the internal and external sounders will normally sound for a pre-programmed time (normally 15 minutes). !"If you were not present when the alarm activated, the internal and externalsounders may have already stopped but the external strobe will still be flashing. When alarm information is being displayed, pressing the SCROLL key will slow down the display and also allow manual scrolling through the events.1. Enter a valid User code ,,,,The internal and external sounders will stop and the number of the zone that caused the alarm will be displayed.The alarm now needs to be reset.Premier Serie s User Guide Operating the Alarm System INS221 7 To RESET After an AlarmUSER ResetOnce the alarm has been silenced (see page 6 for details), the system will need to be reset. !"If the system has been programmed, to be reset by an Engineer, pressing 1 willnot return the display to normal, if this is the case see ENGINEER Reset for details. The system may have been programmed to be reset by Anti-code, if this is the case, see ANTI-CODE Reset for details.1. Enter a valid User code ,,,,2. Press 1The external strobe will stop, the system will chime and the display will return to normal. ENGINEER ResetIf the system has been programmed to be reset by an Engineer following an alarm activation, you will still be able to silence the alarm by entering a valid User code (see page 6 for details). !"The system cannot be armed again until the alarm has been reset.1. Contact the telephone number on the display (if programmed) or the telephone number on the last page of this User GuideANTI-CODE ResetIf the system has been programmed to be reset using an Anti-Code following an alarm activation, you will still be able to silence the alarm by entering a valid User code (see page 6 for details).!"The system cannot be armed again until the alarm has been reset.1. Enter a valid User code ,,,,2. Press 1The display will show a random code number i.e. 4281.3. Contact the telephone number on the display (if programmed) or the telephone number on the last page of this User Guide and quote the random code number You will be given a 4-digit Anti-Code i.e. 5624.4. Enter the Anti-code that has been given to you ,,,,5. Press *If the Anti-code is correct, the keypad will bleep to indicate that the system has been reset and the display will return to normal.Operating the Alarm System Premier Series User Guide 8 INS221 To OMIT ZonesIt is possible to exclude (omit) individual zones when arming i.e. if a zone is ‘in fault’. Users with access to this function can only omit zones that have been programmed as ‘Omittable’. !"If the zone can be omitted, there will be a ‘Star’ to the right of the zone number.Only zones that have the ‘Omit’ attribute assigned to them can be omitted.A ‘Star’ will appear to the left of the zone number to indicate that the zone has been selected for omitting.All omitted zones will be automatically reinstated the next time the system is disarmed, unless programmed otherwise.To re-instate zones manually, simply follow the instructions again. However, when the 3 key is pressed on this occasion, the zones will be re-instated.1. Enter a valid User code ,,,, and press 32. Enter the zone number ,,,3. Press 3 to omit the selected zoneRepeat for other zones if required.4. Press 4 when finishedContinue to arm the system as normal. The Turn CHIME On and OffThe system can be set up so that activating (opening) certain zones will cause the internal sounders to chime. This would normally be used on a front door, exit button etc. !"Zones will only cause the internal sounders to chime if they are selected for chime (see page Master User Guide for details on selecting which zones chime). Once a zone has been selected for chime, the Chime facility can be manually turned on and off as required.!"The system can also be programmed to automatically turn chime on and off under certain conditions i.e. certain times of the day, door left open etc.If no zones have been programmed for Chime, then turning Chime on and off will have no effect.To turn CHIME OnTo turn CHIME Off 1. Press -1. Press - The Chime tone will sound.The Error tone will sound.Premier Serie s User Guide Operating the Alarm System INS221 9 To CHANGE Your User CodeUsers with access to this option can change their own User codes. User codes are unique to each user and can be 4, 5 or 6 digits long.!"Only the User code that is entered to access the change code menu will be changed. Before changing your code, it is vital that you memorise or write down the new code you are about to program. Failure to remember your code will require an engineer visit to re-program a new code for you. This may incur a call-out charge.1. Enter the User code that requires changing ,,,,2. Press 43. Press *4. Press (5. Press *6. Enter a new 4, 5 or 6-digit User code ,,,,7. Press * to accept the new code8. Press 1 to exit the menuThe display will return to normal.Quick Reference Guide Premier Series User Guide10 INS221 OperationDescription Action To Full Arm the SystemEnter a valid User code ,,,, Press Yes (or press Chime to arm silently) * or - To Part Arm the System Enter a valid User code ,,,, Press Part ) Select Required Part Arm !, ( or " Press Yes (or press Chime to arm silently) * or - To Arm Individual Areas Enter a valid User code ,,,, Press Area ' Select Required Area using keys 1 - 8 ! - . Press Yes (or press Chime to arm silently) * or - To Disarm the System Enter a valid User code ,,,, Press Yes (if the entry mode was not started) *To Cancel the Exit Mode Enter a valid User code ,,,, Press Yes * To Clear an Arm Fail Enter a valid User code ,,,, Press Reset 1 To Silence an Alarm Enter a valid User code ,,,, To Reset After an Alarm Enter a valid User code ,,,, Press Reset 1 To Engineer Reset Contact Your Installation Company_____________ To Anti-code Reset Enter a valid User code ,,,, Press Reset 1 Contact Your Alarm Receiving Centre_____________ Quote 4-digit code shown on display !"#$%&'((((' Enter 4-digit code given by Receiving Centre ,,,, Press Yes *To Omit Zones Enter a valid User code ,,,, Press Omit 3 Enter Zone Number(s) ,,,… Press Menu when finished 3 Press Yes to Arm * Turn Chime On/Off Press Chime Once to Turn ON - Press Chime Again to Turn OFF - To Change User Code Enter a valid User code ,,,, Press Menu followed by Yes 4* Press 2 followed by Yes (* Enter a new 4, 5 or 6 digit User code ,,,, Press Yes to accept * Press Reset to return to the normal display 1Premier Series User Guide Installation DetailsINS221 11AreasNo. DescriptionExit TimeEntry Time 1Entry Time 2Bell DelayBell DurationAbort TimeSec. Sec. Sec. Min. Min. Sec. Sec. Sec. Sec. Min. Min. Sec. Sec. Sec. Sec. Min. Min. Sec.Sec.Sec.Sec.Min.Min.Sec.KeypadsEmergency Keys No. LocationArea Quick Arm PA Fire MedUser CodesUser Name Type Default New Code Area Time Lock 01 Master 5678N/AN/AN/AN/AN/AZonesPart ArmsNo. DescriptionType Area Omit 12 3Installation Company DetailsInstallation Engineer:Installation Company:Address:Telephone Number:Installation Date:Service RecordDate Serviced Comments EngineerEmergency Telephone NumbersFor 24 Hour Call Out For Anti-Code ResetControl PanelDetailsModel Premier 24 ❏Premier 48 ❏Premier 88 ❏Premier 168 ❏ Premier 640 ❏Location© TEXECOM LTD. 2000 - 2005INS221-2。
VERITAS产品手册
一、前言企业只有在运行正常时才能够创造经济效益,一旦关键任务系统出现故障,每一分每一秒都意味着重大损失。
尽管这个道理显而易见,但许多公司都做不到对故障服务器的迅速恢复,原因是没有人愿意做这项极其复杂的工作,除非迫在眉睫非做不可。
系统崩溃时,大部分的公司IT部门都把大量的时间花在了恢复系统上,想尽办法能让系统达到可以从磁带恢复备份数据的状态。
他们需要重新安装操作系统和配置硬件,寻找技术熟练人员来完成这些复杂工作,从而浪费了大量的宝贵时间。
由于服务器恢复工作的压力非常大,因而会不可避免地发生错误,进而危及恢复的完整性。
IT每天都面临着严峻挑战,既要提供高度的应用、数据可用性与更高的服务级别要求,同时又要限制成本费用。
随着数据中心日益扩展,其中包括异架构操作系统,多种硬件配置和许多的节/站点等,使得上述挑战变得更加错综复杂。
VERITAS高可用解决方案旨在以集中方式控制服务器和存储系统,以减少这种复杂性。
VERITAS 提供专业化的服务,帮助客户评估应用系统的风险和需求,并通过一系列解决方案和各种技术,保障数据安全、系统不中断运行、高性能,并最大化投资回报二、产品介绍VERITAS 致力于为客户提供效用计算的IT框架,为客户提供一系列配套的解决方案,它们由经过全面测试和集成的产品组成,能够提供每个级别的可用性,从本地磁带备份到高水准数据和应用可用性,乃至广域网环境下灾难恢复。
1、存储基础软件(Storage Foundation)–Storage Foundation–Storage Foundation for Oracle–Storage Foundation for DB2–Storage Foundation for Oracle RAC–Storage Foundation for Cluster File System(1)Storage Foundation 技术特点存储在线管理,减少因磁盘系统维护造成的停机时间--应用使用的逻辑卷的在线扩充或缩小--逻辑卷结构的在线调整--逻辑卷数据的在线转移高性能、在线管理的文件系统--在线碎片整理--在线扩充或缩小--在线数据转移提供真正的数据共享--同种平台(Sun或HP)可以同时存储一个文件系统--适用性强的在线管理功能,极大地减少因系统维护造成的停机,近一步提高了应用系统的高可用性。
Veritas Cluster for AIX安装配置指南
VCS for AIX安装配置指南1.建议安装最新的AIX补丁oslevel –r #5100-05 表示已经安装了ML052.硬件环境准备✓公网(如en0, en1)已经连接到网络上✓私网(如en2, en3)通过两根交叉线互连✓共享磁盘阵列连接正常,并能被两台服务器识别✓足够的磁盘空间(/opt 78M、/usr 13M、/var 2M、/ 3M)3.设置PATH和MANPATH环境变量PATH=/sbin:/usr/sbin:/opt/VRTSvcs/bin:$PATH; export PATH MANPATH=$MANPATH:/opt/VRTS/man; export MANPATH4.允许两台服务器之间可以rlogin在每台服务器的根目录下编辑/.rhosts文件,在其中写上一个+号。
为了安全起见,在安装完成后建议将/.rhosts文件删除。
5.修改/etc/pse.conf使得LLT Driver工作✓去除’ethernet driver’所在行前的#注释符,如下所示d+ dlpi en /dev/dlpi/en # streams dlpi ethernet driver✓在#PSE Modules部分加上如下一行d llt # LLTdriver✓Reboot the server6.设置SCSI Identifier对于光纤磁盘阵列,跳过这一步,直接进入第7步。
每台服务器必须使用唯一的SCSI Identifier,检查是否每台AIX服务器使用相同的SCSI Identifier,通常AIX SCSI Identifier被设置成缺省值7。
通过下面的命令可以显示id值:dy_db2:/opt>#lsdev -Cc adapter | grep scsiscsi0 Available 1S-08 Wide/Ultra-3 SCSI I/O Controllerscsi1 Available 1S-09 Wide/Ultra-3 SCSI I/O Controllerscsi2 Available 1c-08 Wide/Fast-20 SCSI I/O Controllerdy_db2:/opt>#lsattr -El scsi0 -a idid 7 Adapter card SCSI ID Truedy_db1:/>#lsdev -Cc adapter | grep scsiscsi0 Available 1S-08 Wide/Ultra-3 SCSI I/O Controllerscsi1 Available 1S-09 Wide/Ultra-3 SCSI I/O Controllerscsi2 Available 1c-08 Wide/Fast-20 SCSI I/O Controllerdy_db1:/>#lsattr -El scsi0 -a idid 7 Adapter card SCSI ID True通过smitty scsia或下面的命令可以更改id值:dy_db1:/>chdev –p –l scsi –a id=5更改完成后需要重新启动服务器,然后通过lspv命令去检查是否每台服务器都能识别共享磁盘阵列上的硬盘设备。
VCS安装配置步骤
Veritas Cluster Server安装配置指导(针对SYBASE应用)说明:以下所有截取图形中所有名称、IP地址等均为截图时状态,请参照实际情况修改。
一.安装前准备工作1.心跳网卡配置安装VCS需要服务器有两块网卡直接连接作心跳侦测用。
两块网卡不使用任何WINDOWS 系统自带的协议,所以要将网卡属性中所有已勾选的选项去掉:为便于安装和维护,最好将两网络连接名称更换为易于识别的名称(如priv1和priv2)。
2.域配置安装VCS需要在两台服务器配置成域控制器(一主一备,或一台为主域控制器,另一台直接加入到该域)。
同时安装DNS(域名解析系统)。
同时最好配置一下WINS地址打开运行,填入dcpromo:安装域完成后重新启动。
3.DNS配置添加上网方法4.磁盘阵列配置首先在磁盘阵列柜上创建RAID5,同时设置一个热备盘。
完成后将磁盘分两个区,同时做两个主机通道(HOST LUN)。
在每台服务器上进行如下配置:进入SCSI卡配置窗口,选择通道,进入配置视图的Advanced设置,将SCAN SCSI设备选项DISABLE或SCAN …ONLY。
目的是服务器启动时不进行SCSI设备检测,以免出错???????????????二.软件安装1.HA安装首先插入安装介质,出现安装向导:我们选择“Storage Foundation HA 4.1 for windows”;在此,我们选择“Complete/Custom”选项;接着,点击“Next”;认真阅读软件许可协议后选择“I accept the terms of the license agreement”继续;输入license key,点“ADD”,然后NEXT;选中“VERITAS Storage Foundation HA 4.1 for Windows”,点击“Next”;此处,是选择需要安装的Agent,选择后点“Next”;选择需要安装VCS的服务器,点击“ADD”,然后选择安装目录,默认为:c:\program files\veritas\,点“Next”继续;屏幕显示安装选项报告。
Veritas Cluster Servet管理员手册中文译本
Veritas Cluster Serve 管理员手册翻译
这是小弟学习 VCS 的笔记和翻译,如有不足或者不对之处请大家指正,本月小 弟学习 VCS,希望能同大家一起研习。 Maintenance Pack 1 (Solaris) Storage Solutions 产品包含以下部件: VERITAS File System VERITAS Volume Manager VERITAS Storage Foundation /Storage Foundation HA VERITAS Storage Foundation for Oracle VERITAS Storage Foundation for DB2 VERITAS Storage Foundation for Sybase VERITAS SANPoint Control QuickStart Cluster File Solutions 产品包含以下部件: VERITAS Storage Foundation Cluster File System/Storage Foundation Cluster File System HA VERITAS Storage Foundation for Oracle RAC
ቤተ መጻሕፍቲ ባይዱ
一个父资源(parent)依靠在子资源(child)依存性是同类的,均匀性没有周期的依存 性 资源属性 定义特殊的特征在个别的资源。VCS 使用属性值来运行适当的命令或者系统执行一个 操作在资源上 每个资源有一组必要属性(required attributes)必须被定义为了能够使 VCS 来管理 资源 资源类型 资源 通 过 资 源 类 型 来 分 类 。 例 如 : disk group;network interface cards;IP addresses;mount point;databases VCS 提供一套预先规定的资源类型 --一些绑定(some bundled),一些附加(some addons),除此以外需要创建新资源类型 Agent:VCS 如何控制资源 Agent 是控制资源的进程。每个资源类型有一个相对应的 agent 来管理,每个 cluster 系统仅仅运行一个 agent 进程对于每个活动的资源类型,不论多少单一的资源类型在 使用。 agent 控制资源使用一组定义设置,也叫 entry points。对于每个 agent 有4个 entry point: 启动资源(online) 关闭资源(offline) 检查资源状态(monitor) 杀死资源或者清除如果需要,当一个资源故障被适度的离线(clean) cluster 通讯 VCS 要求一个 cluster 通讯通道 在系 统之 间在 一个 cluster 来服务作 为 cluster interconnect,这个通道也有时候引用位置作为 private network 因为它经常执行利 用专门用于 Ethernet network. Veritas 推荐你使用最少2条专门用于通讯的连接通道并且是分开的基础连接。 cluster interconnect 有两个主要的用途: 1. 确定 cluster 全体成员---在 cluster 中的全体成员被确定通过系统发送和接受心
Veritas
Veritas™Cluster Server 管理指南AIX5.12Veritas Cluster Server 管理指南本手册所述软件是根据许可协议而提供,仅可按该协议的条款使用。
产品版本: 5.1文档版本: 5.1.0法律声明Copyright © 2009 Symantec Corporation. © 2009 年 Symantec Corporation 版权所有。
All rights reserved. 保留所有权利。
Symantec、Symantec 徽标、Veritas 和 Veritas Storage Foundation 是Symantec Corporation 或其附属公司在美国和其他国家/地区的商标或注册商标。
“Symantec”和“赛门铁克”是 Symantec Corporation 在中国的注册商标。
其他名称可能为其各自所有者的商标,特此声明。
本文档中介绍的产品根据限制其使用、复制、分发和反编译/逆向工程的授权许可协议分发。
未经 Symantec Corporation(赛门铁克公司)及其特许人(如果存在)事先书面授权,不得以任何方式任何形式复制本文档的任何部分。
本文档按“现状”提供,对于所有明示或暗示的条款、陈述和保证,包括任何适销性、针对特定用途的适用性或无侵害知识产权的暗示保证,均不提供任何担保,除非此类免责声明的范围在法律上视为无效。
Symantec Corporation(赛门铁克公司)不对任何与提供、执行或使用本文档相关的伴随或后果性损害负责。
本文档所含信息如有更改,恕不另行通知。
根据 FAR 12.212 中的定义,授权许可的软件和文档被视为“商业计算机软件”,受 FAR 第 52.227-19 节“Commercial Computer Software - Restricted Rights”(商业计算机软件受限权利)和 DFARS 第 227.7202 节“Rights in CommercialComputer Software or Commercial Computer Software Documentation”(商业计算机软件或商业计算机软件文档权利)中的适用规定,以及所有后续法规中规定的权利的制约。
Veritas Cluster Server入门手册
一、VCS 入门基本知识
VCS 全称 VERITAS Cluster Server,顾名思义,就是 起到集群管 理的功能。 Symantec 的 VCS 集成在 SFHA 产品中,当然也可以单独购买 VCS,主要是一个 HA 的角 色。
VCS 是一个商用的企业级软件解决方案,它可提供全面的可用性管理,把计划的 和非计划的停机时间降到最低。该产品能满足发展的但严格的世界电子商务模式所要 求的正常工作时间。电子商务需要增加不停机时间以保证为顾客进行各种服务;不管 哪种企业,多大规模,VERITAS Cluster Server (VCS)都能为他们的“无间断商务” 发挥重要作用。
3
2、VCS 基本概念
要搞懂 VCS,需要对下列这些基本概念搞清楚: (1)Cluser:就是集群,一个集群就是一群机器来共享同一组硬件存储设备,VCS 监 控这所有机器上运行的程序,出现任何问题,就将它在另一台机器上运行。一个集群 是通过同一个 cluster-ID 来识别的。这一组机器通过各种心跳线来保持通讯。 (2)Resources and resource types,资源包括硬件和软件资源,例如硬盘,网卡, 数据库,IP 地址,程序等等各种概念,这些都可以被 VCS 控制,状态基本就是两 种:ONLINE 和 OFFLINE。VCS 的作用就是监控这些资源。资源的概念是逻辑的,例如, 可以将 IP 地址和网卡设成一个资源。 (3)Agents 针对各种资源,可以开发各种 Agent,VCS 就是通过 Agent 来控制各种资 源,例如导入数据库,启动等等各种操作。有个朋友说过一句”Agent 的成熟度决定 了一个产品的成熟度”,呵呵,很有道理啊 (4)Resource Dependencies ,任何东西都有依赖性,何况资源阿,例如启动一个 web 服务资源,应该先把网卡和 IP 启动吧,如果网卡资源有问题,这台机器上所有的资 源产不多都应高 FAILOVER 了,这就是依赖性。 (5)Heartbeat 心跳,主流的保持集群同步的方式,就看大家谁做的好了。VERITAS 整 个通讯基本都是自己写的,主要包括 LLT(LOW Latency Thansport)和 GAB (Group Membership and Atomic Broadcast)。LLT 依赖于 MAC 地址实现稳定的底层协议,GAB 基于 LLT,实现 VCS 资源的同步。关于 LLT 和 GAB 有很多内容,这里就不叙述了。 (6)Splitbrian 恩,如果一个集群由于网络原因被分成了 2 个和多个部分,资源该在 哪些机器上启动呢,这个问题涉及内容很多,以后再讨论。
Veritas_Cluster用户使用手册
VCS用户使用手册日常管理 (4)命令列表 (4)命令一览 (8)VCS缺省值 (10)GABCONFIG设置选项 (11)VCS 安装包 SOLARIS (11)VCS 安装 (12)VCS系统上的进程 (12)VCS启动配置文件 (13)VCS操作命令 (13)LLT GAB命令操作 (13)离线维护过程 (25)LOGS 日志信息 (25)手工升级维护过程 (26)WEB 界面地址 (29)VCS QUICKSTART 命令 (29)GAB LLT 端口 (29)VERITAS TCP端口 (30)图形界面使用指南 (31)在使用图形管理界面之前 (31)设置图形显示界面 (31)关于集群管理器用户 (31)通过命令行添加一个用户 (31)启动集群管理器 (32)添加和设置一个集群面板 (32)集群管理器窗口 (33)集群监视器 (33)集群浏览器 (34)命令中心 (40)集群窗口框 (42)模板浏览窗口 (42)管理集群 (43)启动/关闭一个集群 (43)从集群管理器中管理用户。
(44)设置用户 (45)获取集群极其对象的状态信息 (46)打开、保存、关闭集群设置 (47)管理集群对象 (47)添加和删除服务组 (48)添加/删除资源 (49)添加/删除系统 (50)管理资源和服务组关系 (50)为一个服务组管理系统 (52)将服务组启动 (52)将服务组解除在线使用 (53)将资源启动在线 (54)使资源组脱机 (54)使用向导创建一个新的服务组 (55)浏览日志信息 (56)进口额外资源类型信息 (57)设置编辑者 (57)日常管理命令列表命令一览启动 VCS 启动图形界面hastart (-force) (-stale) hagui停止 VCS# hastop -local [-force | -evacuate]-local 在你运行命令的系统上停止had# hastop -sys system_name[-force | -evacuate]-sys在你定义的系统上停止had# hastop -all [-force] -all停止cluster中所有系统的had在线更改VCS配置信息haconf –makerw …make changes…haconf –dump –makrero 得到当前的Cluster状态# hastatus -summary代理的操作手工启动和停止代理. # haagent -start agent_name -sys system_name# haagent -stop agent_name -sys system_name 添加和删除用户服务组操作VCS缺省值私网中的心跳频率 = 0.5 sec可以在 /etc/llttab 修改 1/100th secs.Low-Pri 网络心跳频率 = 1.0 sec可以在 /etc/llttab 修改 1/100th secs.重起后切换的间隔 = 60 sec可以在案hasys's ShutdownTimeout属性中修改资源监控间隔 (资源类型) = 60 sec监控离线的资源 (资源类型) = 300 secLLT宣告系统死亡时间 = 21 sec(16 sec peer inactive + 5 sec GAB stable timeout value)Peer inactive可以用"set-timer" 在 /etc/llttab中修改草案1/100th secs. Stable timeout value可以用"gabconfig -t"修改.GAB-Had心跳 = 15 sec (通过VCS_GAB_TIMEOUT环境变量设置,单位milliseconds, 需要重起had)GAB允许HAD在panic前被杀掉的时间 (IOFENCE) = 15 sec (通过gabconfig –f设置)最多网络心跳 = 8最多磁盘心跳 = 4VCS had engine端口 14141VCS Web Server端口 = 8181LLT SAP 值 = 0xcafeGABCONFIG设置选项在系统上运行 "gabconfig -l" 会显示当前的GAB设置.可以通过gabconfig修改.例子:draconis # gabconfig -lGAB Driver ConfigurationDriver state : ConfiguredPartition arbitration: Disabled Control port seed : EnabledHalt on process death: DisabledMissed heartbeat halt: DisabledHalt on rejoin : DisabledKeep on killing : DisabledRestart : EnabledNode count : 2Disk HB interval (ms): 1000Disk HB miss count : 4IOFENCE timeout (ms) : 15000Stable timeout (ms) : 5000gabconfig的选项如何对应修改的值:Driver state -cPartition arbitration -sControl port seed -n2 or -xHalt on process death -pMissed heartbeat halt -bHalt on rejoin -jKeep on killing -kIOFENCE timeout (ms) -fStable timeout (ms) -tVCS 安装包 SOLARISVRTScsc m, VCS Cluster Manager (Java Console)♉ VRTSga b, Group Membership and Atomic Broadcast♉ VRTSll t, Low Latency Transport♉ VRTSper l, Perl for VRTSvcs♉ VRTSvc s, VERITAS Cluster Server♉ VRTSvcsa g, VCS Bundled Agents♉ VRTSvcsm g, VCS Message Catalogs♉ VRTSvcsm n, VCS Manual Pages♉ VRTSvcso r, VCS Oracle Enterprise Extension♉ VRTSvcs w, Cluster Manager (Web Console)♉ VRTSvli c, VERITAS License Utilities♉ VRTSwe b, VERITAS Web GUI Engine♉ VRTSvcsd c, VCS Documentation.VCS 安装安装必须按照如下顺序:VRTSlltVRTSgabVRTSvcsVRTSperlVRTScscmVRTSvcsorVCS系统上的进程在VCS系统上可以发现一些如下的进程:root 577 1 0 Sep 14 ? 16:53 /opt/VRTSvcs/bin/hadroot 582 1 0 Sep 14 ? 0:00/opt/VRTSvcs/bin/hashadowroot 601 1 0 Sep 14 ? 2:33/opt/VRTSvcs/bin/DiskGroup/DiskGroupAgent -type DiskGrouproot 603 1 0 Sep 14 ? 0:56/opt/VRTSvcs/bin/IP/IPAgent -type IProot 605 1 0 Sep 14 ? 10:17/opt/VRTSvcs/bin/Mount/MountAgent -type Mountroot 607 1 0 Sep 14 ? 11:23/opt/VRTSvcs/bin/NIC/NICAgent -type NICroot 609 1 0 Sep 14 ? 31:14/opt/VRTSvcs/bin/Oracle/OracleAgent -type Oracleroot 611 1 0 Sep 14 ? 3:34/opt/VRTSvcs/bin/SPlex/SPlexAgent -type SPlexroot 613 1 0 Sep 14 ? 8:06/opt/VRTSvcs/bin/Sqlnet/SqlnetAgent -type Sqlnetroot 20608 20580 0 12:04:03 pts/1 0:20/opt/VRTSvcs/bin/../gui/jre1.1.6/bin/../bin/sparc/green_threads/jre -mx128m VCSVCS启动配置文件VCS启动和停止脚本包括:/etc/rc2.d/S70llt/etc/rc2.d/S92gab/etc/rc3.d/S99vcs/etc/rc0.d/K10vcs核心VCS配置文件包括:/etc/VRTSvcs/conf/config/main.cf/etc/VRTSvcs/conf/config/types.cf/etc/llttab/etc/gabtab/etc/llthostsVCS操作命令停止VCS HASTOP在所有系统上停止VCS,同时不停止所有的服务组:/opt/VRTSvcs/bin/hastop -all -force注: 如果cluster是置于可读写模式,这是唯一的停止cluster的方法. 如果Cluster是可读写的, 你会得到一个.stale .再执行hastart不会启动已经离线的服务组.在本地停止VCS和服务组:/opt/VRTSvcs/bin/hastop -local在本地停止VCS, 并且不停止本地的服务组:/opt/VRTSvcs/bin/hastop -local -force在本地停止VCS并将服务组切换到另一台系统上:/opt/VRTSvcs/bin/hastop -local -evacuateLLT GAB命令操作/sbin/gabconfig -a 校验LLT和GAB在运行./sbin/lltstat -n 显示心跳状态/sbin/lltstat -nvv 显示最多32个节电的心跳和MAC地址./sbin/lltstat -p 显示端口状态/sbin/lltconfig -a list 显示LLT连接的MAC地址./sbin/lltconfig -T query 显示心跳的频率.在两个系统间测试LLT通信:/opt/VRTSllt/llttest -p 1>transmit -n <name of other node> -c 5000/opt/VRTSllt/llttest -p 1 (on other node)>receive -c 5000/opt/VRTSllt/lltdump -f <network link device>显示LLT通信./opt/VRTSllt/lltshow -n <node name> 显示LLT内核结构./opt/VRTSllt/dlpiping -vs <network link device>打开dlpiping服务器 server./opt/VRTSllt/dlpiping -c <network link device> <MAC address of other node>发送LLT包给另一节点并看反应.GABCONFIG LLTCONFIG 广播机制GAB和LLT在TCP/IP OSI栈的第二层工作. LLT是Data Link Provider Interface (DLPI)协议.GAB 处理: (1) Cluster成员管理(2) 管理心跳(3) 在Cluster广播信息LLT 处理: (1) Cluster的系统ID(2) 为多个cluster设置cluster ID.(3) 调试网络心跳频率.心跳频率在私有网是0.5秒, 在low-pri的网络上是1秒.用 "/sbin/lltconfig -T query"发现当前的频率.用gabconfig控制广播和启动.例子:如果Cluster有四个系统,/etc/gabtab应包括:/sbin/gabconfig -c -n 4VCS只有在四个系统都启动后才会启动.为了在少于四个的系统启动VCS, 执行gabconfig时加少于四的数值node count.如果没有其他系统可用,手工广播Cluster:/sbin/gabconfig -c -x确认LLT和GAB是否已启动:/sbin/gabconfig -aGAB Port Memberships=============================================================== Port a gen 4b2f0011 membership 01 Port h gen a6690001 membership 01"a" 表示GAB在通信, "h" 表示VCS在通信. "01" 表示系统0和系统1.gen表示随机生成的数值.GAB Port Memberships===================================Port a gen a36e0003 membership 01Port a gen a36e0003 jeopardy 1Port h gen fd570002 membership 01Port h gen fd570002 jeopardy 1该输出表明一根心跳已断,VCS在jeopardy模式.GAB Port Memberships=============================================================== Port a gen 3a24001f membership 01 Port h gen a10b0021 membership 0 Port h gen a10b0021 visible ;1该输出表明系统1的GAB与它的VCS daemons失去联系.GAB Port Memberships=============================================================== Port a gen 3a240021 membership 01 该输出表明VCS daemons在当前系统上已停止,但GAB和LLT还在运行.设置LLT配置信息:/sbin/lltconfig -a list关闭GAB:/sbin/gabconfig -U卸载GAB (或 LLT)模块:modinfo | grep <gab | llt> (发现模块号)modunload -i <module number>关闭LLT:lltconfig -U监控LLT状态的命令:/sbin/lltstat -n 显示心跳状态/sbin/lltstat -nvv 显示心跳和MAC地址/sbin/lltstat -p 显示端口状态/etc下重要的VCS配置文件:/etc/rc2.d/S70llt/etc/rc2.d/S92gab/etc/rc3.d/S99vcs/etc/llttab/etc/gabtab/etc/llthosts例子:Low Latency Transport配置文件 /etc/llttab:set-node cp01set-cluster 3link hme1 /dev/hme:1 - ether - -link qfe0 /dev/qfe:0 - ether - -link-lowpri qfe4 /dev/qfe:4 - ether - -startGroup Membership Atomic Broadcast配置文件/etc/gabtab: /sbin/gabconfig -c -n3Low Latency Hosts 表 /etc/llthosts:1 cp012 cp023 cp03这些文件启动LLT和GAB:/etc/rc2.d/S70llt/etc/rc2.d/S92gab/dev的link必须存在:ln -s ../devices/pseudo/clone@0:llt llt在 /devices/pseudo :crw-rw-rw- 1 root sys 11,109 Sep 21 10:38 clone@0:lltcrw-rw-rw- 1 root sys 143, 0 Sep 21 10:39 gab@0:gab_0crw-rw-rw- 1 root sys 143, 1 Feb 1 16:59 gab@0:gab_1crw-rw-rw- 1 root sys 143, 2 Sep 21 10:39 gab@0:gab_2crw-rw-rw- 1 root sys 143, 3 Sep 21 10:39 gab@0:gab_3crw-rw-rw- 1 root sys 143, 4 Sep 21 10:39 gab@0:gab_4crw-rw-rw- 1 root sys 143, 5 Sep 21 10:39 gab@0:gab_5crw-rw-rw- 1 root sys 143, 6 Sep 21 10:39 gab@0:gab_6crw-rw-rw- 1 root sys 143, 7 Sep 21 10:39 gab@0:gab_7crw-rw-rw- 1 root sys 143, 8 Sep 21 10:39 gab@0:gab_8crw-rw-rw- 1 root sys 143, 9 Sep 21 10:39 gab@0:gab_9crw-rw-rw- 1 root sys 143, 10 Sep 21 10:39 gab@0:gab_acrw-rw-rw- 1 root sys 143, 11 Sep 21 10:39 gab@0:gab_bcrw-rw-rw- 1 root sys 143, 12 Sep 21 10:39 gab@0:gab_ccrw-rw-rw- 1 root sys 143, 13 Sep 21 10:39 gab@0:gab_dcrw-rw-rw- 1 root sys 143, 14 Sep 21 10:39 gab@0:gab_ecrw-rw-rw- 1 root sys 143, 15 Sep 21 10:39 gab@0:gab_f/etc/name_to_major:llt 109gab 143------------------------------------------------------启动VCSVCS只在一台系统上本地启动. 如果main.cf在各个系统上不一致,你必须手工启动或重起其它的系统.启动有需要广播的main.cf文件的系统.启动VCS:/opt/VRTSvcs/bin/hastart如果其它系统已经启动和广播, 当前系统的VCS会载入其它系统的main.cf.启动VCS并设置配置文件为stale,即使它是有效的:/opt/VRTSvcs/bin/hastart -stale这会在cluster环境中生成.stale文件如果VCS无法正常启动, 配置信息会变成stale. 如果.stale文件存在并且你需要立刻启动cluster,使用"force"选项:/opt/VRTSvcs/bin/hastart -force在启动所有系统的VCS后,必须让VCS将cluster配置信息写到磁盘的main.cf文件.这会移掉.stale文件. .stale文件在强制启动后自动被删除./opt/VRTSvcs/bin/haconf -dump -makero当一个系统加入cluster中和cluster在线更改配置时,main.cf, types.cf和include 文件被自动写入.HASTATUS状态显示校验Cluster是否正常运行:/opt/VRTSvcs/bin/hastatus (会显示实时的VCS信息)/opt/VRTSvcs/bin/hastatus -sum/opt/VRTSvcs/bin/hasys -display启动和停止服务组在系统上可以手工启动和停止服务组.hagrp -online <service group> -sys <host name>hagrp -offline <service group> -sys <host name>服务组的切换和暂停切换服务组到其它系统:hagrp -switch <Group name> -to <Hostname of other Node>暂停服务组:hagrp -freeze <Service Group> -presistent安装程序的位置man帮助信息在如下目录:/opt/VRTSllt/man/opt/VRTSgab/man/opt/VRTSvcs/man大部分的程序在:/opt/VRTSvcs/bin常用监控命令hastatus -summary 显示VCS Cluster环境的当前状态hasys -list 列出Cluster中的系统hasys -display 得到每个系统的详细信息hagrp -list 列出所有的服务组hagrp -resources <Service Group> 列出服务组的所有资源hagrp -dep <Service Group> 列出服务组的依赖关系hagrp -display <Service Group> 列出服务组的详细信息haagent -list 列出所有的代理haagent -display <Agent> 列出一个代理的详细信息hatype -list 列出所有的资源类型hatype -display <Resource Type> 列出一个资源类型的详细信息hatype -resources <Resource Type> 列出一个资源类型的所有资源hares -list 列出所有的资源hares -dep <Resource> 列出一个资源的依赖性hares -display <Resource> 列出一个资源的详细信息haclus -display 列出Cluster的属性------------------------------------------------------VCS命令设置步骤大部分命令存放在 /opt/VRTSvcs/bin.hagrp 切换系统查看服务组,服务组资源,依赖关系,属性启动, 停止, 切换, 暂停, 解冻, 禁止, 允许,刷新, 禁止和允许服务组中的资源hasys 检查系统参数列出cluster中的系统, 属性, 资源类型,资源和资源属性暂停,解冻系统haconf 导出HA配置信息hauser 管理VCS用户信息hastatus 检查Cluster状态haclus 检查Cluster属性hares 查看资源启动和停止资源, 查明状态, 清楚错误信息haagent 列出代理, 代理状态, 启动和停止代理hastop 停止VCShastart 启动VCShagui 改变Cluster配置信息hacf 生成main.cf文件. 确认本地配置信息haremajor 修改共享磁盘的Major number gabconfig 查看GAB的状态gabdiskhb 控制GAB心跳磁盘lltstat 查看llt状态其它进程:had VCS engine. 是高优先级的实时进程. hashadow 监控和重起VCS engine.halink 监控Cluster间的连接.HACF配置确认本地的配置信息有效:cd /etc/VRTSvcs/conf/confighacf -verify .生成main.cf文件:hacf -generate从main.cf生成main.cmd:hacf -cftocmd .从main.cmd生成main.cf:hacf -cmdtocf .HACONF配置文件MAIN.CF将VCS配置文件(main.cf)改为可读写:haconf -makerw将VCS配置文件改为只读.haconf -dump -makero例子:添加一个VCS用户:haconf -makerwhauser -add <username>haconf -dump -makero将一个新系统"sysa"加入服务组的系统列表中并设置优先级2:haconf -makerwhagrp -modify group1 SystemList -add sysa 2haconf -dump -makeroHASYS停止重起和切换如果系统在60秒内关机重起会导致切换为修改这个时间, 在每个系统执行:haconf -makerwhasys -modify <system name> ShutdownTimeout <seconds> haconf -dump -makero如果你不希望在重起时发生切换,将时间设成0VCS代理代理存放在/opt/VRTSvcs/bin.典型的代理包括:CLARiiON (commercial)DiskDiskGroupElifNoneFileNoneFileOnOffFileOnOnlyIPIPMultiNICMountMultiNICANFS (used by NFS server)NICOracle (Part of Oracle Agent - commercial)PhantomProcessProxyServiceGroupHBShare (used by NFS server)Sqlnet (Part of Oracle Agent - commercial)Volume这些代理会出现在进程表中:/opt/VRTSvcs/bin/Volume/VolumeAgent -type Volume/opt/VRTSvcs/bin/MultiNICA/MultiNICAAgent -type MultiNICA/opt/VRTSvcs/bin/Sqlnet/SqlnetAgent -type Sqlnet/opt/VRTSvcs/bin/Oracle/OracleAgent -type Oracle/opt/VRTSvcs/bin/IPMultiNIC/IPMultiNICAgent -type IPMultiNIC /opt/VRTSvcs/bin/DiskGroup/DiskGroupAgent -type DiskGroup/opt/VRTSvcs/bin/Mount/MountAgent -type Mount/opt/VRTSvcs/bin/Wig/WigAgent -type Wig删除VCS软件为删除VCS软件包,执行如下命令:pkgrm <VCS packages>rm -rf /etc/VRTSvcs /var/VRTSvcsinit 6MAIN.CF语法main.cf的结构如下:* include语句* cluster定义* system定义* snmp定义* service group定义* resource type定义* resource定义* resource dependency语句* service group dependency语句如下是main.cf的模板:####include "types.cf"include "<Another types file>.cf"...cluster <Cluster name> (UserNames = { root = <Encrypted password> }CounterInterval = 5Factor = { runque = 5, memory = 1, disk = 10, cpu = 25,network = 5 }MaxFactor = { runque = 100, memory = 10, disk = 100, cpu = 100, network = 100 })system <Hostname of the primary node>system <Hostname of the failover node>group <Service Group Name> (SystemList = { <Hostname of primary node>, <Hostname offailover node> }AutoStartList = { <Hostname of primary node> })<Resource Type> <Resource> (<Attribute of Resource> = <Attribute value><Attribute of Resource> = <Attribute value><Attribute of Resource> = <Attribute value>...)...<Resource Type> requires <Resource Type>...// resource dependency tree//// group <Service Group name>// {// <Resource Type> <Resource>// {// <Resource Type> <Resource>// .// .// .// {// <Resource Type> <Resource>// }// }// <Resource Type> <Resource>// }TYPES.CF语法如下是types.cf的例子:######type <Resource Type> (static str ArgList[] = { <attribute>, <attribute>, ... } NameRule = resource.<attribute>static str Operations = <value>static int NumThreads = <value>static int OnlineRetryLimit = <value>str <attribute>str <attribute> = <value>int <attribute> = <value>int <attribute>)...GROUP类型Failover服务组只能在一个系统上在线.Parallel服务组可以在多个系统上同时在线.服务组在三个条件下会在线:1. 用户发出命令2. 重起机器3. 发生切换操作通信方式VCS系统通过如下几种方式通信.1. 网络通道 (最多 8).2. 心跳盘或服务组心跳盘,GAB控制基于磁盘的通信.注: 心跳盘并不存放cluster的状态信息离线维护过程如下是如何在保证服务组在线的情况下进行文件系统维护的例子. 它包括在不影响其它资源和停止服务组的情况下停止某个资源1. haconf -makerw2. hagrp -freeze <service group> -persistent3. haconf -dump -makero现在进行维护工作,如卸载一个文件系统.如果你不希望在维护过程中监控资源,可以在维护前执行:hagrp -disableresources <service group>在维护后,重新装载文件系统4. haconf -makerw5. hagrp -unfreeze <service group> -persistent如果你禁止了一个资源,hagrp -enableresources <service group>6. haconf -dump -makero查找哪个资源还没启动.7. hastatus -sum8. hares -clear <mount resource>9. hares -online <mount resource> -sys <host name>确认服务组已经完全启动.10. hastatus -sumLOGS 日志信息VCS日志存放在:/var/VRTSvcs/log这些日志显示VCS engine和资源类型的错误.例子:-rw-rw-rw- 1 root other 22122 Aug 29 08:03 Application_A.log -rw-rw-rw- 1 root root 9559 Aug 15 13:02 DiskGroup_A.log-rw-rw-rw- 1 root other 296 Jul 17 17:55DiskGroup_ipm_A.log-rw-rw-rw- 1 root root 746 Aug 17 16:27 FileOnOff_A.log-rw-rw-rw- 1 root root 609 Jun 19 18:55 IP_A.log-rw-rw-rw- 1 root root 1130 Jul 21 14:33 Mount_A.log-rw-rw-rw- 1 root other 5218 May 14 13:16 NFS_A.log-rw-rw-rw- 1 root root 7320 Aug 15 12:59 NIC_A.log-rw-rw-rw- 1 root other 1042266 Aug 23 10:46 Oracle_A.log-rw-rw-rw- 1 root root 149 Mar 20 13:10 Oracle_ipm_A.log -rw-rw-rw- 1 root other 238 Jun 1 13:07 Process_A.log-rw-rw-rw- 1 root other 2812 Mar 21 11:45ServiceGroupHB_A.log-rw-rw-rw- 1 root root 6438 Jun 19 18:55 Sqlnet_A.log-rw-rw-rw- 1 root root 145 Mar 20 13:10 Sqlnet_ipm_A.log -rw-r--r-- 1 root other 16362650 Aug 31 08:58 engine_A.log-rw-r--r-- 1 root other 313 Mar 20 13:11 hacf-err_A.log-rw-rw-rw- 1 root root 1615 Jun 29 16:30 hashadow-err_A.log-rw-r--r-- 1 root other 2743342 Aug 1 17:12 hashadow_A.log drwxrwxr-x 2 root sys 3072 Aug 27 12:41 tmp这些标志出现在日志中.TAG_A: VCS内部信息. 需要联系客户服务.TAG_B: 指出错误和异常.TAG_C: 指出警告.TAG_D: 指出正常操作.TAG_E: 指出代理的状态.你可以通过修改资源类型的属性来提高日志的等级(TAG F-Z messages). 缺省是"error". 你可以选择 "none", "all", "debug", or "info".hatype -modify <Resource Type> LogLevel <option>手工升级维护过程1. 打开配置文件, 暂停所有的服务组, 关闭配置文件.haconf -makerwhagrp -freeze <Service Group> -persistenthaconf -dump makero2. 关闭VCS但保持服务组启动.hastop -all -force3. 确认所有系统上VCS已经停止.gabconfig -a4. 确认在磁盘上没有运行GAB.gabdiskhb -l如果有,在每个系统上删除.gabdiskhb -d5. 关闭GAB并确认它已经停止.gabconfig -Ugabconfig -a6. 找到GAB内核模块号并卸载.modinfo | grep gabmodunload -i <GAB module number>7. 关闭. 在每个系统上运行:lltconfig -U8. 找到LLT内核模块号并卸载.modinfo | grep lltmodunload -i <LLT module number>9. 在每个系统上重新命名VCS启动和停止脚本.cd /etc/rc2.dmv S70llt s70lltmv S92gab s92gabcd /etc/rc3.dmv S99vcs s99vcscd /etc/rc0.dmv K10vcs k10vcs10. 备份/etc/VRTSvcs/conf/config/main.cf.备份/etc/VRTSvcs/conf/config/types.cf.11. 删除旧VCS包.pkgrm VRTScscm VRTSvcs VRTSgab VRTSllt VRTSperl 安装新的VCS包.恢复main.cf和types.cf.12. 启动LLT, GAB和VCS.cd /etc/rc2.dmv s70llt S70lltmv s92gab S92gabcd /etc/rc3.dmv s99vcs S99vcscd /etc/rc0.dmv k10vcs K10vcs/etc/rc2.d/S70llt start/etc/rc2.d/S92gab/etc/rc3.d/S99vcs start13. 查看VCS状态.hastatushastatus -sum14. 解冻所有的服务组.haconf -makerwhagrp -unfreeze <Service Group> -persistenthaconf -dump -makeroVCS 系统名如果你经常改动系统的主机名, 最好让VCS使用唯一个名字.为了VCS不使用机器的主机名而使用自己的名字,需要在/etc/llttab 定义/etc/VRTSvcs/conf/sysname. 在main.cf中使用VCS的名字.例子:/etc/llthosts:0 sysA1 sysB/etc/VRTSvcs/conf/sysname:sysA/etc/VRTSvcs/conf/sysname:sysB/etc/llttab:set-node /etc/VRTSvcs/conf/sysnameHAD VCS版本查询had版本信息had -versionWEB 界面地址VCS http://<cluster IP>:8181/vcsVCSQS http://<cluster IP>:8181/vcsqsVCS QUICKSTART 命令VCS QuickStart只有一些简单命令:vcsqs -startvcsqs -stop [-shutdown] [-all] [-evacuate] vcsqs -grp [<group>]vcsqs -res [<resource>]vcsqs -config [<resource>]vcsqs -sysvcsqs -online <group> -sys <system>vcsqs -offline <group> [-sys <system>]vcsqs -switch <group> [-sys <system>]vcsqs -freeze <group>vcsqs -unfreeze <group>vcsqs -clear <group> [-sys <system>]vcsqs -flush <group> [-sys <system>]vcsqs -autoenable <group> -sys <system>vcsqs -usersvcsqs -addadmin <username>vcsqs -addguest <username>vcsqs -deleteuser <username>vcsqs -updateuser <username>vcsqs -intervals [<type>]vcsqs -modifyinterval <type> <value>vcsqs -versionvcsqs -helpGAB LLT 端口a GAB internal useb I/O Fencingd ODM (Oracle Disk Manager)f CFS (VxFS cluster feature)h VCS engine (HAD)j vxclk monitor portk vxclk synch portl vxtd (SCRP) portm vxtd replication porto vcsmm (Oracle RAC/OPS membership module)q qlog (VxFS QuickLog)s Storage Appliancet Storage Applianceu CVM (Volume Manager cluster feature) v CVMw CVMx GAB test user clientz GAB test kernel clientVERITAS TCP端口8181 VCS and GCM web server14141 VCS engine14142 VCS engine test14143 gabsim14144 notifier14145 GCM port14147 GCM slave port14149 tdd Traffic Director port14150 cmd server14151 GCM DNS14152 GCM messenger14153 VCS Simulator15151 VCS GAB TCP port图形界面使用指南在使用图形管理界面之前在你使用集群管理器之前,你必须:✓设置图形管理界面;✓正式设置中包含用户账号,如用户账号不存在,你必须创建一个;✓开始使用集群管理✓创建集群面板设置图形显示界面在UNIX工作站中设置界面1.键入下面命令,同意系统许可显示在桌面上:xhost +2.在创建集群管理器的地方设置外观参数DISPLAY,例如,键入下面命令显示在系统“myws”上export DISPLAY=myws:0关于集群管理器用户集群管理器有三种用户,以分配给他们的权限为基础:访问者,操作员和管理员◆如果用户账号是访问者权限,用户可以查看和使用集群,他们不可以修改设置或执行管理性任务。
Veris Industries 流量监测设备安装指南说明书
Split-Core, Adjustable Current Switchwith 120VAC/DC Outputquick install1. Plan the installation:Locate a mounting surface for the removable mounting bracket that will allow themonitored conductor to pass through the iris, or "window" when it is installed. Determine cable routing for the controller connection, allowing wiring to reach the mounting location.2. Install mounting bracketDrill holes to mount the bracket to the chosen surface using the included screws.3. Wire the output connections between the sensor and the controller (solid-state contact).4. Snap the sensor over the wire to be monitored and clip the assembly to the mounting bracket.5. Calibrate the sensor (see page 2) with the load running normally.6. Close up and power up!Installer's SpecificationsH909909DimensionsAmperage Range 2.5 to 135A Continuous*Sensor Supply Voltage Induced from monitored conductorIsolation600VAC rms.Temperature Range -15º to 60º CHumidity Range 10-90% RH non-condensing Status OutputN.O. 200mA@120VAC/DCOn-State Resistance (max) 20 ohms Off-State Resistance (min)1 megohm*When operating at 50Hz, low threshold may be 2.6ARemovable Mounting BracketThe H909 is a current-sensitive switching device which monitors current (amperage)in the conductor passing through it. A change in amperage in the monitored conductor which crosses the switch (setpoint) threshold plus the hysteresis value will cause the resistance of the status output to change state, similar to the action of amechanical switch. In this model, the setpoint is adjustable through the action of atwenty (20) turn potentiometer (see the CALIBRATION section). The status output issuitable for connection to building controllers, or other appropriate data acquisition equipment operating at up to 30 volts. The H909 requires no external power supply to generate its output.operationnotestroubleshootingcalibrationFor load currents less than sensor minimum rating:Wrap the monitored conductor through the center hole and around the sensor body to produce multiple turns through the "window." This increases the current measured by the transducer.• Controller must be programmed to account for the extra turns. e.g., if four turns pass through the sensor (as shown) the normal controller reading must be divided by 4.DANGER: 5A CTs CAN pREsENT hAzARDous volTAGEs.INsTAll CTs IN ACCoRDANCE wITh mANufACTuRER's INsTRuCTIoNs.TERmINATE ThE CT sECoNDARy bEfoRE ApplyING CuRRENT.For load currents greater than sensor maximum rating:Use a 5 Amp (H681x series) Current Transformer (CT) as shown.Establish normal load conditions.Turn setpoint screw clockwise until Status OPEN LED turns ON.S-l-o-w-l-y turn the screw counter-clockwise until the Status CLOSED LED just turns ON.Turn the screw an additional 1/4 turncounter-clockwise for operational margin.3. Turn the setpointscrew an additional 1/4 turn clockwise for operational margin.Turn setpoint screw counter-clockwise2.S-l-o-w-l-y turn the setpoint screw clockwiseuntil the Status OPEN LED just turns ON.3.+adjustment screw1.adjustment screw+。
VERITAS实用操作手册(经验版)
VERITAS9.0实用操作手册(经验版)Kernel ()目录●安装指南一、服务器端的安装二、服务器端的配置二、客户端的安装三、安装过程中的常见问题●应用指南一、WIN2000系统的备份/恢复1、提交备份作业1、恢复到同一台计算机上2、异机的恢复(恢复到到不同的计算机上)●SQL数据库服务器的备份与恢复1、仅仅数据库损坏,手工恢复系统库以及用户数据库2、灾难恢复SQL数据库3、重定向恢复数据库安装指南说明:本操作指南中使用的VRITAS的版本号为9.1.4691,是目前最新版的VERITAS EXEC版本。
本操作手册仅仅是一个快速入门手册,更详细的操作请参考《Veritas Exec用户参考手册》对于VRITAS9.0的安装有两种方式:升级安装和全新安装。
升级安装是指企业中原先在使用VRITAS8.6产品,那么你得到新的9.0产品时一般是VERITAS 公司的升级光盘,这个升级光盘是不能够全新安装的,只能从V8.6版本上升级到9.0。
在光盘的协议中会提供一组升级用的序列号。
这样就麻烦一些,要先安装V8.6然后再升级到9.0。
关键就是序列号的问题,因为只有升级序列号,如果有全新的序列号,那么就可以全新安装的。
因为在从V8.6升级到V9.0的时候,VERITAS会生成一组新的安装序列号。
因此只要把安装后的SN记录下来,就可以把升级安装变成全新的完全安装了。
全新安装问题会少很多,但是客户机必须要把原来的V8.6组件全部卸载掉,然后再安装V9.0组件。
安装前客户端和服务器端有几个前提要注意一下:1.MDAC的版本也有要求,要2.7以上,WINDOWS 2000 SERVER中的是2.6 看MDAC的版本号在注册表的:\HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\DataAccess中可以看到。
2.介质服务器端需要的安装SQL2000客户端(注意是客户端,不是服务器端),主要是为了备份SQL2000 SERVER需要。
Veritas安装配置手册-CFS
山西电信CFSHA安装配置报告Oct, 2008Symantec Consulting Services .文件信息版本Subject Symantec 大中国区顾问服务VersionAuthor 胡华波Comments关于作者该文件可以与下列作者取得联系胡华波ConsultantSymantec 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 Linux1.1 环境准备配置ssh于每台主机上建立ssh public key[root@SX-MMS-SA-1 rhel4_i686]# ssh-keygen -t rsaGenerating 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_keysroot@sx-mms-sa-2's password:id_rsa.pub 100% 226 0.2KB/s 00:001.2 修改安装脚本进入安装路径[root@SX-MMS-SA-1 install]# pwd/sf/rhel4_i686/storage_foundation_cluster_file_system/scripts/install[root@SX-MMS-SA-1 install]# lsCPI41LINUX.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 -installonlyVERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATIONPROGRAMCopyright (c) 2005 VERITAS Software Corporation. All rights reserved.VERITAS, the VERITAS Logo and all other VERITAS product names and slogans are trademarks orregistered 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-1Checking system communication:installsfcfs requires that ssh commands used between systems execute without prompting forpasswords or confirmations. If installsfcfs asks for a login password, stop installsfcfsand run it again with the ssh configured for passwordless logins, or configure rsh and usethe -usersh option.Verifying communication with SX-MMS-SA-2 .............................. ping successfulAttempting ssh -x with SX-MMS-SA-2 .................................. ssh -x successfulAttempting scp with SX-MMS-SA-2 ........................................ scp successfulChecking OS version on SX-MMS-SA-2 ............................... Linux 2.6.9-78.ELsmpChecking VRTScavf rpm ................................................... not installedChecking Machine Type on SX-MMS-SA-2 (i686)Checking Linux Distribution on SX-MMS-SA-2 ................................. Redhat 4ESCreating log directory on SX-MMS-SA-2 ............................................ DoneChecking OS version on SX-MMS-SA-1 ............................... Linux 2.6.9-78.ELsmpChecking VRTScavf rpm ................................................... not installedChecking Machine Type on SX-MMS-SA-1 (i686)Checking Linux Distribution on SX-MMS-SA-1 ................................. Redhat 4ESLogs 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 PROGRAMVERITAS Infrastructure rpm installation:Installing VERITAS Infrastructure rpms on SX-MMS-SA-2:Checking VRTSvlic rpm ................................................... not installedChecking VRTScpi rpm .................................................... not installedChecking file system space ................................ required space is availableCopying VRTSvlic rpm to SX-MMS-SA-2 .............................................. DoneInstalling VRTSvlic 3.02 on SX-MMS-SA-2 .......................................... DoneCopying VRTScpi rpm to SX-MMS-SA-2 ............................................... DoneInstalling VRTScpi 4.1.0.151 on SX-MMS-SA-2 ...................................... DoneInstalling VERITAS Infrastructure rpms on SX-MMS-SA-1:Checking VRTSvlic rpm ................................................... not installedChecking VRTScpi rpm .................................................... not installedChecking file system space ................................ required space is availableInstalling VRTSvlic 3.02 on SX-MMS-SA-1 .......................................... DoneInstalling 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 PROGRAMEach system requires a SFCFS product license before installation. License keys foradditional 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 thefirst system.SFCFS Licensing Verification:Checking SFCFS license key on SX-MMS-SA-2 ................................ not licensedEnter 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-2Do 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-1Checking SFCFS license key on SX-MMS-SA-1 ... Storage Foundation Cluster File System HA DemoDo 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 PROGRAMinstallsfcfs can install the following optional SFCFS rpms:VRTSobgui VERITAS Enterprise AdministratorVRTSvcsmn VERITAS Cluster Server Man PagesVRTSvcsApache VERITAS Cluster Server Apache AgentVRTSvcsdc VERITAS Cluster Server DocumentationVRTScscm VERITAS Cluster Server Cluster ManagerVRTScssim VERITAS Cluster Server SimulatorVRTSvmdoc VERITAS Volume Manager DocumentationVRTSvmman VERITAS Volume Manager Manual PagesVRTSlvmconv VERITAS Linux LVM to VxVM ConverterVRTSap VERITAS Action ProviderVRTStep VERITAS Task ProviderVRTSfsdoc VERITAS File System DocumentationVRTSfsmnd VERITAS File System Software Developer Kit Manual Pages1) Install all of the optional rpms2) Install none of the optional rpms3) View rpm descriptions and select optional rpmsSelect the optional rpms to be installed on all systems? [1-3,q,?] (1)VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION PROGRAMinstallsfcfs will install the following SFCFS rpms:VRTSperl VERITAS Perl 5.8.0 RedistributionVRTSob VERITAS Enterprise Administrator ServiceVRTSobgui VERITAS Enterprise AdministratorVRTSllt VERITAS Low Latency TransportVRTSgab VERITAS Group Membership and Atomic BroadcastVRTSvxfen VERITAS I/O FencingVRTSvcs VERITAS Cluster ServerVRTSvcsmg VERITAS Cluster Server Message CatalogsVRTSvcsag VERITAS Cluster Server Bundled AgentsVRTSvcsdr VERITAS Cluster Server Disk Reservation Modules and Utilities VRTSvcsmn VERITAS Cluster Server Man PagesVRTSvcsApache VERITAS Cluster Server Apache AgentVRTSvcsdc VERITAS Cluster Server DocumentationVRTSjre VERITAS Java Runtime Environment RedistributionVRTScscm VERITAS Cluster Server Cluster ManagerVRTScssim VERITAS Cluster Server SimulatorVRTScscw VERITAS Cluster Server Configuration WizardsVRTSweb VERITAS Java Web ServerVRTSvcsw VERITAS Cluster Manager (Web Console)Press [Enter] to continue:...continued:VRTScutil VERITAS Cluster UtilitiesVRTSvxvmcommon VERITAS Volume Manager Common Package.VRTSvxvmplatform VERITAS Volume Manager Platform Specific Package.VRTSvmdoc VERITAS Volume Manager DocumentationVRTSvmman VERITAS Volume Manager Manual PagesVRTSvmpro VERITAS Volume Manager Management Services ProviderVRTSfspro VERITAS File System Management Services ProviderVRTSalloc VERITAS Volume Manager Intelligent Storage ProvisioningVRTSddlpr VERITAS Device Discovery Layer Services ProviderVRTSlvmconv VERITAS Linux LVM to VxVM ConverterVRTSvxfscommon VERITAS File System Common Package.VRTSvxfsplatform VERITAS File System Platform Specific Package.VRTSap VERITAS Action ProviderVRTStep VERITAS Task ProviderVRTSfsman VERITAS File System Manual PagesVRTSfsdoc VERITAS File System DocumentationVRTSfssdk VERITAS File System Software Developer KitVRTSfsmnd VERITAS File System Software Developer Kit Manual PagesVRTScavf VERITAS Cluster Server Agents for Cluster File SystemVRTSglm VERITAS Group Lock ManagerPress [Enter] to continue:VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION PROGRAMChecking system installation requirements:Checking SFCFS installation requirements on SX-MMS-SA-2:Checking VRTSperl rpm ................................................... not installedChecking VRTSob rpm ..................................................... not installedChecking VRTSobgui rpm .................................................. not installedChecking VRTSllt rpm .................................................... not installedChecking VRTSgab rpm .................................................... not installedChecking VRTSvxfen rpm .................................................. not installedChecking VRTSvcs rpm .................................................... not installedChecking VRTSvcsmg rpm .................................................. not installedChecking VRTSvcsag rpm .................................................. not installedChecking VRTSvcsdr rpm .................................................. not installedChecking VRTSvcsmn rpm .................................................. not installedChecking VRTSvcsApache rpm .............................................. not installedChecking VRTSvcsdc rpm .................................................. not installedChecking VRTSjre rpm .................................................... not installedChecking VRTScscm rpm ................................................... not installedChecking VRTScssim rpm .................................................. not installedChecking VRTScscw rpm ................................................... not installedChecking VRTSweb rpm .................................................... not installedChecking VRTSvcsw rpm ................................................... not installedChecking VRTScutil rpm .................................................. not installedChecking VRTSvxvmcommon rpm ............................................. not installed Checking VRTSvxvmplatform rpm ........................................... not installed Checking VRTSvmdoc rpm .................................................. not installedChecking VRTSvmman rpm .................................................. not installedChecking VRTSvmpro rpm .................................................. not installedChecking VRTSfspro rpm .................................................. not installedChecking VRTSalloc rpm .................................................. not installedChecking VRTSddlpr rpm .................................................. not installedChecking VRTSlvmconv rpm ................................................ not installedChecking VRTSvxfscommon rpm ............................................. not installed Checking VRTSvxfsplatform rpm ........................................... not installedChecking VRTSap rpm ..................................................... not installedChecking VRTStep rpm .................................................... not installedChecking VRTSfsman rpm .................................................. not installedChecking VRTSfsdoc rpm .................................................. not installedChecking VRTSfssdk rpm .................................................. not installedChecking VRTSfsmnd rpm .................................................. not installedChecking VRTScavf rpm ................................................... not installedChecking VRTSglm rpm .................................................... not installedChecking file system space ................................ required space is available Checking for patch(1) rpm ..................................... version 2.5.4 installedChecking vxsvc process .................................................... not runningChecking had process ...................................................... not runningChecking hashadow process ................................................. not runningChecking CmdServer process ................................................ not runningChecking notifier process ................................................. not runningChecking vxfen driver ..................................................... not runningChecking gab driver ....................................................... not runningChecking llt driver ....................................................... not running Checking SFCFS installation requirements on SX-MMS-SA-1:Checking VRTSperl rpm ................................................... not installedChecking VRTSob rpm ..................................................... not installedChecking VRTSobgui rpm .................................................. not installedChecking VRTSllt rpm .................................................... not installedChecking VRTSgab rpm .................................................... not installedChecking VRTSvxfen rpm .................................................. not installedChecking VRTSvcs rpm .................................................... not installedChecking VRTSvcsmg rpm .................................................. not installedChecking VRTSvcsag rpm .................................................. not installedChecking VRTSvcsdr rpm .................................................. not installedChecking VRTSvcsmn rpm .................................................. not installedChecking VRTSvcsApache rpm .............................................. not installed Checking VRTSvcsdc rpm .................................................. not installedChecking VRTSjre rpm .................................................... not installedChecking VRTScscm rpm ................................................... not installedChecking VRTScssim rpm .................................................. not installedChecking VRTScscw rpm ................................................... not installedChecking VRTSweb rpm .................................................... not installedChecking VRTSvcsw rpm ................................................... not installedChecking VRTScutil rpm .................................................. not installedChecking VRTSvxvmcommon rpm ............................................. not installed Checking VRTSvxvmplatform rpm ........................................... not installed Checking VRTSvmdoc rpm .................................................. not installedChecking VRTSvmman rpm .................................................. not installedChecking VRTSvmpro rpm .................................................. not installedChecking VRTSfspro rpm .................................................. not installedChecking VRTSalloc rpm .................................................. not installedChecking VRTSddlpr rpm .................................................. not installedChecking VRTSlvmconv rpm ................................................ not installedChecking VRTSvxfscommon rpm ............................................. not installed Checking VRTSvxfsplatform rpm ........................................... not installedChecking VRTSap rpm ..................................................... not installedChecking VRTStep rpm .................................................... not installedChecking VRTSfsman rpm .................................................. not installedChecking VRTSfsdoc rpm .................................................. not installedChecking VRTSfssdk rpm .................................................. not installedChecking VRTSfsmnd rpm .................................................. not installedChecking VRTScavf rpm ................................................... not installedChecking VRTSglm rpm .................................................... not installedChecking file system space ................................ required space is availableChecking for patch(1) rpm ..................................... version 2.5.4 installedChecking vxsvc process .................................................... not runningChecking had process ...................................................... not runningChecking hashadow process ................................................. not runningChecking CmdServer process ................................................ not runningChecking notifier process ................................................. not runningChecking vxfen driver ..................................................... not runningChecking gab driver ....................................................... not runningChecking llt driver ....................................................... not runningInstallation requirement checks completed successfully.Press [Enter] to continue:VERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION PROGRAMI/O FencingI/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 configureI/O Fencing in order to properly set the expected Fencing mode.See the Storage Foundation Cluster File System Installationand Administration Guide for more information on I/O Fencing.Will you be configuring I/O Fencing? [y,n,q,?] (y) nVERITAS STORAGE FOUNDATION CLUSTER FILE SYSTEM 4.1 INSTALLATION PROGRAMSFCFS 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:Copying VRTSperl rpm to SX-MMS-SA-2 ............................... Done 1 of 117 stepsInstalling VRTSperl 4.1.0.0 on SX-MMS-SA-1 ........................ Done 2 of 117 stepsInstalling VRTSperl 4.1.0.0 on SX-MMS-SA-2 ........................ Done 3 of 117 stepsCopying VRTSob rpm to SX-MMS-SA-2 ................................. Done 4 of 117 stepsInstalling VRTSob 3.2.540 on SX-MMS-SA-1 .......................... Done 5 of 117 stepsInstalling VRTSob 3.2.540 on SX-MMS-SA-2 .......................... Done 6 of 117 stepsInstalling VRTSobgui 3.2.540 on SX-MMS-SA-1 ....................... Done 7 of 117 stepsInstalling VRTSllt 4.1.00.10 on SX-MMS-SA-1 ....................... Done 8 of 117 stepsCopying VRTSobgui rpm to SX-MMS-SA-2 .............................. Done 9 of 117 stepsInstalling VRTSgab 4.1.00.10 on SX-MMS-SA-1 ...................... Done 10 of 117 stepsInstalling VRTSvxfen 4.1.00.10 on SX-MMS-SA-1 .................... Done 11 of 117 stepsInstalling VRTSobgui 3.2.540 on SX-MMS-SA-2 ...................... Done 12 of 117 stepsCopying VRTSllt rpm to SX-MMS-SA-2 ............................... Done 13 of 117 stepsInstalling VRTSllt 4.1.00.10 on SX-MMS-SA-2 ...................... Done 14 of 117 stepsCopying VRTSgab rpm to SX-MMS-SA-2 ............................... Done 15 of 117 stepsInstalling VRTSvcs 4.1.00.10 on SX-MMS-SA-1 ...................... Done 16 of 117 stepsInstalling 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 stepsCopying VRTSvxfen rpm to SX-MMS-SA-2 ............................. Done 20 of 117 stepsInstalling VRTSvcsdr 4.1.00.10 on SX-MMS-SA-1 .................... Done 21 of 117 stepsInstalling 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 stepsInstalling 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 stepsCopying VRTSvcs rpm to SX-MMS-SA-2 ............................... Done 26 of 117 stepsInstalling VRTSjre 1.4 on SX-MMS-SA-1 ............................ Done 27 of 117 stepsInstalling 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 stepsCopying VRTSvcsmg rpm to SX-MMS-SA-2 ............................. Done 30 of 117 stepsInstalling VRTScssim 4.1.00.10 on SX-MMS-SA-1 .................... Done 31 of 117 stepsInstalling 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 stepsCopying VRTSvcsag rpm to SX-MMS-SA-2 ............................. Done 34 of 117 stepsInstalling VRTSweb 4.2 on SX-MMS-SA-1 ............................ Done 35 of 117 stepsInstalling 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 stepsInstalling VRTSvcsw 4.4.00.10 on SX-MMS-SA-1 ..................... Done 38 of 117 stepsInstalling VRTSvcsdr 4.1.00.10 on SX-MMS-SA-2 .................... Done 39 of 117 stepsCopying VRTSvcsmn rpm to SX-MMS-SA-2 ............................. Done 40 of 117 stepsInstalling VRTScutil 4.1.00.10 on SX-MMS-SA-1 .................... Done 41 of 117 stepsInstalling VRTSvcsmn 4.1.00.10 on SX-MMS-SA-2 .................... Done 42 of 117 stepsCopying VRTSvcsApache rpm to SX-MMS-SA-2 ......................... Done 43 of 117 stepsInstalling 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 stepsInstalling VRTSvcsdc 4.1.00.10 on SX-MMS-SA-2 .................... Done 47 of 117 stepsCopying VRTSjre rpm to SX-MMS-SA-2 ............................... Done 48 of 117 stepsInstalling VRTSjre 1.4 on SX-MMS-SA-2 ............................ Done 49 of 117 stepsInstalling 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 stepsInstalling VRTSvmdoc 4.1.00.10 on SX-MMS-SA-1 .................... Done 52 of 117 stepsInstalling VRTScscm 4.4.00.10 on SX-MMS-SA-2 ..................... Done 53 of 117 stepsInstalling VRTSvmman 4.1.00.10 on SX-MMS-SA-1 .................... Done 54 of 117 stepsCopying VRTScssim rpm to SX-MMS-SA-2 ............................. Done 55 of 117 stepsInstalling VRTSvmpro 4.1.00.10 on SX-MMS-SA-1 .................... Done 56 of 117 stepsInstalling VRTSfspro 4.1.00.10 on SX-MMS-SA-1 .................... Done 57 of 117 stepsInstalling VRTScssim 4.1.00.10 on SX-MMS-SA-2 .................... Done 58 of 117 stepsCopying VRTScscw rpm to SX-MMS-SA-2 .............................. Done 59 of 117 stepsInstalling VRTSalloc 4.1.00.10 on SX-MMS-SA-1 .................... Done 60 of 117 stepsInstalling VRTScscw 4.1.00.10 on SX-MMS-SA-2 ..................... Done 61 of 117 stepsInstalling VRTSddlpr 4.1.00.10 on SX-MMS-SA-1 .................... Done 62 of 117 stepsCopying VRTSweb rpm to SX-MMS-SA-2 ............................... Done 63 of 117 stepsInstalling VRTSlvmconv 4.1.00.10 on SX-MMS-SA-1 .................. Done 64 of 117 stepsInstalling 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 stepsCopying VRTSvcsw rpm to SX-MMS-SA-2 .............................. Done 67 of 117 stepsInstalling VRTSvcsw 4.4.00.10 on SX-MMS-SA-2 ..................... Done 68 of 117 stepsCopying VRTScutil rpm to SX-MMS-SA-2 ............................. Done 69 of 117 stepsInstalling VRTScutil 4.1.00.10 on SX-MMS-SA-2 .................... Done 70 of 117 stepsInstalling VRTSvxfsplatform 4.1.00.10 on SX-MMS-SA-1 ............. Done 71 of 117 stepsCopying 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 stepsInstalling VRTStep 1.20 on SX-MMS-SA-1 ........................... Done 74 of 117 stepsInstalling VRTSfsman 4.1.00.10 on SX-MMS-SA-1 .................... Done 75 of 117 stepsInstalling VRTSfsdoc 4.1.00.10 on SX-MMS-SA-1 .................... Done 76 of 117 stepsInstalling VRTSvxvmcommon 4.1.00.10 on SX-MMS-SA-2 ............... Done 77 of 117 stepsInstalling VRTSfssdk 4.1.00.10 on SX-MMS-SA-1 .................... Done 78 of 117 stepsInstalling VRTSfsmnd 4.1.00.10 on SX-MMS-SA-1 .................... Done 79 of 117 stepsCopying 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 stepsInstalling VRTSglm 4.1.00.10 on SX-MMS-SA-1 ...................... Done 82 of 117 stepsInstalling 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 stepsInstalling VRTSvmdoc 4.1.00.10 on SX-MMS-SA-2 .................... Done 85 of 117 stepsCopying VRTSvmman rpm to SX-MMS-SA-2 ............................. Done 86 of 117 stepsInstalling 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 stepsInstalling VRTSvmpro 4.1.00.10 on SX-MMS-SA-2 .................... Done 89 of 117 stepsCopying VRTSfspro rpm to SX-MMS-SA-2 ............................. Done 90 of 117 stepsInstalling VRTSfspro 4.1.00.10 on SX-MMS-SA-2 .................... Done 91 of 117 stepsCopying VRTSalloc rpm to SX-MMS-SA-2 ............................. Done 92 of 117 stepsInstalling VRTSalloc 4.1.00.10 on SX-MMS-SA-2 .................... Done 93 of 117 stepsCopying VRTSddlpr rpm to SX-MMS-SA-2 ............................. Done 94 of 117 stepsInstalling VRTSddlpr 4.1.00.10 on SX-MMS-SA-2 .................... Done 95 of 117 stepsCopying VRTSlvmconv rpm to SX-MMS-SA-2 ........................... Done 96 of 117 stepsInstalling 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 stepsInstalling VRTSap 2.00 on SX-MMS-SA-2 ........................... Done 103 of 117 stepsCopying VRTStep rpm to SX-MMS-SA-2 .............................. Done 104 of 117 stepsInstalling VRTStep 1.20 on SX-MMS-SA-2 .......................... Done 105 of 117 stepsCopying VRTSfsman rpm to SX-MMS-SA-2 ............................ Done 106 of 117 stepsInstalling VRTSfsman 4.1.00.10 on SX-MMS-SA-2 ................... Done 107 of 117 stepsCopying VRTSfsdoc rpm to SX-MMS-SA-2 ............................ Done 108 of 117 stepsInstalling VRTSfsdoc 4.1.00.10 on SX-MMS-SA-2 ................... Done 109 of 117 stepsCopying VRTSfssdk rpm to SX-MMS-SA-2 ............................ Done 110 of 117 stepsInstalling VRTSfssdk 4.1.00.10 on SX-MMS-SA-2 ................... Done 111 of 117 stepsCopying VRTSfsmnd rpm to SX-MMS-SA-2 ............................ Done 112 of 117 stepsInstalling VRTSfsmnd 4.1.00.10 on SX-MMS-SA-2 ................... Done 113 of 117 stepsCopying VRTScavf rpm to SX-MMS-SA-2 ............................. Done 114 of 117 stepsInstalling VRTScavf 4.1.00.10 on SX-MMS-SA-2 .................... Done 115 of 117 stepsCopying VRTSglm rpm to SX-MMS-SA-2 .............................. Done 116 of 117 steps。
Veritas Cluster Server V3.5用户指南
VERITAS ® Cluster ServerVersion 3.5用户指南东软公司2003年1月目录第一章Veritas Cluster Server安装指南 (3)一、概述 (3)二、安装步骤 (3)三、VCS资源类型和代理(VCS Resource Types and Agents) (7)第二章用命令行命令管理VCS (17)一、启动VCS (17)二、增加、修改、删除用户 (18)三、查询VCS (18)⒈资源(Resources) (18)⒉服务组(Service Groups): (19)⒊系统(Systems) (21)⒋资源类型(Resouce Types) (22)⒌资源类型代理(Resource Type Agents) (23)⒍集群(Clusters) (24)⒎其它(Additional Queries) (24)四、基本操作 (25)⒈集群(Cluster)操作 (25)⒉系统(System)操作 (25)⒊服务组(Service Group)操作 (25)⒋资源(Resource)操作 (26)⒌代理(Agent)操作 (26)五、停止VCS (27)六、重新配置VCS (27)七、高级语言和低级命令 (27)八、增加、修改、删除属性 (28)九、在集群中增加一个系统 (29)十、增加服务组 (29)十一、绑定服务组(Linking Service Groups) (29)十二、修改服务组系统列表 (29)十三、增加、修改、删除资源类型 (30)十四、增加资源 (30)十五、绑定资源(Linking Resources) (30)十六、删除和Unlinking系统、服务组和资源 (31)十七、配置举例 (31)第三章用GUI界面管理VCS (33)第一章Veritas Cluster Server安装指南一、概述VCS通信有两种类型的通道:networks和communication disks (disk指物理硬盘分区的一个区域)。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Veritas HA/cluster软件安装说明目录一.简介1.V eritas Cluster Server(或quickstart)二.使用说明1.软件安装前的准备和说明2.软件的安装3.初步配置VCS一.简介1.Veritas Cluster ServerV eritas Cluster Server是一个高可用管理软件,它应用于一组服务器中为用户应用提供安全保障。
具体的讲,VCS保证应用在一台服务器上故障时,可以快速地切换到另一台服务器上,从而,提供应用和数据的高可用性。
V eritas Cluster Server具有如下特点:●可实现32节点系统的应用切换。
●切换速度快( <10秒)●完全GUI图形界面,简单易用●完全实现多应用多级切换(应用级切换 ),适用多种应用并存的系统。
某一应用的切换可以不对其它应用产生影响●远程PC监控界面和管理界面,便于无人值守的应用需求●与 Veritas file system 结合,提供高速的切换●与 Veritas Netbackup结合,提供备份系统的热备份●拥有多种应用的agent(web server、IP、数据库、多网卡、NFS、文件系统、disk、进程、SNMP、Netbackup、HSM、文件),适用领域相当广泛。
●用户可以自由定制agent,适应特殊应用。
●故障报警机制,全局网络管理。
●应用故障后,可以在本地重试,确保排除偶然因素。
二. 使用说明1.软件安装前的准备和说明●安装cluster server的操作系统平台是solaris8,RAM至少是128M。
在根目录下必须有/opt文件夹。
●必须在两主机的根目录下有.rhosts文件,此文件的内容是+即可。
●两主机的心跳线必须安装接通。
两主机的外网口保持互连相同。
●在两主机的/etc/hosts文件上必须有对方主机名的解析。
●在两主机上的/etc/hosts文件中配置四块网卡的IP地址,类似如下:#s1127.0.0.1 localhost192.168.2.31 s1 loghost192.168.3.31 s11172.16.2.31 heartbeats1-0172.16.3.31 heartbeats1-1#r1192.168.2.32 r1192.168.3.32 r11172.16.2.32 heartbeatr1-0172.16.3.32 heartbeatr1-1●在/etc/netmasks中加入四个网段的掩码, 类似如下:192.168.2.0 255.255.255.0192.168.3.0 255.255.255.0172.16.2.0 255.255.255.0172.16.3.0 255.255.255.0●在/etc下创建下列四个文件:hostname.eri0 (其内容是:s1)hostname.hme2hostname.hme0hostname.hme1●一般安装的顺序是先安装操作系统,然后是volume manager,然后是cluster,然后是sybase和其他的应用程序。
●在ok状态下改setenv local-mac-address = true2.软件的安装●将V eritas Cluster Server CD 盘放入主机的CDROM中。
●#cd /cdrom/cdrom0,运行./installer进入安装菜单。
# ./installerVERITAS Storage Solutions for SolarisV ersion 3.5 MP1December 2002VERITAS Storage SolutionsVERITAS Product Currently Installed Licensed======================================================================Volume Manager 3.5,REV=06.21.2002.23.14 YesFile System Not Installed Yes Foundation Suite Not Installed Yes Volume Replicator 3.5,REV=06.21.2002.23.14 NoFlash Snap 3.5,REV=06.21.2002.23.14 No Database Edition for Oracle Not Installed No Advanced Cluster for Oracle9i/RAC Not Installed NoCluster Server QuickStart Not Installed NoCluster Server Not Installed NoCluster Server Traffic Director Not Installed No SanPoint Foundation Suite Not Installed No1 = Add License Key2 = Installation Menu3 = Refresh h = Helpp = Product Descriptions q = quit先在两台主机上安装license,并显示成功。
Enter [1,2,3,h,p,q]: 1VERITAS Storage SolutionsPlease enter your VERITAS license key:PJPE-6N83-CP2G-ACP8-CURPKey: PJPE-6N83-CP2G-ACP8-CURPVERITAS License Manager vxlicinst utility version 3.00.007dCopyright (C) VERITAS Software Corp 2002. All Rights reserved.Number of days left for Demo = 60License key successfully installed for VERITAS Cluster ServerDo you have another license key to enter? [y|n]: nVERITAS Storage SolutionsVERITAS Product Currently Installed Licensed ============================================================================= Volume Manager 3.5,REV=06.21.2002.23.14 YesFile System Not Installed Yes Foundation Suite Not Installed Yes Volume Replicator 3.5,REV=06.21.2002.23.14 NoFlash Snap 3.5,REV=06.21.2002.23.14 No Database Edition for Oracle Not Installed No Advanced Cluster for Oracle9i/RAC Not Installed NoCluster Server QuickStart Not Installed Yes Cluster Server Not Installed Yes Cluster Server Traffic Director Not Installed NoSanPoint Foundation Suite Not Installed No安装完后选择2再选8进行软件安装,它会自动在另一主机上安装相同的包。
Enter [1,2,3,h,p,q]:2VERITAS Storage SolutionsAvailable products:1) Volume Manager2) File System3) Foundation Suite (SPC QuickStart, HA & Flash Snap)4) Volume Replicator5) Database Edition for Oracle(Enterprise, Standard, HA, Storage Mapping & Flash Snap)6) Cluster Server7) SanPoint Foundation Suite (HA & Flash Snap)8) Cluster Server QuickStart (Custom & Oracle)9) Database Edition/Advanced Cluster for Oracle 9i10) Cluster Server Traffic Directorq) Return to main menuh) Installation helpEnter the number of the product to install or [q,h]: 8VERITAS Storage SolutionsVERITAS Storage SolutionsYou are about to begin installation of Cluster Server QuickStartDo you want to continue? [y|n]: yContinuing install.VERITAS Storage SolutionsInstalling VERITAS Cluster Server QuickStart from /cdrom/storagesolutions3.5mp1cd2/cluster_serverEnter the names of the systems on which VCS is to be installedseparated by spaces (example: system1 system2): s1 s2(两主机名)Checking for ssh on s1 .................................. not foundChecking OS version on s1 ............................... SunOS 5.8Verifying communication with s2 ................... ping successfulAttempting rsh with s2 ............................. rsh successfulChecking OS version on s2 ............................... SunOS 5.8Creating /tmp subdirectory on s2 ........ /tmp subdirectory createdUsing /usr/bin/rsh and /usr/bin/rcp to communicate with s2Communication check completed successfullyVERITAS CLUSTER SERVER INSTALLATION PROGRAMVCS licensing verification:Checking s1 ......................... found VCS QuickStart Demo keyDo you want to enter a new key for s1? (N)Using the existing VCS QuickStart Demo key located on s1.Checking s2 ......................... found VCS QuickStart Demo key Using the existing VCS QuickStart Demo key located on s2.Would you like to install VCS QuickStart for Oracle or VCS QuickStartfor Custom Applications [O=Oracle, C=Custom]: CVCS QuickStart licensing completed successfullyVERITAS CLUSTER SERVER INSTALLATION PROGRAMThe GUI modules of VCS use the Java Run Time Environment(1.3) from Sun and require that some Solaris patches be installed to function properly. You can find information about these patches and instructions for downloading them at:/j2se/1.3/install-solaris-patches.htmlAre you ready to start the Cluster installation now? (Y)VERITAS CLUSTER SERVER INSTALLATION PROGRAMChecking current installation on s1:Checking VRTSvcsor .................................. Not installed Checking VRTSoraqw .................................. Not installed Checking VRTSappqw .................................. Not installed Checking VRTSvcsqw .................................. Not installed Checking VRTSweb .................................... Not installed Checking VRTSvcsag .................................. Not installed Checking VRTSvcsmg .................................. Not installed Checking VRTSvcs .................................... Not installed Checking VRTSgab .................................... Not installedChecking VRTSllt .................................... Not installed Checking VRTSperl ................................... Not installedChecking VRTSvlic ..................... version 3.00.007d installedChecking current installation on s2:Checking VRTSvcsor .................................. Not installed Checking VRTSoraqw .................................. Not installed Checking VRTSappqw .................................. Not installed Checking VRTSvcsqw .................................. Not installed Checking VRTSweb .................................... Not installed Checking VRTSvcsag .................................. Not installed Checking VRTSvcsmg .................................. Not installed Checking VRTSvcs .................................... Not installed Checking VRTSgab .................................... Not installed Checking VRTSllt .................................... Not installed Checking VRTSperl ................................... Not installed Checking VRTSvlic ..................... version 3.00.007d installedInstallation check completed successfullyVERITAS CLUSTER SERVER INSTALLATION PROGRAMChecking file system space on s1:Checking /opt ......................... No /opt volume or partition Checking /usr ............................ required space availableChecking /var ......................... No /var volume or partition Checking / ............................... required space availableChecking file system space on s2:Checking /tmp ............................ required space available Checking /opt ......................... No /opt volume or partition Checking /usr ............................ required space available Checking /var ......................... No /var volume or partition Checking / ............................... required space availableFile system verification completed successfullyVERITAS CLUSTER SERVER INSTALLATION PROGRAMStopping VCS QuickStart processes on s1:Checking VCS QuickStart ............................... not runningChecking CmdServer .................................... not runningChecking Web GUI processes ............................ not runningChecking notifier processes ........................... not runningChecking GAB .......................................... not runningChecking LLT .......................................... not runningStopping VCS QuickStart processes on s2:Checking VCS QuickStart ............................... not runningChecking CmdServer .................................... not runningChecking Web GUI processes ............................ not runningChecking notifier processes ........................... not runningChecking GAB .......................................... not runningChecking LLT .......................................... not runningVCS QuickStart processes are stoppedVERITAS CLUSTER SERVER INSTALLATION PROGRAMTo configure VCS the following is required:A unique Cluster nameA unique Cluster ID number between 0-255Two NIC cards on each system used for private network heartbeat linksEnter the unique cluster name: zcclusterEnter the unique Cluster ID number between 0-255: 50Discovering NICs on s1 ......... discovered hme0 hme1 hme2 eri0 ge0Enter the NIC for the first private network heartbeat link: (hme0 hme1 hme2 eri0ge0) hme1(此网卡作芯跳用,在配置/etc/hostname.hme1要注意)hme1 is currently active as a public NIC on s1Are you sure you want to use hme1 for the first private network heartbeat link? (N) yEnter the NIC for the second private network heartbeat link: (hme0 hme2 eri0 ge0 ) hme2hme2 is currently active as a public NIC on s1Are you sure you want to use hme2 for the second private network heartbeat link? (N) yVERITAS CLUSTER SERVER INSTALLATION PROGRAMCluster information verification:Cluster Name: zcclusterCluster ID Number: 50Private Network Heartbeat Links for s1: link1=hme1 link2=hme2Private Network Heartbeat Links for s2: link1=hme1 link2=hme2Is this information correct? (Y)VERITAS CLUSTER SERVER INSTALLATION PROGRAMThe following information is required to configure Cluster Manager:A public NIC used by each system in the clusterA Virtual IP address and netmask for Cluster ManagerActive NIC devices discovered on s1: eri0 hme0 hme1 hme2Enter the NIC for Cluster Manager (Web Console) to use on s1: eri0Enter the Virtual IP address for Cluster Manager: 192.168.3.60Enter the netmask for IP 192.168.3.60: (255.255.255.0)VERITAS CLUSTER SERVER INSTALLATION PROGRAMCluster Manager (Web Console) verification:NIC: eri0IP: 192.168.3.60Netmask: 255.255.255.0Is this information correct? (Y)VERITAS CLUSTER SERVER INSTALLATION PROGRAMThe following information is required to configure SMTP notification:The domain based address of the SMTP serverThe email address of each SMTP recipientA minimum severity level of messages to send to each recipientDo you want to configure SMTP notification? (Y) nVERITAS CLUSTER SERVER INSTALLATION PROGRAMThe following information is required to configure SNMP notification:System names of SNMP console(s) to receive VCS QuickStart t rap messages SNMP trap daemon port numbers for each consoleA minimum severity level of messages to send to each consoleDo you want to configure SNMP notification? (Y) nVERITAS CLUSTER SERVER INSTALLATION PROGRAMInstalling VCS QuickStart 3.5 on s1:Installing VRTSvlic package ........... version 3.00.007d installed Installing VRTSperl package .................................. Done Installing VRTSllt package ................................... Done Installing VRTSgab package ................................... Done Installing VRTSvcs package ................................... Done Installing VRTSvcsmg package ................................. Done Installing VRTSvcsag package ................................. Done Installing VRTSweb package ................................... Done Installing VRTSvcsqw package ................................. Done Installing VRTSappqw package ................................. Done Copying the installer to /opt/VRTSvcs/install ................ Done Copying VCS QuickStart Documentation to /opt/VRTSvcs/docs .... DoneInstalling VCS QuickStart 3.5 on s2:Installing VRTSvlic package ........... version 3.00.007d installed Copying VRTSperl binaries .................................... Done Installing VRTSperl package .................................. Done Copying VRTSllt binaries ..................................... Done Installing VRTSllt package ................................... Done Copying VRTSgab binaries ..................................... Done Installing VRTSgab package ................................... Done Copying VRTSvcs binaries ..................................... Done Installing VRTSvcs package ................................... Done Copying VRTSvcsmg binaries ................................... Done Installing VRTSvcsmg package ................................. Done Copying VRTSvcsag binaries ................................... Do ne Installing VRTSvcsag package ................................. Done Copying VRTSweb binaries ..................................... Done Installing VRTSweb package ................................... Done Copying VRTSvcsqw binaries ................................... Done Installing VRTSvcsqw package ................................. Done Copying VRTSappqw binaries ................................... Done Installing VRTSappqw package ................................. Done Copying the installer to /opt/VRTSvcs/install ................ Done Copying VCS QuickStart Documentation to /opt/VRTSvcs/docs .... DonePackage installation completed successfullyVERITAS CLUSTER SERVER INSTALLATION PROGRAMProcessing VCS QuickStart 3.5 patches on s1:Unloading GAB module on s1 ................................... DoneUnloading LLT module on s1 ................................... DoneInstalling 113702-01 patch ................................... DoneProcessing VCS QuickStart 3.5 patches on s2:Unloading GAB module on s2 ................................... DoneUnloading LLT module on s2 ................................... DoneCopying 113702-01 patch ...................................... DoneInstalling 113702-01 patch ................................... DonePatch installation completed successfullyVERITAS CLUSTER SERVER INSTALLATION PROGRAMConfiguring VCS QuickStart ................................... DoneCopying VCS QuickStart configuration files to s1 ............. DoneCopying VCS QuickStart configuration files to s2 ............. DoneConfiguration files copied successfullyDo you want to start the cluster components now? (Y)VERITAS CLUSTER SERVER INSTALLATION PROGRAMStarting VCS QuickStart on s1Starting LLT .............................................. StartedStarting GAB .............................................. StartedStarting VCS QuickStart ................................... StartedStarting VCS QuickStart on s2Starting LLT .............................................. StartedStarting GAB .............................................. StartedStarting VCS QuickStart ................................... StartedVERITAS CLUSTER SERVER INSTALLATION PROGRAMInitial VCS QuickStart configuration files are backed up with a .init.zccluster extensionThe Cluster can be managed using Cluster Manager (Web Console) using the URL:http://192.168.3.60:8181/vcsqsusing the User Name: 'admin' and the Password: 'password'.Use the '/opt/VRTSvcs/qsbin/vcsqs' command to add new users.A VCS QuickStart install report has been saved at:/var/VRTSvcs/installvcsReport.zcclusterVCS QuickStart installation completed successfully3. 初步配置VCS安装时VCS 使用参数:system name(主机名):如以上的s1,s2Cluster Name:如以上的zcclusterCluster ID:如以上的50Virtual IP:如以上的192.168.3.60可以通过这个地址用浏览器来管理vcshttp://192.168.3.60:8181/vcsqs默认用户名是admin,密码password,可能只能用netscape浏览器建立图形管理用户名和密码#haconf –makerw#hauser –add user_name 在有提示时输入密码#haconf –dump –makero●启动VCS图形管理界面来创建资源组#xhost +#export DISPLA Y=主机名:0.0# /opt/VRTSvcs/qsbin/vcsqs-app-wizard●按要求配置HA应用:创建资源组和监控点(IP、Disk Group、Mount Piont、sybase 等)。