# cg_create cgnom_cg pool=Nom_Pool
'Nom_Pool' est le groupe de stockage auquel appartient le Consistent group.
A noter que le CG doit appartenir au même Pool que les volumes qu'il va gérer.
La documentation officielle est donnée ci-dessous.
Creating Consistency Groups
Creates a Consistency Group.
cg_create cg=cgName pool=PoolName
Parameters:
Name | Type | Description | Mandatory |
---|---|---|---|
cg | Object name | Name of the Consistency Group. | Y |
pool | Object name | Storage Pool of the Consistency Group. | Y |
This command creates a Consistency Group. A Consistency Group is a group of volumes that can all be snapshotted at the same point in time. This is essential for snapshotting several volumes that are used by the same application or by applications that interact with each other in order to generate a consistent set of snapshots.
The name of the Consistency Group must be unique in the system. The system is capable of containing up to 256 Consistency Groups.
The Storage Pool of the Consistency Group must be specified.
The Consistency Group is initially empty, containing no volumes.
A Consistency Group always belongs to a specific Storage Pool. All the volumes in the Consistency Group belong to the same Storage Pool as the Consistency Group.
The Consistency Group can be mirrored as a whole (see Creating a Mirroring Definition).
Example:
cg_create pool=p_1 cg=DBgroup
Output:
Command executed successfully.