Using the CLI

The Lenovo Storage V series clustered system (system) command-line interface (CLI) is a collection of commands that you can use to manage the Lenovo Storage V series.

Overview

The CLI commands use the Secure Shell (SSH) connection between the SSH client software on the host system and the SSH server on the Lenovo Storage V series system.

Before you can use the CLI, you must have already created a system.

To use the CLI from a client system:
  • Install and set up SSH client software on each system that you plan to use to access the CLI.
  • Authenticate to the system using a password.
  • If you require command line access without entering a password, use an SSH public key. Then store the SSH public key for each SSH client on the Lenovo Storage V series.
    Note: After the first SSH public key is stored, you can add additional SSH public keys using either the management GUI or the CLI.
You can use the CLI for these functions:
  • Setup of the system, its nodes, and the I/O groups
  • Analyze error logs (event logs)
  • Setup and maintenance of managed disks (MDisk) and storage pools
  • Setup and maintenance of client public SSH keys on the system
  • Setup and maintenance of volumes
  • Setup of logical host objects
  • Map volumes to hosts
  • Navigate from managed hosts to volumes and to MDisks, and the reverse direction up the chain
  • Set up and start Copy Services:
    • FlashCopy and FlashCopy consistency groups
    • Synchronous Metro Mirror and Metro Mirror consistency groups
    • Asynchronous Global Mirror and Global Mirror consistency groups