SF HA简要操作手册.doc_第1页
SF HA简要操作手册.doc_第2页
SF HA简要操作手册.doc_第3页
SF HA简要操作手册.doc_第4页
SF HA简要操作手册.doc_第5页
已阅读5页,还剩37页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 C O N S U L T I N G S E R V I C E S R E P O R T StorageStorage FoundationFoundation HAHA 简要操作手册简要操作手册 2010 022010 02 Symantec Consulting Services Great China Region Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 C O N S U L T I N G S E R V I C E S R E P O R T 文件信息文件信息 版本版本 相关的文件相关的文件 IdTitleOrganisationAuthorVersion SubjectSymantec 大中国区顾问服务 Version1 0 Author Comments Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 C O N S U L T I N G S E R V I C E S R E P O R T 目目 录录 1Cluster 相关维护操作相关维护操作 1 1 1检查检查 cluster 状态状态 1 1 2启动启动 停止停止 VCS 3 1 3启动启动 停止停止 切换服务组切换服务组 4 1 4操作资源操作资源 4 1 5查看查看 VCS 日志日志 4 1 6查看查看 VCS 配置文件配置文件 5 1 7单台启动单台启动 Cluster 中的主机中的主机 8 1 8更改更改 hagui 的用户密码的用户密码 8 2Volume Manager 维护操作维护操作 9 2 1磁盘维护磁盘维护 9 2 2disk group 维护维护 11 2 3volume 维护维护 19 3vxfs 维护操作维护操作 22 3 1创建文件系统创建文件系统 22 3 2resize 文件系统文件系统 22 3 3mount 文件系统文件系统 22 3 4umount 文件系统文件系统 22 4Storage Foundation 其他维护操作其他维护操作 23 4 1查看和添加查看和添加 license 23 4 2shutdown 说明说明 32 4 3DMP 相关维护操作相关维护操作 32 5VCS 图形界面操作图形界面操作 35 Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 1 C O N S U L T I N G S E R V I C E S R E P O R T 1 Cluster 相关维护操作 1 1 检查检查 cluster 状态状态 1 使用 使用 hastatus sum 查看总体的查看总体的 cluster 状态状态 root QHDB4 1 hastatus sum SYSTEM STATE System State Frozen A QHDB4 1 RUNNING 0 A QHDB4 2 RUNNING 0 GROUP STATE Group System Probed AutoDisabled State B sg kpi QHDB4 1 Y N ONLINE B sg kpi QHDB4 2 Y N OFFLINE B sg nic QHDB4 1 Y N ONLINE B sg nic QHDB4 2 Y N ONLINE B sg npm QHDB4 1 Y N OFFLINE B sg npm QHDB4 2 Y N ONLINE 2 使用 使用 hastatus 用于查看动态的用于查看动态的 cluster 信息 可跟踪切换的过程信息 可跟踪切换的过程 root QHDB4 1 hastatus attempting to connect attempting to connect connected group resource system message QHDB4 1 RUNNING QHDB4 2 RUNNING sg kpi QHDB4 1 ONLINE sg kpi QHDB4 2 OFFLINE sg nic QHDB4 1 ONLINE sg nic QHDB4 2 ONLINE sg npm QHDB4 2 ONLINE sg npm QHDB4 1 OFFLINE proxy nic kpi QHDB4 1 ONLINE proxy nic kpi QHDB4 2 ONLINE ids kpi QHDB4 1 ONLINE ids kpi QHDB4 2 OFFLINE ip kpi QHDB4 1 ONLINE Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 2 C O N S U L T I N G S E R V I C E S R E P O R T ip kpi QHDB4 2 OFFLINE dg kpi QHDB4 1 ONLINE dg kpi QHDB4 2 OFFLINE nic 45 QHDB4 1 ONLINE nic 45 QHDB4 2 ONLINE phantom nic QHDB4 1 ONLINE phantom nic QHDB4 2 ONLINE proxy nic npm QHDB4 2 ONLINE proxy nic npm QHDB4 1 ONLINE ip npm QHDB4 2 ONLINE ip npm QHDB4 1 OFFLINE dg npm QHDB4 2 ONLINE dg npm QHDB4 1 OFFLINE ids npm QHDB4 2 ONLINE ids npm QHDB4 1 OFFLINE 3 查看 查看 Cluster 心跳信息心跳信息 root QHDB4 1 lltstat l LLT link information link 0 ce12 on etherfp hipri mtu 1500 sap 0 xcafe broadcast FF FF FF FF FF FF addrlen 6 txpkts 176088 txbytes 10790494 rxpkts 119239 rxbytes 9364119 latehb 1971 badcksum 0 errors 0 link 1 ce11 on etherfp hipri mtu 1500 sap 0 xcafe broadcast FF FF FF FF FF FF addrlen 6 txpkts 176801 txbytes 10812387 rxpkts 119377 rxbytes 9374940 latehb 2083 badcksum 0 errors 0 link 2 ce4 on etherfp lowpri mtu 1500 sap 0 xcafe broadcast FF FF FF FF FF FF addrlen 6 txpkts 105379 txbytes 5270180 rxpkts 52814 rxbytes 5252500 latehb 0 badcksum 0 errors 0 root QHDB4 1 lltstat nvv LLT node information Node State Link Status Address 0 QHDB4 1 OPEN ce12 UP 00 14 4F D7 09 A4 ce11 UP 00 14 4F 44 81 E6 ce4 UP 00 21 28 1A A4 4E 1 QHDB4 2 OPEN ce12 UP 00 14 4F D7 08 70 ce11 UP 00 14 4F 44 81 92 ce4 UP 00 14 4F D7 09 88 2 CONNWAIT Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 3 C O N S U L T I N G S E R V I C E S R E P O R T ce12 DOWN ce11 DOWN ce4 DOWN 3 CONNWAIT ce12 DOWN ce11 DOWN ce4 DOWN root QHDB4 1 gabconfig a GAB Port Memberships Port a gen 3b8904 membership 01 Port b gen 3b8903 membership 01 Port h gen 3b8906 membership 01 4 查看 查看 Cluster 关键进程关键进程 root QHDB4 1 ps ef grep vcs root 5212 1 0 20 54 20 0 20 opt VRTSvcs bin HostMonitor type HostMonitor agdir root 4858 1 0 20 54 13 0 01 opt VRTSvcs bin CmdServer root 5202 1 0 20 54 20 0 14 opt VRTSvcs bin DiskGroup DiskGroupAgent type DiskGroup root 5208 1 0 20 54 20 0 14 opt VRTSvcs bin Phantom PhantomAgent type Phantom root 23371 23040 0 11 27 35 pts 2 0 00 grep vcs root 5204 1 0 20 54 20 0 13 opt VRTSvcs bin IPMultiNICB IPMultiNICBAgent type IPMultiNICB root 5214 1 0 20 54 20 0 15 opt VRTSvcs bin Script50Agent type Informix agdir opt VRTSagents ha bin Inf root 5210 1 0 20 54 20 0 14 opt VRTSvcs bin Proxy ProxyAgent type Proxy root 4701 1 0 20 54 12 0 30 opt VRTSvcs bin had root 4974 1 0 20 54 13 0 00 opt VRTSvcs bin hashadow root 5206 1 0 20 54 20 0 40 opt VRTSvcs bin MultiNICB MultiNICBAgent type MultiNICB 其中 had hashadow 进程为 VCS 关键进程 1 2 启动启动 停止停止 VCS 停止 Cluster 中所有主机的 VCS 服务 可使用下列命令 hastop all 停止某台主机上的 Cluster 资源和 VCS 服务 使用下列命令 hastop local 直接停止某台主机上的 VCS 服务 使用下列命令 hastop local force 在某台主机上启动 VCS 服务 使用下列命令 hastart Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 4 C O N S U L T I N G S E R V I C E S R E P O R T 1 3 启动启动 停止停止 切换服务组切换服务组 在某主机上启动某 Service Group hagrp online sys 在某主机上停止某 Service Group hagrp offline sys 将某 Service Group 切换到其他主机 hagrp switch to 1 4 操作资源操作资源 在某主机上启动某 Resource hares online sys 在某主机上停止某 Resource hares offline sys 清除某个资源的 Faulted 状态 hares clear sys 如果资源无法启动或停止需要 flush 状态 hagrp flush sys 1 5 查看查看 VCS 日志日志 VCS 的日志保存在 var VRTSvcs log 目录下 通常可查看 engine 日志了解 VCS 的运行情况 root QHDB4 1 tail f var VRTSvcs log engine A log 2009 04 26 21 46 53 VCS NOTICE V 16 10001 1010 QHDB4 1 DiskGroup dg kpi online Volumes in Disk Group dg kpidb are started Any mirrors are updated in background 2009 04 26 21 46 55 VCS INFO V 16 1 10298 Resource dg kpi Owner unknown Group sg kpi is online on QHDB4 1 VCS initiated 2009 04 26 21 46 55 VCS NOTICE V 16 1 10301 Initiating Online of Resource ids kpi Owner unknown Group sg kpi on System QHDB4 1 2009 04 26 21 47 25 VCS NOTICE V 16 55024 20017 QHDB4 1 Informix ids kpi online Confirmed start up of instance kpiserver of Informix server 2009 04 26 21 47 25 VCS NOTICE V 16 55024 20170 QHDB4 1 Informix ids kpi online Resource ids kpi started up successfully 2009 04 26 21 47 27 VCS INFO V 16 1 10298 Resource ids kpi Owner unknown Group sg kpi is online on QHDB4 1 VCS initiated 2009 04 26 21 47 27 VCS NOTICE V 16 1 10447 Group sg kpi is online on system QHDB4 1 Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 5 C O N S U L T I N G S E R V I C E S R E P O R T 2009 04 26 21 47 27 VCS INFO V 16 6 15051 QHDB4 1 nfs restart nfs restart trigger did not do anything as there is no NFS NFSLock Share resource in the group 2009 04 26 21 47 27 VCS INFO V 16 6 15002 QHDB4 1 hatrigger hatrigger executed opt VRTSvcs bin triggers nfs restart sg kpi successfully 2009 04 26 21 47 27 VCS INFO V 16 6 15004 QHDB4 1 hatrigger Failed to send trigger for postonline script doesn t exist 1 6 查看查看 VCS 配置文件配置文件 VCS 的日志保存在 etc VRTSvcs conf config main cf 中 配置文件如下 root QHDB4 1 cat etc VRTSvcs conf config main cf include types cf include InformixTypes cf cluster cl qhdb UserNames admin dOPhOJoLPkPPnXPjOM Administrators admin system QHDB4 1 system QHDB4 2 group sg kpi SystemList QHDB4 1 0 QHDB4 2 1 AutoStartList QHDB4 1 QHDB4 2 DiskGroup dg kpi DiskGroup dg kpidb IPMultiNICB ip kpi BaseResName nic 45 Address 10 229 65 21 NetMask 255 255 255 0 Informix ids kpi Critical 0 EnvFile export home informix kpiserver env InformixDir opt IBM informix DBServerName kpiserver Proxy proxy nic kpi Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 6 C O N S U L T I N G S E R V I C E S R E P O R T TargetResName nic 45 requires group sg nic online local firm ids kpi requires dg kpi ids kpi requires ip kpi ip kpi requires proxy nic kpi resource dependency tree group sg kpi Informix ids kpi IPMultiNICB ip kpi Proxy proxy nic kpi DiskGroup dg kpi group sg nic SystemList QHDB4 1 0 QHDB4 2 1 Parallel 1 AutoStartList QHDB4 1 QHDB4 2 MultiNICB nic 45 UseMpathd 1 MpathdCommand usr lib inet in mpathd a ConfigCheck 0 Device ce4 ce5 NetworkHosts 10 229 65 7 GroupName QHDB4 1 ipmp01 GroupName QHDB4 2 ipmp02 Phantom phantom nic resource dependency tree group sg nic Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 7 C O N S U L T I N G S E R V I C E S R E P O R T MultiNICB nic 45 Phantom phantom nic group sg npm SystemList QHDB4 2 0 QHDB4 1 1 AutoStartList QHDB4 2 QHDB4 1 DiskGroup dg npm DiskGroup dg npmdb IPMultiNICB ip npm BaseResName nic 45 Address 10 229 65 22 NetMask 255 255 255 0 Informix ids npm Critical 0 EnvFile export home informix npmserver env InformixDir opt IBM informix DBServerName npmserver Proxy proxy nic npm TargetResName nic 45 requires group sg nic online local firm ids npm requires dg npm ids npm requires ip npm ip npm requires proxy nic npm resource dependency tree group sg npm Informix ids npm DiskGroup dg npm IPMultiNICB ip npm Proxy proxy nic npm Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 8 C O N S U L T I N G S E R V I C E S R E P O R T 1 7 单台启动单台启动 Cluster 中的主机中的主机 cluster 中的所有主机都停止后 单独启动一台主机提供服务 可使用下列方法 启动单台主机后 运行 sbin gabconfig c x 1 8 更改更改 hagui 的用户密码的用户密码 假设当前需要更改 admin 的密码 以 root 用户运行以下命令 haconf makerw hauser update admin 系统将提示输入新密码 haconf dump makero Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 9 C O N S U L T I N G S E R V I C E S R E P O R T 2 Volume Manager 维护操作 2 1 磁盘维护磁盘维护 1 查看本机磁盘状态查看本机磁盘状态 root QHDB4 1 vxdisk o alldgs list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto none online invalid c0t1d0s2 auto none online invalid c1t0d0s2 auto none online invalid c1t1d0s2 auto none online invalid st2540 0 0 auto cdsdisk kpi01 dg kpidb online st2540 0 1 auto cdsdisk dg npmdb online st2540 0 2 auto cdsdisk dg npmdb online st2540 0 3 auto cdsdisk dg npmdb online st2540 0 4 auto cdsdisk dg npmdb online st2540 0 5 auto cdsdisk dg npmdb online st2540 0 6 auto cdsdisk online st2540 0 7 auto cdsdisk nmos01 dg nmosdb online st2540 0 8 auto cdsdisk nmos03 dg nmosdb online st2540 0 9 auto cdsdisk nmos05 dg nmosdb online st2540 0 10 auto cdsdisk nmos07 dg nmosdb online st2540 0 11 auto cdsdisk nmos09 dg nmosdb online st2540 1 0 auto cdsdisk kpi02 dg kpidb online st2540 1 1 auto cdsdisk dg npmdb online st2540 1 2 auto cdsdisk dg npmdb online st2540 1 3 auto cdsdisk dg npmdb online st2540 1 4 auto cdsdisk dg npmdb online st2540 1 5 auto cdsdisk dg npmdb online st2540 1 6 auto cdsdisk online st2540 1 7 auto cdsdisk nmos02 dg nmosdb online st2540 1 8 auto cdsdisk nmos04 dg nmosdb online st2540 1 9 auto cdsdisk nmos06 dg nmosdb online st2540 1 10 auto cdsdisk nmos08 dg nmosdb online st2540 1 11 auto cdsdisk nmos10 dg nmosdb online 2 初始化某块磁盘初始化某块磁盘 vxdisk init 3 将操作系统新识别的磁盘加入将操作系统新识别的磁盘加入 vxvm 管理管理 使用 ioscan 扫描到新的磁盘后 使用下列命令将其纳入 vxvm 管理 vxdisk scandisks 4 将某块磁盘从将某块磁盘从 vxvm 管理中去除管理中去除 vxdisk rm Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 10 C O N S U L T I N G S E R V I C E S R E P O R T 5 查看某块磁盘的信息查看某块磁盘的信息 root QHDB4 1 vxdisk list st2540 0 0 Device st2540 0 0 devicetag st2540 0 0 type auto hostid QHDB4 1 disk name kpi01 id 1240733342 23 QHDB4 1 group name dg kpidb id 1240733488 55 QHDB4 1 info format cdsdisk privoffset 256 pubslice 2 privslice 2 flags online ready private autoconfig noautoimport imported pubpaths block dev vx dmp st2540 0 0s2 char dev vx rdmp st2540 0 0s2 guid 811f963c 1dd2 11b2 a1a9 0021281aa44e udid SUN 5FLCSM100 5FF 5F600A0B800049F0420000000049776B2A 5F600A0B800049F0 420000048649F3A619 site version 3 1 iosize min 512 bytes max 2048 blocks public slice 2 offset 65792 len 314490624 disk offset 0 private slice 2 offset 256 len 65536 disk offset 0 update time 1240753611 seqno 0 18 ssb actual seqno 0 0 headers 0 240 configs count 1 len 48144 logs count 1 len 7296 Defined regions config priv 000048 000239 000192 copy 01 offset 000000 enabled config priv 000256 048207 047952 copy 01 offset 000192 enabled log priv 048208 055503 007296 copy 01 offset 000000 enabled lockrgn priv 055504 055647 000144 part 00 offset 000000 Multipathing information numpaths 1 c8t600A0B800049F0420000048649F3A619d0s2 state enabled 4 查看 查看 vxvm 属性属性 root QHDB4 1 vxdctl list Volboot file version 3 1 seqno 0 1 cluster protocol version 80 hostid QHDB4 1 hostguid 60130206 1dd2 11b2 bf07 00144faaf03a root QHDB4 1 root QHDB4 1 vxdctl license All features are available Mirroring Root Mirroring Concatenation Copyright 2006 Symantec Corporation All rights reserved Symantec Corporation the Symantec logo and all other Symantec product names and slogans are trademarks or registered trademarks of Symantec Corporation in the US and or other countries Other product names and or slogans mentioned herein may be trademarks or registered trademarks of their respective companies Last revised July 4 2005 11 C O N S U L T I N G S E R V I C E S R E P O R T Disk spanning Striping RAID 5 RAID 5 Snapshot VxSmartSync Array Snapshot Integration Feature Clustering full FastResync DGSJ Site Awareness DMP multipath enabled CDS Dynamic LUN Expansion Hardware assisted copy 2 2 disk group 维护维护 1 查看查看 本机导入的本机导入的 disk group 状态状态 root QHDB4 1 vxdg list NAME STATE ID dg nmosdb enabled cds 1240733646 57 QHDB4 1 dg kpidb enabled cds 1240733488 55 QHDB4 1 2 查看查看 disk group 剩余空间剩余空间 root QHDB4 1 vxdg free GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS dg nmosdb nmos01 st2540 0 7 st2540 0 7 272629760 41860864 dg nmosdb nmos02 st2540 1 7 st2540 1 7 272629760 41860864 dg nmosdb nmos03 st2540 0 8 st2540 0 8 272629760 41860864 dg nmosdb nmos04 st2540 1 8 st2540 1 8 272629760 41860864 dg nmosdb nmos05 st2540 0 9 st2540 0 9 201425056 560 dg nmosdb nmos05 st2540 0 9 st2540 0 9 201426736 113063888 dg nmosdb nmos06 st2540 1 9 st2540 1 9 201425056 560 dg nmosdb nmos06 st2540 1 9 st2540 1 9 201426736 113063888 dg nmosdb nmos07 st2540 0 10 st2540 0 10 268435456 46055168 dg nmosdb nmos08 st2540 1 10 st2540 1 10 268435456 46055168 dg nmosdb nmos09 st2540 0 11 st25

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论