Managing Fujitsu Eternus SAN From the CLI Using SSH
Managing the Fujitsu Eternus DS100 SAN on the Comand Line
ssh <user>@<eternus management ip>
Be sure to replace <user> with the appropriate username. The default username is root.
As part of hardening the SAN from attackers, the root user should be disabled and a new administrative user should be created. The SAN should also be configured to use radius for external user authentication. These are topics beyond the scope of this article and will be discussed in a future article.
At any time input a ? and a list of context specific suggestions will be printed. When nothing has been typed a list of the available commands is printed. The show command can be used to explore the available configuration paramaters. Help for show is printed by input of the ? char. This pattern continues for all sub commands and properties, although sometimes available parameters are not printed and must be cross-referenced in the user manual.
Output a list of commands.
Help for show command.
show volumes ?
Parameters for the show volumes command.
Several important configuration aspects are required to map volumes. A non- exaustive list includes the following:
- raid groups
- thin provisioned volumes
- affinity groups
- host groups
- lun groups
Help for these are displayed as usual.
show thin-pro-pools ?
Recipe: Create new volume and Assign it To an Existing LUN Group
First the volume must be created. Get help on the create volume command.
create volume ? -name - Name of volumes -rg-number - The RAID group number where the volumes will be created -rg-name - The RAID group name where the volumes will be created -type - Volume type -size - Volume size -virtual-size - A volume size (only when selecting SDV) -count - The number of volumes to be created (default 1) -pool-number - The Thin provisioning pool number where the volumes will be created -pool-name - The Thin provisioning pool name where the volumes will be created -copy-protection - Specify if the copy protection mode is enabled -attention - The attention level of the Thin provisioning volume -encryption - Specify if the volume is encrypted. -volume-number - Volume number -wide-stripe-size - Specify stripe size for wsv. -concatenation-order - Specify the order of RAID Group striping in wsv. -exc - Specify if the creating volume uses EXC (Extreme Cache) or EXC Pool. -allocation - Specify if the volume is thick-provisioned. -data-integrity - Specify if the creating volumes use the T10 Data Integrity Field. -nas-block-size - Specify the block size of NAS volume.
Either the *-name or the -number counterpart can be specified in a single command.
create volume -name serverview0-0 -type tpv -size 15gb -pool-number 1
Then, the volume must be assigned to a given LUN group.
set lun-group -lg-number 1 -volume-number 97 -lun 97
With an appropriate host affinity configuration the new volume should be available for use. On a kvm host the pool can be refreshed to load the new volume.
virsh -c qeum+ssh://kvm0.host.com/system pool-refresh <pool>