Creating and deleting multiple volumes or luns, Sample command set – Dell Acceleration Appliances for Databases User Manual

Page 21

Advertising
background image

5. Create LUNs (export volumes) to share logical storage with initiators. For example:

lun:create myVolume newgroup 21:00:00:24:ff:67:5f:60

21:00:00:24:ff:67:5f:61

This creates a LUN by exporting

myVolume

to the initiator group

newgroup

using the

specified target port WWPNs.

6. Enter the Setup screen after the First Boot process has completed, so you can change values

as needed:

system:maintenance on

(do this for both nodes if in HA mode)

system:setup <screen>

(where

<screen>

is one of the following Setup screens to

display:

lan

,

cluster

,

timezone

,

password

, or

resetios

). For details, see

system:setup

.

system:maintenance off

(do this for both nodes if in HA mode)

7. Use the plural of various commands (

raids

,

initiators

,

volumes

, etc.) to display

information about the objects in the ION Accelerator system.

Creating and Deleting Multiple Volumes or LUNs

The following commands illustrate how to use the

shell:each

and

shell:seq

commands to

create loops that automate common, repetitive tasks. For complete syntax on these commands,
refer to

shell:each

and

shell:seq

in Appendix A: Shell Commands for Scripting.

• Create 16 unique volumes of 100GB each, in RAID10_POOL_1, where each volume name

begins with “vol” followed by a number:

each (seq 16) {volume:create vol$1 100 RAID10_POOL_1

• Delete volumes “vol9” through “vol16”:

each (seq --first 9 16) {volume:delete vol$1}

• Create 16 unique LUNs in the

win

initiator group, using all available targets, where each

volume name begins with “vol” followed by a number:

each (seq 16) {lun:create vol$1 win -a}

Sample Command Set

The set of commands listed below shows how CLI commands can be used to do the following
tasks:

• Create a Reliable Performance storage pool profile.

• Create a

Test2

volume on an HA cluster, with a size of 595GB, for

pool_md3

.

• Create an initiator group

BLUE2

for the volume.

21

Advertising