symmetrix-dmx4

Sélectionnez des lun libres et qui se suivent en les repérant avec la commande suivante :

#symdev –sid XXXX list –noport –noreserved | grep RAID

Les disques choisis pour notre exemple sont les suivants :
1221
1222
1223

Création d’un fichier avec vi s’appellant meta_XXXX_04072013.txt et insertion des lignes ci-dessous dans le fichier :
form meta from dev 1220 config=striped, stripe_size=1920;
add dev 1221:1223 to meta 1220;

Lancement de la création du meta-lun – phase preview pour vérifier la disponibilité de la baie et la syntaxe :

#symconfigure -sid XXXX -f « meta_XXXX_04072013.txt » -v -nop preview

A Configuration Change operation is in progress. Please wait…

Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
{
form meta from dev 1EA5 config=Striped, stripe_size=1920;
add dev 1EA6:1EA8 to meta 1EA5,
protect_data=FALSE;
}

Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Closing configuration change request………………….Closed.
Terminating the configuration change session…………..Done.

The configuration change session has completed successfully.

Lancement de la création du meta-lun – phase prepare pour simuler la création :

#symconfigure -sid XXXX -f « meta_XXXX_04072013.txt » -v -nop prepare
A Configuration Change operation is in progress. Please wait…

Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
{
form meta from dev 1EA5 config=Striped, stripe_size=1920;
add dev 1EA6:1EA8 to meta 1EA5,
protect_data=FALSE;
}

Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Closing configuration change request………………….Closed.
Terminating the configuration change session…………..Done.

The configuration change session has completed successfully.

Lancement de la création du meta-lun – phase commit pour exécuter la création du méta :

#symconfigure -sid XXXX -f « meta_XXXX_04072013.txt » -v -nop commit
A Configuration Change operation is in progress. Please wait…

Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
{
form meta from dev 1EA5 config=Striped, stripe_size=1920;
add dev 1EA6:1EA8 to meta 1EA5,
protect_data=FALSE;
}

Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Initiating PREPARE of configuration changes……………Prepared.
Initiating COMMIT of configuration changes…………….Queued.
COMMIT requesting required resources………………….Obtained.
Step 002 of 008 steps……………………………….Executing.
Step 002 of 008 steps……………………………….Executing.
Step 002 of 008 steps……………………………….Executing.
Polling……………………………………………Timed out.
Local:  COMMIT……………………………………..Done.
Terminating the configuration change session…………..Done.

The configuration change session has successfully completed.

 Dissolution d’un meta-lun sur une baie Symmetrix

Repérez le meta que vous souhaitez dissoudre :

#symdev –sid XXXX list –noport –noreserved -meta | grep RAID

Le disque choisi est le suivant :
1EA5

Créer un fichier avec VI dissolve_XXXX_04072013.txt et ajoutez-y la ligne suivante :
Dissolve meta dev 1EA5;

Lancer la dissolution comme indiqué ci-dessous :
#symconfigure -sid XXXX -f « dissolve_XXXX_04072013.txt » -v -nop preview
A Configuration Change operation is in progress. Please wait…

Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
{
dissolve meta dev 1EA5;
}

Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Closing configuration change request………………….Closed.
Terminating the configuration change session…………..Done.

The configuration change session has completed successfully.

#symconfigure -sid XXXX -f « dissolve_XXXX_04072013.txt » -v -nop prepare
A Configuration Change operation is in progress. Please wait…

Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
{
dissolve meta dev 1EA5;
}

Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Initiating PREPARE of configuration changes……………Prepared.
Closing configuration change request………………….Closed.
Terminating the configuration change session…………..Done.

The configuration change session has completed successfully.

#symconfigure -sid XXXX -f « dissolve_XXXX_04072013.txt » -v -nop commit
A Configuration Change operation is in progress. Please wait…

Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
{
dissolve meta dev 1EA5;
}

Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Initiating PREPARE of configuration changes……………Prepared.
Initiating COMMIT of configuration changes…………….Queued.
COMMIT requesting required resources………………….Obtained.
Step 002 of 008 steps……………………………….Executing.
Step 002 of 008 steps……………………………….Executing.
Step 004 of 008 steps……………………………….Executing.
Polling……………………………………………Timed out.
Polling……………………………………………Timed out.
Local:  COMMIT……………………………………..Done.
Terminating the configuration change session…………..Done.

The configuration change session has successfully completed.