17.08.2015 Views

Veritas Cluster Server 安 装 指 南

Veritas™ Cluster Server 安装指南: Linux - Symantec

Veritas™ Cluster Server 安装指南: Linux - Symantec

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

442配 置 <strong>安</strong> 全 shell 或 远 程 shell 以 进 行 通 信设 置 系 统 间 通 信默 认 情 况 下 , 将 禁 用 远 程 Shell (rsh) 以 获 得 更 高 的 <strong>安</strong> 全 性 。 使 用 ssh 来 执 行 远 程 命令 。配 置 ssh该 ssh 配 置 过 程 使 用 了 OpenSSH 示 例 文 件 名 和 命 令 。注 意 : 您 也 可 以 用 其 他 方 式 配 置 ssh。 不 管 如 何 配 置 ssh, 都 要 完 成 示 例 中 的 最 后 一步 以 验 证 配 置 。配 置 ssh1 登 录 到 要 从 中 <strong>安</strong> <strong>装</strong> VCS 的 系 统 。2 通 过 运 行 以 下 命 令 在 该 系 统 上 生 成 DSA 密 钥 对 :# ssh-keygen -t dsa3 接 受 默 认 位 置 ~/.ssh/id_dsa。4 当 出 现 命 令 提 示 符 时 , 输 入 密 码 短 语 并 对 其 进 行 确 认 。5 通 过 键 入 以 下 内 容 更 改 .ssh 目 录 的 权 限 :# chmod 755 ~/.ssh6 文 件 ~/.ssh/id_dsa.pub 中 包 含 以 ssh_dss 开 头 并 以 创 建 该 文 件 的 系 统 的 名 称 结尾 的 一 行 。 将 该 行 复 制 到 要 <strong>安</strong> <strong>装</strong> VCS 的 所 有 系 统 上 的/root/.ssh/authorized_keys2 文 件 中 。如 果 本 地 系 统 属 于 集 群 , 务 必 要 编 辑 该 系 统 上 的 文 件 authorized_keys2。7 在 要 <strong>安</strong> <strong>装</strong> 产 品 的 系 统 上 运 行 以 下 命 令 :# exec /usr/bin/ssh-agent $SHELL# ssh-add这 一 步 是 shell 特 定 的 , 在 shell 执 行 期 间 有 效 。8 当 出 现 命 令 提 示 符 时 , 输 入 DSA 密 码 短 语 。您 可 以 采 用 下 列 方 式 之 一 在 几 个 系 统 上 <strong>安</strong> <strong>装</strong> VCS:■■在 任 何 一 个 系 统 上 运 行 installvcs 程 序在 集 群 外 的 独 立 系 统 上 运 行 installvcs 程 序

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

Saved successfully!

Ooh no, something went wrong!