Dell Unity: How To setup ESRS Integrated using CLI
Summary: The following are the steps that can be taken to enable ESRS Integrated using CLI on a Unity array. (User Correctable)
Instructions
This KB is intended to walk through the steps necessary to configure and provision ESRS Integrated on a Unity array using CLI.
Step 1: Set Contact Information
The following command is used to show and set the contact information.
uemcli -u local/admin -securepassword /sys/info show
uemcli -u local/admin -securepassword /sys/info set -contactFirstName <First> -contactLastName <Last> -contactEmail <Email> -contactPhone <Phone#>
Step 2: Verify the EMC Online Support Account.
The following commands are used to show and set the EMC Online Support Account that is used to register the Unity array.
uemcli -u local/admin -securepassword /sys/support/account show
uemcli -u local/admin -securepassword /sys/support/account set -user <EMC Online Support account> -passwdSecure <pass>
Step 3: Check EULA.
The following commands are used to show and accept the EULA License.
uemcli -u local/admin -securepassword /sys/support/esrsi show
uemcli -u local/admin -securepassword /sys/support/esrsi set -acceptEula yes (***If not already accepted***)
Step 4: Run the networkCheck for ESRS.
uemcli -u local/admin -securepassword /sys/support/esrsi checkNetwork
Step 5: request AccessCode
The following command is used to request an AccessCode from support.emc.com. This AccessCode is sent to the EMC Online Support Account Email specified in Step 2.
uemcli -u local/admin -securepassword /sys/support/esrsi requestAccessCode
Step 6: View the Site Information.
The following command is used to view and verify one or more sites that your account has access to.
uemcli -u local/admin -securepassword /sys/support/esrsi/site show -accessCode <code> -detail
Step 7: Enable ESRS on SiteId.
The following command is the last step in which you can enable ESRS for the Array using the Site ID from Step 6. If multiple Sites are returned in Step 6, ensure that the correct site is specified.
uemcli -u local/admin -securepassword /sys/support/esrsi set -enable yes -siteId <siteid>
Command outputs from CLI
13:39:39 service@(AtomicFireball) spb:~> uemcli -u local/admin -password MyPassword /sys/info show
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: Contact first name =
Contact last name =
Contact company =
Contact email address =
Contact phone number =
Location name =
13:39:39 service@(AtomicFireball) spb:~> uemcli -u local/admin -password MyPassword /sys/info set -contactFirstName John -contactLastName Doe -contactEmail Globe@myCompany.com -contactPhone 1234567890
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
13:39:39 service@(AtomicFireball) spb:~> uemcli -u local/admin -password MyPassword /sys/support/account show
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: Support user name =
13:39:39 service@(AtomicFireball) spb:~> uemcli -u local/admin -password MyPassword /sys/support/account set -user Globe@myCompany.com -passwdSecure
Password:
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
13:39:39 service@(AtomicFireball) spb:~> uemcli -u local/admin -password MyPassword /sys/support/esrsi show
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: Enabled = no
EULA accepted = no
13:39:39 service@(AtomicFireball) spb:~> uemcli -u local/admin -password MyPassword /sys/support/esrsi set -acceptEula yes
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
21:00:08 service@(none) spb:/> uemcli -u local/admin -password MyPassword /sys/support/esrsi checkNetwork
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
21:14:08 service@(none) spb:/> uemcli -u local/admin -password MyPassword /sys/support/esrsi requestAccessCode
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: Recipient email address = G*****@myCompany.com.
Operation completed successfully.
21:15:22 service@(none) spb:/> uemcli -u local/admin -password MyPassword /sys/support/esrsi/site show -accessCode 123456 -detail
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: Site ID = 123456
Party ID = 987654321
Site name = My Company
Site description =
Address = 123 My Address
State = MA
Country = US
Country name =
City = Hopkinton
Current location = yes
21:20:46 service@(none) spb:/> uemcli -u local/admin -password MyPassword /sys/support/esrsi set -enable yes -siteId 123456
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.