Using the StoreOnce CLI
This chapter summarizes how to use the StoreOnce CLI to apply licenses, and discover and add storage.
It provides an alternative to using the StoreOnce GUI for users who prefer to work with StoreOnce CLI
commands. For more information refer also to the
HPE StoreOnce CLI Reference Guide
.
To access the StoreOnce CLI
Access the StoreOnce CLI from an SSH terminal using an SSH client application (freely available on the
internet) using any configured IP address for the appliance and provide an Administrator user name:
ssh <username>@<IP address>
At the next prompt, enter the Administrator's password.
Applying the license
Procedure
1.
If you have saved the license to use as a DAT file, check that it is stored within the licenses folder
using the StoreOnce CLI command:
system show licenses
.
2.
Look for the
<LTU>.dat
file.
3.
Apply the license using one of the following CLI commands:
• Use
license load
to add all licenses in the
licenses
directory.
• Use
license load <LTU>.dat
to load a single license that has been saved as a file. The file
must exist in the StoreOnce 5500 System's
licenses
directory.
• Use
license add <string>
to key in the license directly. If you used email or a temporary file,
cut and paste the string exactly as you obtained it from the HP Licensing website. Entering the LTU
manually is not advised.
NOTE:
The key is specific to the StoreOnce 5500 System to which it applies. It cannot be transferred.
4.
To ensure that the license has been applied successfully, run the StoreOnce CLI command:
license show
Discovering and adding storage
NOTE:
Be sure to apply the licenses for all Capacity Upgrade Kits before running the expansion process.
The easiest way to view the newly added storage enclosure is to log on to the StoreOnce GUI and look at
the
Storage Management
page, as described in the previous chapter.
Procedure
1.
Check the status of the system and that the service set is running using the following command:
50
Using the StoreOnce CLI