ScaleIO CLI COMMANDS

Some command lines for EMC ScaleIO installation and management.

It’s cli under Windows and scli under Linux.

Add primary MDM
cli −−add_primary_mdm −−primary_mdm_ip 192.168.12.26 −−accept_license

Login to MDM
cli −−mdm_ip 192.168.12.26 −−login −−username admin

Change password
cli −−set_password −−old_password admin −−new_password Password123!

Add secondary MDM
cli −−mdm_ip 192.168.12.26 −−add_secondary_mdm −−secondary_mdm_ip 192.168.12.27

Add Tiebreaker
cli −−mdm_ip 192.168.12.26 −−add_tb −−tb_ip 192.168.12.28

Switch to cluster mode
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−switch_to_cluster_mode

Add thin LUN
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−add_volume −−size_gb 100 −−volume_name SSD1 −−protection_domain_name SSD −−storage_pool_name SSD −−thin_provisioned

Add SDC
cli −−add_sdc −−sdc_ip 192.168.12.160

List all volumes
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−query_all_volumes

Present LUN to SDC
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−map_volume_to_sdc −−volume_name vol1 −−sdc_ip 192.168.12.160

Present LUN to SDC with option to present LUN to other SDCs
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−map_volume_to_sdc −−volume_name vol1 −−sdc_ip 192.168.12.160 −−allow_multi_map

Unpresent LUN from single host
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−unmap_volume_from_sdc −−volume_name vol_1 −−sdc_ip 192.168.12.160

Unpresent LUN from all SDC
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−unmap_volume_from_sdc −−volume_name SSD1 −−all_sdcs

Extend LUN size
cli −−mdm_ip 192.168.12.26,192.168.12.27 −−modify_volume_capacity −−volume_name <NAME> −−size_gb <SIZE>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s