install-unity

install-unity is the import / installation tool for emc unity vsa

requirements

Processor : 2
Memory : 12288
VirtualMemory : 12562
PhysicalMemory : 8095

the installation runs in 3 steps import
install
* initial setup wizard

also, view the options for unity install
for labbuildr windows machines, there is a powershell script to configure iSCSI
* labbuildr-iscsi

import

you must download you version of unity vsa from http://www.emc.com/products-solutions/trial-software-download/unity-vsa.htm
a login / registration is required for download, that is why an automatic download is not provided. once the download has finished, simply enter

.\install-unity.ps1 -ovf D:\EMC_VAs\UnityVSA-4.0.0.7329527.ova

where -ovf specifies the path to your downloaded OVA file

labbuildr then uses vmxtoolkit to convert the OVA image to a vmware workstation format. you can ignore the warnings

image

once finished, the command to continue with install is displayed

fully automated install ( configures System with user / Password / eula )

for easy install, just use

.\install-unity.ps1 -Defaults -configure 

you may also add an existing lic file if you re-install a previous registered system

.\install-unity.ps1 -Defaults -configure -Lic_file D:\Downloads\564D1FA6-F3C4-A7BC-EC74-D7943BC7ABB
A_2777136_15-Jul-2016.lic

unity_labbuildr_way

install

for easy install, just use

.\install-unity.ps1 -Defaults

a new linked clone is created, drives are added ( a default of 2 drives, may be customized )

image

allow for the vm to boot, than start with the displayed confif commands on the vm console. from the console, login with service/service and run

svc_initial_config -4 "192.168.2.85 255.255.255.0 192.168.2.4"

where adding your specific IP requirements

the command may fail, if the system is not fully initialized. Just wait some more minites and repeat
image
once the configuration was sucessfull, you can proceed with your browser to configure unity image

starting the initial installation wizard

login to https://unity_ip:443 with admin/Password123#

image

the installation wizard will welcome you
image
Accept the license agreement
image
change your password (s)
image upload your licensefile image view results image
continue to with the wizard image

add your dns servers
image
proceed to create pools
image

specify a name for the new pool to be created image
assign available drives to their tiers image and then select a tier from the abvailable tiers image
select the virtual disks to use
image
review your selection
image
wait for the pool wizard to finish creation
image
procced to next step image
click the + sign to add iSCSI interfaces image
fill in the information, this example is a labbuildr default setup: image
finish the iSCSI Wizard we skip the nas wizard for now and quit to get to the Unity Dashboard
image

labbuildr-iscsi

to enable / register iscsi targets with your labbuildr [windows] hosts, a helper script is available. open a labbuildr command prompt from the desktop link.cd into the node directoy and run

.\enable-labiscsi.ps1 -target_ip 192.168.2.201

where target_ip should represent the Target IP you specified for unity.
proceed in your unisphere management station.

register initiator

go to access-->iscsi. you should see your newly registered iscsi connection(s) image
from access-->host add a new iSCSI host:
enter the host name
image
specify type an ip address
image
select initiator from the list
image
review settings and finish
image
once completed, the initiatore is registered and ready to acces luns image
the initiator should have a green checkmark now
image

create and map lun(s)

in the unity ui go to storage-->block-->LUNs and click the + sign
enter lun name and description
image
select pool and size
image
in configure access, add desired host
image

finish the wizard without adding replica´s or snapshots´s
image

from the host, use diskpart/powershel/diskmgmt.msc to add the new disk

options

Fully Automated installs require an existing license. The Fully Automated installs can pre-Configure Hosts, LUN and NAS Servers for Cifs and NFS, and pre -register iSCSI Hosts. This can be usefull in conjunction with other Scenario´s, such as Exchange 2016 or OpenStack.

Example

 .\install-unity.ps1 -Defaults -MasterPath C:\Users\bottk\Master.labbuildr\UnityVSA-4.0.1.8404134\ -Lic_file .\564d9f7d-aa2a-deb6-569c-fdaa02d2e732_2871812_24-Oct-2016.lic -configure -Disks 6 -iscsi_hosts E2016 -Protocols iscsi

this will configure a unity System including iSCSI Target Port -iscsi_hosts will configure a set of Example Hosts and Luns ( DCnode, Exchange 2016, AlwaysOn )

image

Powershell
SYNTAX
    C:\labbuildr2016\install-unity.ps1 [-Disks <Int32>] [<CommonParameters>]

    C:\labbuildr2016\install-unity.ps1 -ovf <String> [-Mastername <String>] [-MasterPath <Object>] [-Disks <Int32>] [<CommonParameters>]

    C:\labbuildr2016\install-unity.ps1 -Mastername <String> -MasterPath <Object> [-subnet <IPAddress>] [-BuildDomain <String>] [-VMnet
    <Object>] [-Disks <Int32>] [<CommonParameters>]

    C:\labbuildr2016\install-unity.ps1 [-Mastername <String>] [-MasterPath <Object>] -Defaults [-Defaultsfile <Object>] [-Disks <Int32>]
    [<CommonParameters>]