Veritas Cluster Server V3.5用户指南(5)

2020-05-09 09:08

十六、删除和Unlinking系统、服务组和资源

删除一个系统:# hasys -delete system_name

删除一个服务组:# hagrp -delete service_group 删除一个资源:

# hares -delete resource_name 解除服务组之间的依赖关系:

# hagrp -unlink parent_group child_group 解除资源之间的依赖关系:

# hares -unlink parent_res child_res 只有在服务组的所有资源被删除后才能删除服务组。

十七、配置举例

main.cf文件例子:

include \

// this will include all of the types information

cluster vcs

haclus -modify ClusterName vcs

system sysa

hasys -add sysa

system sysb

hasys -add sysb

snmp vcs

hasnmp -modify SnmpName vcs

group groupx (

hagrp -add groupx

SystemList = { sysa, sysb }

hagrp -modify groupx SystemList sysa 0 sysb 1

AutoStartList = { sysa }

hagrp -modify groupx AutoStartList sysa

)

Disk c1t1d0s3 (

hares -add c1t1d0s3 Disk groupx

Partition = { c1t1d0s3 }

hares -modify c1t1d0s3 Partition c1t1d0s3

)

IP nfssrvx (

第 31 页 共 33 页

hares -add nfssrvx IP groupx

Device = hme0

hares -modify nfssrvx Device hme0

Address = \

hares -modify nfssrvx Address \

)

Mount export1 (

hares -add export1 Mount groupx

MountPoint = \

hares -modify export1 MountPoint \

BlockDevice = \

hares -modify export1 BlockDevice \

Type = vxfs

hares -modify export1 Type ufs

MountOpt = rw

hares -modify export1 MountOpt rw

)

NFS NFS_groupx_16 (

hares -add NFS_groupx_16 NFS groupx

Nservers = 16

hares -modify NFS_groupx_16 Nservers 16

)

NIC groupx_hme0 (

hares -add groupx_hme0 NIC groupx

Device = hme0

hares -modify groupx_hme0 Device hme0

Type = ether

hares -modify groupx_hme0 Type ether

)

Share nfs_export1 (

hares -add nfs_export1 Share groupx

PathName = \

hares -modify nfs_export1 PathName \

)

export1 requires c1t1d0s3

hares -link export1 c1t1d0s3

nfs_export1 requires export1

hares -link nfs_export1 export1

nfs_export1 requires NFS_groupx_16

hares -link nfs_export1 NFS_groupx_16

nfssrvx requires groupx_hme0

hares -link nfssrvx groupx_hme0

nfssrvx requires nfs_export1

hares -link nfssrvx nfs_export1

第 32 页 共 33 页

第三章 用GUI界面管理VCS

本章描述如何使用VCS图形界面“Cluster Manager”监视和管理VCS。 在使用“Cluster Manager”之前必须完成: ? 在配置文件中建立一个用户帐号

Cluster Manager有三种类型的用户: VCSGuest:用户名为(VCSGuestuser_name) VCSOperator:用户名为(VCSOpuser_name) Superuser:用户名为user_name

? 设置GUI显示

# xhost +

# export DISPLAY=myws:0

启动Cluster Manager: # hagui

Cluster Manager有四个窗口: ? Cluster Monitor: ? Cluster Explorer: ? Log Desk:

? Command Center:

第 33 页 共 33 页


Veritas Cluster Server V3.5用户指南(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:《Spark大数据技术与应用》教学大纲

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: