Sun Cluster Geographic Edition 数据复制指南(适用于 EMC Symmetrix Remote Data Facility)

Procedure如何为 Sun Cluster Geographic Edition 系统设置原始磁盘设备组

除各种卷管理器之外,Sun Cluster Geographic Edition 还支持使用原始磁盘设备组。初次配置 Sun Cluster 时,系统会自动为群集中的每个原始设备配置设备组。使用本过程可重新配置这些自动创建的设备组,以便用于 Sun Cluster Geographic Edition。

  1. 针对您要使用的设备,取消配置为它们预定义的设备组。

    以下命令将删除为 d7d8 预定义的设备组。


    phys-paris-1# cldevicegroup disable dsk/d7 dsk/d8
    phys-paris-1# cldevicegroup offline dsk/d7 dsk/d8
    phys-paris-1# cldevicegroup delete dsk/d7 dsk/d8
    
  2. 创建新的原始磁盘设备组,其中包括所需的设备。

    请确保新的 DID 中不包含斜杠。以下命令将会创建全局设备组 rawdg,其中包含 d7d8


    phys-paris-1# cldevicegroup create -n phys-paris-1,phys-paris-2 \
    -t rawdisk -d d7,d8 rawdg
    

示例 1–1 配置原始磁盘设备组

本示例描述了如何在主群集上配置设备组、如何在伙伴群集上配置相同的设备组,以及如何将该设备组添加到 EMC Symmetrix 保护组中。


Remove the automatically created device groups from the primary cluster.
phys-paris-1# cldevicegroup disable dsk/d7 dsk/d8 
phys-paris-1# cldevicegroup offline dsk/d7 dsk/d8
phys-paris-1# cldevicegroup delete dsk/d7 dsk/d8

Create the raw-disk device group on the primary cluster.
phys-paris-1# cldevicegroup create -n phys-paris-1,phys-paris-2 \ 
-t rawdisk -d d7,d8 rawdg

Remove the automatically created device groups from the partner cluster.
phys-newyork-1# cldevicegroup disable dsk/d5 dsk/d6
phys-newyork-1# cldevicegroup offline dsk/d5 dsk/d6
phys-newyork-1# cldevicegroup delete dsk/d5 dsk/d6

Create the raw-disk device group on the partner cluster.
phys-newyork-1# cldevicegroup create -n phys-newyork-1,phys-newyork-2 \
-t rawdisk  -d d5,d6 rawdg

Add the raw-disk device group to the protection group rawpg.
phys-paris-1# geopg create -d srdf -p Nodelist=phys-paris1,phys-paris-2 \
-o Primary -p cluster_dgs=rawdg -s paris-newyork-ps rawpg

接下来的操作

配置伙伴群集时,创建一个与此处创建的设备组同名的原始磁盘设备组。有关此任务的说明,请参见如何在使用原始磁盘设备组时从主群集复制配置信息

在两个群集上均配置了设备组后,即可在 Sun Cluster Geographic Edition 命令(如 geopg)中根据需要使用该设备组名称。