I’ve been very impressed with Nimble Storage since using a CS220 for a project last May and running performance tests against it. We purchased a CS240G shortly after. If you haven’t checked out what they’re doing with SSD I highly recommend you do.
We just purchased a CS220G to compliment our CS240G and I decided to set it up via CLI this time, though the GUI is straight forward as well. This can all be found in the Command Line Reference document on Nimble’s support portal.
When setting up the CS240G it only took 10 minutes to get through the base GUI setup, log into the console, finish all other settings (smtp, notifications, etc…), create chap accounts, and create a couple volumes. When I was ready to migrate to this array though I needed to create 26 new volumes and wanted to do it quickly. Looking this process up in the CLI document led me to create the following setup script for the new array.
If you want the full script it can be downloaded here –> NimbleSetupScript
After powering on the unit there is no IP set so connect via the serial cable. Default account for access is admin/admin at the login prompt.
To change the admin password:
useradmin --passwd changeMe
Basic setup of array. Each consecutive “–subnet”, ” –subnet_type” call increments to the next ETH/TG port.
setup --name CS220G-01 --domainname localdomain.local --dnsserver dns.localdomain.local --ntpserver pool.ntp.org --timezone America/Chicago --subnet 192.168.1.1/255.255.255.0 --subnet_type management --subnet 192.168.1.1/255.255.255.0 --subnet_type management --subnet 192.168.1.1/255.255.255.0 --subnet_type data --subnet 192.168.1.1/255.255.255.0 --subnet_type data --array_ipaddr 192.168.1.10 --support_ipaddr 192.168.1.11 --support_ipaddr 192.168.1.12 --default_gateway 192.168.1.1 --discovery_ipaddr 192.168.10.13 --data_ipaddr 192.168.10.14 --data_ipaddr 192.168.10.15
Rest of settings
array --edit --autosupport yes --support_tunnel no --proxyserver proxy.localdomain.local --proxyport 1234 --proxyuser User123 --proxypasswd changeMe --smtpserver smtpRelay.localdomain.local --fromeaddr array@localdomain.local --toeaddr storageAdmin@localdomain.local --sendcopy no --snmp_trap_enabled yes --snmp_trap_host snmpServer.localdomain.local --snmp_trap_port 1234
Register with vCenter Server. ** –serial must be the serial number of the array.
vmwplugin --register --username ssoVCenterAdmin --password ssoVCpassword --server 192.168.1.50 --serial AA-100000
Setup replication (must be done on replication partner as well):
partner --create CS240G-01 --description "vCloud Array 01" --password changeMe --hostname 192.168.10.20
Create a Volume Collection (if doing snapshots or replication) and Snapshot schedule:
volcoll --create VMwareVolumes --app_sync none volcoll --addsched VMwareVolumes --schedule VMwareVolumesSnapSchedule --repeat 1 --repeat_unit days --retain 12 --snap_verify no
Create Chap accounts:
chapuser --create ChapUser1 --password changeMe
Create volume and associate with volume collection:
vol --create Volume01 --size 819200 --description "VM Volume" --perfpolicy "VMware ESX 5" --chapuser ChapUser1 --multi_initiator yes vol --addacl Volume01 --apply_acl_to both --chapuser ChapUser2 vol --assoc Volume01 --volcoll VMwareVolumes
One gotcha I came across is special characters in names or passwords. You must use a ‘ around them.
Since this is done via Linux you can use for loops to create multiple volumes following the same pattern for a smaller script. Either way this is a lot faster than using the GUI, especially if you do this very often or want to automate creation of new volumes!!!
Leave a Reply