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
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
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 )
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
once the configuration was sucessfull, you can proceed with your browser to configure unity
starting the initial installation wizard
login to https://unity_ip:443 with admin/Password123#
the installation wizard will welcome you
Accept the license agreement
change your password (s)
upload your licensefile
view results
continue to with the wizard
add your dns servers
proceed to create pools
specify a name for the new pool to be created
assign available drives to their tiers
and then select a tier from the abvailable tiers
select the virtual disks to use
review your selection
wait for the pool wizard to finish creation
procced to next step
click the + sign to add iSCSI interfaces
fill in the information, this example is a labbuildr default setup:
finish the iSCSI Wizard
we skip the nas wizard for now and quit to get to the Unity Dashboard
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)
from access-->host add a new iSCSI host:
enter the host name
specify type an ip address
select initiator from the list
review settings and finish
once completed, the initiatore is registered and ready to acces luns
the initiator should have a green checkmark now
create and map lun(s)
in the unity ui go to storage-->block-->LUNs and click the + sign
enter lun name and description
select pool and size
in configure access, add desired host
finish the wizard without adding replica´s or snapshots´s
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 )
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>]