Hacmp扩容详细整理.docx

上传人:scccc 文档编号:14172769 上传时间:2022-02-03 格式:DOCX 页数:21 大小:48.31KB
返回 下载 相关 举报
Hacmp扩容详细整理.docx_第1页
第1页 / 共21页
Hacmp扩容详细整理.docx_第2页
第2页 / 共21页
Hacmp扩容详细整理.docx_第3页
第3页 / 共21页
Hacmp扩容详细整理.docx_第4页
第4页 / 共21页
Hacmp扩容详细整理.docx_第5页
第5页 / 共21页
点击查看更多>>
资源描述

《Hacmp扩容详细整理.docx》由会员分享,可在线阅读,更多相关《Hacmp扩容详细整理.docx(21页珍藏版)》请在三一文库上搜索。

1、HACMP扩容根底目录HACMP扩容根底1一、C-SPOC 介绍2二、创立PV31、创立PV32、检查 PVID4三、使用C-SPOC功能扩展 VG61、进入 C-SPOC62、HACMP Logical Volume Management 63、Shared Volume Groups74、Set Characteristics of a Shared Volume Group 75、Add a Volume to a Shared Volume Group 76、选择需要扩容的 VG87、回车,然后选择添加的硬盘 88、确定无误后,回车继续 89、检查两节点 PV是否参加 VG9四、使用C

2、-SPOC功能扩展FS1.01、进入 System Management (C-SPOC) .1.02、HACMP Logical Volume Management 1.13、Shared File Systems 1.14、选择JFS2类型1.2.5、Change / Show Characteristics of a Shared JFS2 126、选择需要扩容的文件系统 1.37、输入文件系统大小 .1.38、修改LV属性以支持更多的 LP1.49、检查文件系统大小 .1.7一、HACMP C-SPOC 介绍为方便治理集群中的操作, HACMP 提供了一种方法,通过该方法可以在多个集群

3、节点执行命令并维护要执行操作之间的协调.一些集群维护操作可能影响HACMP配置拓扑和资源,但通过HACMP系统治理工具C-SPOC,无需停止关键作业即可执行这些任务如添加或删除资源、用户和更改拓扑元素.注意:C-SPOC使用一种新的集群通信守护进程(clcomdES) 在远程节点上执行命令.如果此守护进程没有运行或者无法验证来自发起者节点的请求,将不会执行远程节点上的命令,因此C-SPOC操作将会失败.使用C-SPOC实用工具,在一个节点(发起更改的节点)上执行的命令也会在其他集群节点上执行.C-SPOC最大限度地减少了治理开销,并降低了节点状态不一致的可能性以下我们将利用 C-SPOC功能来

4、在线添加 PV及扩展FS.二、创立PV1、创立PV用命令cfgmgr-v 及/usr/DynamicLinkManager/bin/dlmcfgmgr配置LUN其中 dlmfdrvX就是HDLM封装的伪设备# lspvhdisk0000345a76cc6fc03rootvgactivehdisk1000345a72fc97c3crootvgactivehdisk2noneNonehdisk3noneNonedlmfdrv0000344b9f4ebfc92hbvgconcurrentdlmfdrv1000344b9f4ee1d74dominovgactivehdisk8noneNonehdisk

5、9noneNonedlmfdrv2noneNonehdisk6noneNonehdisk7noneNone在两个节点分别创立PV# chdev -l dlmfdrv2 -a pv=yesdlmfdrv2 已更改2、检查PVIDNode 1# lspvhdisk0000345a76cc6fc03rootvgactivehdisk1000345a72fc97c3crootvgactivehdisk2noneNonehdisk3noneNonedlmfdrv0000344b9f4ebfc92hbvgconcurrentdlmfdrv1000344b9f4ee1d74dominovgactivehdi

6、sk6noneNonehdisk7noneNonehdisk10noneNonehdiskllnoneNonedlmfdrv2000345a70c2be00eNoneNode 2# lspvhdisk0000344b96ca1ba08rootvgactivehdiskl000344b930963e28rootvgactivehdisk2noneNonehdisk3noneNonedlmfdrv0000344b9f4ebfc92hbvgconcurrentdlmfdrv1000344b9f4ee1d74dominovghdisk6noneNonehdisk7noneNonehdisk8noneN

7、onehdisk9noneNonedlmfdrv2000345a70c2be00eNone输出显示两个节点的 PVID已经生成.三、使用C-SPOC功能扩展VG1、进入 C-SPOC# smitty hacmpInitialization and Standard ConfigurationExtended ConfigurationSystem Management (C-SPOC)Problem Determination T ools2、HACMP Logical Volume ManagementManage HACMP ServicesHACMP Communication Inte

8、rface ManagementHACMP Resource Group and Application ManagementHACMP Log Viewing and ManagementHACMP File Collection ManagementHACMP Security and Users ManagementHACMP Logical Volume ManagementHACMP Concurrent Logical Volume ManagementHACMP Physical Volume ManagementConfigure GPFSOpen a SMIT Session

9、 on a Node3、Shared Volume GroupsShared Volume GroupsShared Logical VolumesShared File SystemsSynchronize Shared LVM MirrorsSynchronize a Shared Volume Group Definition4、Set Characteristics of a Shared Volume GroupList All Shared Volume GroupsCreate a Shared Volume GroupCreate a Shared Volume Group w

10、ith Data Path DevicesSet Characteristics of a Shared Volume GroupImport a Shared Volume GroupMirror a Shared Volume GroupUnmirror a Shared Volume Group5、Add a Volume to a Shared Volume GroupAdd a Volume to a Shared Volume GroupEnable/Disable a Shared Volume Group for Cross-Site LVM MirroringVerifica

11、tion6、选择需要扩容的 VGShared Volume Group Names#Resource GroupVolume Groupdominorgdominovg#Resource GroupVolume Grouphbrghbvg7、回车,然后选择添加的硬盘Node_a dlmfdrv28、确定无误后,回车继续Resource Group NameVOLUME GROUP nameReference nodedominorgdominovgNode_aVOLUME namesdlmfdrv29、检查两节点 PV是否参加VGNode 1# lspvhdisk0000345a76cc6fc

12、03rootvgactivehdiskl000345a72fc97c3crootvgactivehdisk2noneNonehdisk3noneNonedlmfdrv0000344b9f4ebfc92hbvgconcurrentdlmfdrvl000344b9f4ee1d74dominovgactivehdisk8noneNonehdisk9noneNonedlmfdrv2000345a70c2be00edominovgactivehdisk6noneNonehdisk7noneNone#Node 2# lspvhdisk0000344b96ca1ba08rootvgactivehdisk10

13、00344b930963e28rootvgactivehdisk2noneNonehdisk3noneNonedlmfdrv0000344b9f4ebfc92hbvgconcurrentdlmfdrv1000344b9f4ee1d74dominovghdisk6noneNonehdisk7noneNonehdisk8noneNonehdisk9noneNonedlmfdrv2000345a70c2be00edominovg中,VG的信息已经自动同步;其中Node 1 是主节点,Node 2 是备节点;从以上输出信息可以知道dlmfdrv2已经添加到dominovg 由于Node 1 是主节点,

14、因此 dlmfdrv2 在该节点是 active的.四、使用C-SPOC功能扩展FS1、进入 System Management (C-SPOC)#smitty hacmpInitialization and Standard ConfigurationExtended ConfigurationSystem Management (C-SPOC)Problem Determination Tools2、HACMP Logical Volume ManagementManage HACMP ServicesHACMP Communication Interface ManagementHACM

15、P Resource Group and Application ManagementHACMP Log Viewing and ManagementHACMP File Collection ManagementHACMP Security and Users ManagementHACMP Logical Volume ManagementHACMP Concurrent Logical Volume ManagementHACMP Physical Volume ManagementConfigure GPFSOpen a SMIT Session on a Node3、Shared F

16、ile SystemsShared Volume GroupsShared Logical VolumesShared File SystemsSynchronize Shared LVM MirrorsSynchronize a Shared Volume Group Definition4、选择JFS2类型日志文件系统增强型日志文件系统5、Change / Show Characteristics of a Shared JFS2Add an Enhanced Journaled File SystemAdd an Enhanced Journaled File System on a P

17、reviously Defined Logical VolumeList All Shared File SystemsChange / Show Characteristics of a Shared Enhanced Journaled File SystemRemove a Shared File System6、选择需要扩容的文件系统# Resource GroupFileSystemdominorg/domino7、输入文件系统大小Resource Group Name文件系统名称新建安装点文件系统的大小安装组许可权安装选项是否启动磁盘记帐块大小字节是否直接插入日志直接插入日志大小

18、MBdominorg/domino/domino387618048读/写No4096NoNode_a: 0516-787 extendlv: Maximum allocation for logical volume fslv01Node_a:is 798 .Node_a: cl_rsh had exit code = 1, see cspoc.log and/or clcomd.log for moreinformationcl_chfs: Error executing chfs -a size=387618048 /domino on node Node_a扩容失败,检查 PP SIZE

19、# lsvg dominovg |grep SIZEVG STATE:activePP SIZE:128 megabyte(s),因此只显然,/domino目录所关联的LV可分配的最大 LV数量只有798, 798*128=102能把文件系统扩展到100g多;需要修改LV属性支持更大的文件系统.8、修改LV属性以支持更多的LPInitialization and Standard ConfigurationExtended ConfigurationSystem Management (C-SPOC)Problem Determination T oolsManage HACMP Servic

20、esHACMP Communication Interface ManagementHACMP Resource Group and Application ManagementHACMP Log Viewing and ManagementHACMP File Collection ManagementHACMP Security and Users ManagementHACMP Logical Volume ManagementHACMP Concurrent Logical Volume ManagementHACMP Physical Volume ManagementConfigu

21、re GPFSOpen a SMIT Session on a NodeShared Volume GroupsShared Logical VolumesShared File SystemsSynchronize Shared LVM MirrorsSynchronize a Shared Volume Group DefinitionList All Shared Logical Volumes by Volume GroupAdd a Shared Logical VolumeSet Characteristics of a Shared Logical VolumeShow Char

22、acteristics of a Shared Logical VolumeChange a Shared Logical VolumeRemove a Shared Logical Volume“逻辑分区的最大数量这一栏输入该LV的最大PP数量dominorgfslv01dominorg loglv01* Resource Group Namedominorg*逻辑卷名称fslv01逻辑卷类型jfs2物理卷位置中间物理卷范围最小用于分配的物理卷最大数量32要将每个逻辑分区副本分配到一个单独的物理卷吗是逻辑分区的最大数量2048读取/写入的“规划策略逻辑分区副本parallel许可权读/写要启

23、用坏块重定位吗是要启用写入验证吗否要一致性镜像化写入吗主动根据以上方法进入 C-SPOC的LVMAdd an Enhanced Journaled File SystemAdd an Enhanced Journaled File System on a Previously Defined LVList All Shared File SystemsChange / Show Characteristics of a Shared Enhanced Journaled File System输入文件系统的大小,然后回车Resource Group Name文件系统名称新建安装点文件系统的大小

24、安装组许可权安装选项是否启动磁盘记帐块大小字节是否直接插入日志直接插入日志大小 MBdominorg/domino/domino387618048读/写No4096No0Node_a: Filesystem size changed to 3877109769、检查文件系统大小# df -g文件系统GB块 可用UsedIused %Iused安装于/dev/hd40.120.0654%260716% /dev/hd28.003.1062%482527% /usr/dev/hd9var3.000.9270%11951% /var/dev/hd32.001.5623%3961% /tmp/dev/fwdump0.120.121%41% /var/adm/ras/platform/dev/hd10.120.121%491% /home/proc-/proc/dev/hd100Pt1.000.8911%14051% /opt/dev/fslv01184.88100.2246%45891% /domino#至此,VG和FS都已经扩容完成.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1