17.08.2015 Views

Veritas Operations Manager Management Server 5.0 Add-ons 安 装 使 用 指 南

Veritas™ Operations Manager Management Server 5.0 ... - Symantec

Veritas™ Operations Manager Management Server 5.0 ... - Symantec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>使</strong> <strong>用</strong> <strong>Veritas</strong> <strong>Operati<strong>ons</strong></strong> <strong>Manager</strong> 管 理 脚 本创 建 脚 本 解 决 方 案299“Create script solution - Select a script for the script solution ( 创 建脚 本 解 决 方 案 - 为 脚 本 解 决 方 案 选 择 脚 本 )” 面 板 的 选 项要 构 建 脚 本 解 决 方 案 , 需 要 向 解 决 方 案 中 添 加 脚 本 。 “Create Script Solution ( 创建 脚 本 解 决 方 案 )” 面 板 显 示 可 在 脚 本 解 决 方 案 中 <strong>使</strong> <strong>用</strong> 的 所 有 可 <strong>用</strong> 脚 本 。 它 可 以 是Shell 脚 本 (.sh),Perl 脚 本 (.pl), 或 者 批 处 理 文 件 (.bat)。 您 可 以 从 表 中 选 择 现 有 脚本 。 也 可 以 <strong>使</strong> <strong>用</strong> “Upload ( 上 传 )” 选 项 上 传 脚 本 。 只 能 为 每 个 脚 本 解 决 方 案 添 加 一个 脚 本 。注 意 : 仅 当 Perl 脚 本 的 位 置 设 置 为 #!/opt/VRTSsfmh/bin/perl 时 ,Scripting<strong>Add</strong>-on 才 能 成 功 运 行 上 传 的 脚 本 。 要 运 行 这 些 <strong>用</strong> 户 定 义 的 脚 本 , 必 须 <strong>使</strong> <strong>用</strong> 此 Perl脚 本 。 成 功 上 传 后 , <strong>用</strong> 户 定 义 脚 本 的 存 储 路 径 为/var/opt/VRTSsfmcs/scripting<strong>Add</strong>on/upload_script/test.pl。 在 本 例 中 ,test.pl 就 是 这 样 一 个 <strong>用</strong> 户 定 义 脚 本 。表 25-1字 段File Name ( 文 件 名 )“Select script ( 选 择 脚 本 )” 面 板 的 选 项说 明显 示 脚 本 文 件 的 名 称 。File Path ( 文 件 路 径 )First Uploaded By ( 首 次 上 传 的 <strong>用</strong> 户 )First Uploaded On ( 首 次 上 传 的 日 期 和 时 间 )Last Uploaded By ( 最 后 上 传 的 <strong>用</strong> 户 )Last Uploaded On ( 最 后 上 传 的 日 期 和 时 间 )显 示 脚 本 文 件 路 径 。显 示 首 次 上 传 脚 本 的 <strong>用</strong> 户 的 帐 户 详 细 信 息 。显 示 首 次 上 传 脚 本 的 日 期 和 时 间 。显 示 上 传 最 新 版 本 的 脚 本 的 <strong>用</strong> 户 帐 户 详 细 信息 。显 示 上 传 最 新 版 本 的 脚 本 的 日 期 和 时 间 。请 参 见 第 301 页 的 “ 创 建 脚 本 解 决 方 案 ”。“Create script solution - Provide parameter definition for the scriptsolution ( 创 建 脚 本 解 决 方 案 - 为 脚 本 解 决 方 案 提 供 参 数 定 义 )” 面 板的 选 项<strong>使</strong> <strong>用</strong> 该 面 板 提 供 脚 本 解 决 方 案 参 数 的 详 细 信 息 。

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

Saved successfully!

Ooh no, something went wrong!