Volume-Gruppe erstellen
Erstellen Sie eine Volume-Gruppe im Block Volume-Service.
Verwenden Sie den Befehl oci bv volume-group create und die erforderlichen Parameter, um eine Volume-Gruppe aus vorhandenen Volumes zu erstellen:
oci bv volume-group create --compartment-id <compartment_ID> --availability-domain <external_AD> --source-details <Source_details_JSON>
Der Volume-Lebenszyklusstatus muss
AVAILABLE
lauten, um ihn einer Volume-Gruppe hinzuzufügen.Beispiel:
oci bv volume-group create --compartment-id ocid1.compartment.oc1..<unique_ID> --availability-domain ABbv:PHX-AD-1 --source-details '{"type": "volumeIds", "volumeIds":["ocid1.volume.oc1.phx.<unique_ID_1>", "ocid1.volume.oc1.phx.<unique_ID_2>"]}'
Eine vollständige Liste der Parameter und Werte für CLI-Befehle finden Sie in der CLI-Befehlsreferenz.
Führen Sie den Vorgang CreateVolumeGroup aus, um eine Volume-Gruppe zu erstellen.