WEB开发网
开发学院服务器服务器方案 为 HACMP/XD-PPRC 自动生成配置数据 阅读

为 HACMP/XD-PPRC 自动生成配置数据

 2008-11-12 10:54:57 来源:WEB开发网   
核心提示: 可以获得两种格式的输出:冒号分隔格式和 SMIT 快照格式,格式 2. 非交互模式、SMIT 快照格式# pprc4hacmp.sh -i varfilevalidating input........Searching forDSCLI on node rac2n1 .......DSC

可以获得两种格式的输出:冒号分隔格式和 SMIT 快照格式。

格式 2. 非交互模式、SMIT 快照格式

# pprc4hacmp.sh -i varfile
validating input........
Searching for DSCLI on node rac2n1 .......
     DSCLI found on node rac2n1
Searching for DSCLI on node rac2n4 .......
     DSCLI found on node rac2n4
HMC 9.3.18.141 ping test ....... Success
Storage Image id managed by HMC- 9.3.18.141 ........... : IBM.2107-7516231
HMC 9.3.18.210 ping test ....... Success
Storage Image id managed by HMC- 9.3.18.210 ........... : IBM.2105-22012
Verifying PVs existence at SiteA......
Verifying PVs existence at SiteB.....
Veryfying PV Vs LSSs on each Site ........
Finding LSS and VOlume PAIRs ......
Finding Pri-sec and sec-pri PortIDs for the Lsss 06 10.......
--------------- Copyservices Server Configuration data -------------------
* CSS Subsystem Name            [css_SiteA]
* CSS Site Name               SiteA   +
* CSS IP Address              [9.3.18.141]
* CSS User ID                [unamexx]
* CSS Password               [passwordxx]
----------------------------------****------------------------------------
--------------- Copyservices Server Configuration data -------------------
* CSS Subsystem Name            [css_SiteB]
* CSS Site Name               SiteB   +
* CSS IP Address              [9.3.18.210]
* CSS User ID                [unamexx]
* CSS Password               [passwordxx]
----------------------------------****------------------------------------
------------------ DS ESS Subsystem Configuration data -------------------
* ESS Subsystem Name               [dsess_SiteA]
* ESS Site Name                  SiteA  +
 ESS Cluster1 IP Address             [9.3.18.141]
 ESS Cluster2 IP Address             [ ]
* ESS User ID                   [unamexx]
* ESS Password                  [passwordxx]
* Full ESS Storage ID               [IBM.2107-7516231]
* List of CS Servers               [css_SiteA]  +
----------------------------------****------------------------------------
------------------ DS ESS Subsystem Configuration data -------------------
* ESS Subsystem Name               [dsess_SiteB]
* ESS Site Name                  SiteB  +
 ESS Cluster1 IP Address             [9.3.18.210]
 ESS Cluster2 IP Address             [ ]
* ESS User ID                   [unamexx]
* ESS Password                  [passwordxx]
* Full ESS Storage ID               [IBM.2105-22012]
* List of CS Servers               [css_SiteB]  +
----------------------------------****------------------------------------
-------------DSCLI-Managed PPRC Replicated Resource Configuration---------
* PPRC Resource Name               [PPRC_RG1_CG1]
* HACMP Sites                   [SiteA SiteB]   +
* PPRC Volume Pairs                [ 0620->103F]
* ESS Pair                    [dsess_SiteA dsess_SiteB]   +
* LSS Pair                    [06 10]   +
* PPRC Type                    mmir    +
* Pri-Sec Port Pair IDs              [I0000->I00A4 I0002->I00A4]
* Sec-Pri Port Pair IDs              [I0020->I0330 I0020->I0333]
* PPRC Link Type                  FCP   +
* PPRC Critical Mode                OFF  +
* PPRC Recovery Action               MANUAL   +
* Volume Group                  [RG1_CG1]
----------------------------------****------------------------------------

配置 CSS、DSESS 和 PPRC

用户使用配置数据和 smit pprc_ds 来配置 HACMP。

清单 5.在何处使用生成的配置数据

smit pprc_ds
--------------------------------------------------------------------
 Copy Services Server Configuration
 DS ESS Disk Subsystem Configuration
 DSCLI-Managed PPRC Replicated Resource Configuration
 PPRC Consistency Groups Configuration
 Verify PPRC Configuration

从上面的 smit 菜单中:

选择 Copy Services Server Configuration 选项并配置 CSS

选择 DS ESS Disk Subsystem Configuration 并配置 DS ESS 子系统

选择 DSCLI-Managed PPRC Replicated Resource Configuration 并配置 PPRC 复制资源

总结

您只需拥有 HACMP 和 AIX 的基础知识就可以使用此实用工具。使用由 pprc4hacmp 工具生成的配置数据可以节省您的时间,并减少或避免配置出错的机会。用户不需要了解 DSCLI 命令、输出格式,以及输出的各个字段。因此用户可以轻松地使用此脚本来配置 PPRC。

上一页  2 3 4 5 6 7 

Tags:HACMP XD PPRC

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接