Symantec VirtualStore 安 装 和 配 置 指 南

Symantec™ VirtualStore 安装和配置指南: Linux Symantec™ VirtualStore 安装和配置指南: Linux

d1mj3xqaoh14j0.cloudfront.net
from d1mj3xqaoh14j0.cloudfront.net More from this publisher
17.08.2015 Views

132 SVS 以 保 持 数 据 完 整 性手 动 设 基 于 服 务 器 的 I/O 防 护注 意 : 只 要 在 I/O 防 护 中 将 协 调 器 磁 盘 用 作 协 调 点 , 就 必 须 创 建 一 个 磁 盘 组(vxfencoorddg)。 必 须 在 /etc/vxfenmode 文 件 中 定 此 磁 盘 组 。请 参 见 第 114 页 的 “ 设 协 调 器 磁 盘 组 ”。自 定 义 防 护 框 架 也 会 生 成 具 有 全 设 协 调 点 ( 在 /etc/vxfenmode 文 件 中 定的 所 有 CP 服 务 器 磁 盘 组 磁 盘 ) 的 /etc/vxfentab 文 件 。在 SVS 集 群 上 手 动 基 于 服 务 器 的 防 护1 使 用 文 本 编 辑 器 在 集 群 中 的 每 个 节 点 上 编 辑 以 下 文 件 :/etc/sysconfig/vxfen必 须 将 VXFEN_START VXFEN_STOP 环 境 变 量 的 值 更 改 为 1。2 可 使 用 文 本 编 辑 器 编 辑 /etc/vxfenmode 文 件 值 以 满 足 您 的 规 范 。如 果 基 于 服 务 器 的 防 护 将 单 个 高 可 用 CP 服 务 器 用 作 其 仅 有 的 协 调 点 , 请确 保 在 /etc/vxfenmode 文 件 中 添 加 single_cp=1 项 。以 下 文 件 输 出 示 例 显 示 了 /etc/vxfenmode 文 件 所 包 含 的 内 容 :请 参 见 第 132 页 的 “ 基 于 服 务 器 的 防 护 的 vxfenmode 文 件 输 出 示 例 ”。3 编 辑 了 /etc/vxfenmode 文 件 之 后 , 请 运 行 vxfen init 脚 本 以 启 动 防 护 。例 如 :# /etc/init.d/vxfen start4 确 保 /etc/vxfenmode 文 件 包 含 的 全 值 设 为 1。确 保 以 下 命 令 显 示 cpsadm 客 户 端 所 使 用 的 证 书 :EAT_DATA_DIR=/vat/VRTSvcs/vcsauth/data/CPSADM cpsat showcred基 于 服 务 器 的 防 护 的 vxfenmode 文 件 输 出 示 例以 下 是 基 于 服 务 器 的 防 护 的 vxfenmode 文 件 示 例 :## vxfen_mode determines in what mode VCS I/O Fencing should work.## available options:# scsi3 - use scsi3 persistent reservation disks# customized - use script based customized fencing# disabled - run the driver but don't do any actual fencing#vxfen_mode=customized

SVS 以 保 持 数 据 完 整 性手 动 设 基 于 服 务 器 的 I/O 防 护133# vxfen_mechanism determines the mechanism for customized I/O# fencing that should be used.## available options:# cps - use a coordination point server with optional script# controlled scsi3 disks# security - 1# security - 0vxfen_mechanism=cps## scsi3_disk_policy determines the way in which I/O Fencing# communicates with the coordination disks. This field is# required only if customized coordinator disks are being used.## available options:# dmp - use dynamic multipathing# raw - connect to disks using the native interface#scsi3_disk_policy=dmp# security when enabled uses secure communication to the cp server# using VxAT (Veritas Authentication Service)# available options:# 0 - don't use Veritas Authentication Service for cp server# communication# 1 - use Veritas Authentication Service for cp server# communicationsecurity=1## Specify 3 or more odd number of coordination points in this file,# one in its own line. They can be all-CP servers, all-SCSI-3# compliant coordinator disks, or a combination of CP servers and# SCSI-3 compliant coordinator disks. Please ensure that the CP# server coordination points are numbered sequentially and in the# same order on all the cluster nodes.## Coordination Point Server(CPS) is specified as:## cps=[]:

132<strong>配</strong> <strong>置</strong> SVS 以 保 持 数 据 完 整 性手 动 设 <strong>置</strong> 基 于 服 务 器 的 I/O 防 护注 意 : 只 要 在 I/O 防 护 <strong>配</strong> <strong>置</strong> 中 将 协 调 器 磁 盘 用 作 协 调 点 , 就 必 须 创 建 一 个 磁 盘 组(vxfencoorddg)。 必 须 在 /etc/vxfenmode 文 件 中 <strong>指</strong> 定 此 磁 盘 组 。请 参 见 第 114 页 的 “ 设 <strong>置</strong> 协 调 器 磁 盘 组 ”。自 定 义 防 护 框 架 也 会 生 成 具 有 <strong>安</strong> 全 设 <strong>置</strong> <strong>和</strong> 协 调 点 ( 在 /etc/vxfenmode 文 件 中 <strong>指</strong> 定的 所 有 CP 服 务 器 <strong>和</strong> 磁 盘 组 磁 盘 ) 的 /etc/vxfentab 文 件 。在 SVS 集 群 上 手 动 <strong>配</strong> <strong>置</strong> 基 于 服 务 器 的 防 护1 使 用 文 本 编 辑 器 在 集 群 中 的 每 个 节 点 上 编 辑 以 下 文 件 :/etc/sysconfig/vxfen必 须 将 VXFEN_START <strong>和</strong> VXFEN_STOP 环 境 变 量 的 值 更 改 为 1。2 可 使 用 文 本 编 辑 器 编 辑 /etc/vxfenmode 文 件 值 以 满 足 您 的 <strong>配</strong> <strong>置</strong> 规 范 。如 果 基 于 服 务 器 的 防 护 <strong>配</strong> <strong>置</strong> 将 单 个 高 可 用 CP 服 务 器 用 作 其 仅 有 的 协 调 点 , 请确 保 在 /etc/vxfenmode 文 件 中 添 加 single_cp=1 项 。以 下 文 件 输 出 示 例 显 示 了 /etc/vxfenmode 文 件 所 包 含 的 内 容 :请 参 见 第 132 页 的 “ 基 于 服 务 器 的 防 护 的 vxfenmode 文 件 输 出 示 例 ”。3 编 辑 了 /etc/vxfenmode 文 件 之 后 , 请 运 行 vxfen init 脚 本 以 启 动 防 护 。例 如 :# /etc/init.d/vxfen start4 确 保 /etc/vxfenmode 文 件 包 含 的 <strong>安</strong> 全 值 设 <strong>置</strong> 为 1。确 保 以 下 命 令 显 示 cpsadm 客 户 端 所 使 用 的 证 书 :EAT_DATA_DIR=/vat/VRTSvcs/vcsauth/data/CPSADM cpsat showcred基 于 服 务 器 的 防 护 的 vxfenmode 文 件 输 出 示 例以 下 是 基 于 服 务 器 的 防 护 的 vxfenmode 文 件 示 例 :## vxfen_mode determines in what mode VCS I/O Fencing should work.## available options:# scsi3 - use scsi3 persistent reservation disks# customized - use script based customized fencing# disabled - run the driver but don't do any actual fencing#vxfen_mode=customized

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!