CLI Guide
Chapter 1: Using the CLI................................................................................................................. 11
Accessing the CLI................................................................................................................................................................. 11
CLI output formats............................................................................................................................................................... 11
Using CLI interactively..........................................................................................................................................................11
Using a script to access the CLI.........................................................................................................................................12
Using XML API output................................................................................................................................................... 13
Using JSON API output.................................................................................................................................................14
Scripting guidelines........................................................................................................................................................ 15
XML API optimization.................................................................................................................................................... 16
Command syntax..................................................................................................................................................................17
Command completion, editing, and history.......................................................................................................................19
Size representations........................................................................................................................................................... 20
Event log...............................................................................................................................................................................20
Chapter 2: Categorical list of commands......................................................................................... 21
Chapter 3: Alphabetical list of commands........................................................................................23
abort copy.............................................................................................................................................................................27
abort replication................................................................................................................................................................... 27
abort scrub........................................................................................................................................................................... 28
abort verify...........................................................................................................................................................................29
add disk-group..................................................................................................................................................................... 29
add host-group-members.................................................................................................................................................. 32
add host-members.............................................................................................................................................................. 33
add ipv6-address................................................................................................................................................................. 33
add spares............................................................................................................................................................................ 34
add storage.......................................................................................................................................................................... 35
add volume-group-members..............................................................................................................................................36
check firmware-upgrade-health ....................................................................................................................................... 37
check support-assist...........................................................................................................................................................38
clear cache........................................................................................................................................................................... 38
clear disk-metadata.............................................................................................................................................................39
clear dns-parameters.......................................................................................................................................................... 39
clear events..........................................................................................................................................................................40
clear expander-status......................................................................................................................................................... 40
clear fde-keys....................................................................................................................................................................... 41
clear fenced-data................................................................................................................................................................. 41
clear replication-queue........................................................................................................................................................42
clear support-assist-proxy..................................................................................................................................................42
copy volume......................................................................................................................................................................... 42
create certificate................................................................................................................................................................. 44
create chap-record............................................................................................................................................................. 45
create host........................................................................................................................................................................... 46
create host-group................................................................................................................................................................47
Contents
Contents 3