————————————————————————————–
Reference:: VNX® Command Line Interface Reference for Block:

The naviseccli ndu command -install function transfers one or more SP driver packages
from a user-accessible file system to the system private storage LUN (PSM). Media should
be present before you issue this command.

Preinstallation validation checks identify unsupported or unsafe installation conditions.
You initiate the validation checks functionality when you issue the ndu -install command.
The validation checks run in the background, prior to installing the software. If a validation
check fails, the CLI displays the error and terminates the installation. You can choose to
display all validation checks as the functionality executes by specifying the -verbose switch,
otherwise the CLI only displays failures that prevent installation.

When you install new SP software using the CLI, the only way to determine when the
installation is finished is to issue periodic ndu -status commands until the CLI shows the
operation is completed.

The software prompts for information as needed; then it installs or upgrades the specified
software packages and restarts the SPs. The SPs then load and run the new packages. After
successful installation, it deletes the files from the system.
You can install more than one package with one ndu command.

————————————————————————————–

Software suites available for VNX2 and their associated Enablers:

VNXEnablers

ENABLER INSTALL PROCEDURE USING CLI

Check the list of all ENABLERS currently installed on the VNX:
naviseccli -h SP_IP ndu -list

A series of rule checks need to be performed in advance and correct any rule failures before proceeding:
naviseccli -h SP_IP ndu -runrules -listrules

Your configuration will run the following rules
===============================================
Host Connectivity
Redundant SPs
No Thin Provisioning Transitions
Version Compatibility
No Active Replication I/O
Acceptable Processor Utilization
Statistics Logging Disabled
No Transitions
All Packages Committed
Special Conditions
No Trespassed LUNs
No System Faults
No Interrupted Operations
No Incompatible Operations
FAST Cache Status
No Un-owned LUNs

Run through the Pre-installation rules to ensure the success of this software upgrade:
naviseccli -h SP_IP ndu -runrules -verbose

A common result is a warning for tresspassed LUNs:
RULE NAME: No Trespassed LUNs
RULE STATUS: Rule has warning.
RULE DESCRIPTION: This rule checks for trespassed LUNs on the storage system.
A total of 1 trespassed LUNs were found.
RULE INSTRUCTION: If these LUNs are not trespassed back, connectivity will be disrupted.

To remediate this rule failure and change the Current Owner you will need to execute a trespass command on the LUN using navicli or by right clicking on the LUN in Unisphere and click the trespass option:
naviseccli -h SP_IP trespass lun 1
If changing on multiple LUNs then running the trespass mine command from the SP will trespass all the LUNs that the SP has DEFAULT ownership of. For example to trespass LUNs with Default Ownership of ‘SP B’ but which are currently owned by ‘SP A’:
naviseccli -h SPB_IP trespass mine

Statistics Logging Disabled : Rule failed.
naviseccli -h SP_IP setstats -off

Local Protection Suite Enablers:
naviseccli -h SP_IP ndu -runrules “SnapViewEnabler-01.01.5.002-xpfree.ena” “VNXSnapshot-01.01.5.001.ena” “RPSplitterEnabler-01.01.5.002.ena” -verbose

naviseccli -h SP_IP ndu -install “SnapViewEnabler-01.01.5.002-xpfree.ena” “VNXSnapshot-01.01.5.001.ena” “RPSplitterEnabler-01.01.5.002.ena” -delay 360 -force -gen -verbose

Remote Protection Suite Enablers:
naviseccli -h SP_IP ndu -runrules “MirrorViewEnabler-01.01.5.002-xpfree.ena” “MVAEnabler-01.01.5.002-xpfree.ena” “RPSplitterEnabler-01.01.5.002.ena” -verbose

naviseccli -h SP_IP ndu -install “MirrorViewEnabler-01.01.5.002-xpfree.ena” “MVAEnabler-01.01.5.002-xpfree.ena” “RPSplitterEnabler-01.01.5.002.ena” -delay 360 -force -gen -verbose


FAST Suite Enablers:
naviseccli -h SP_IP ndu -runrules “FASTCacheEnabler-01.01.5.008.ena” “FASTEnabler-01.01.5.008.ena” -verbose

naviseccli -h SP_IP ndu -install “FASTCacheEnabler-01.01.5.008.ena” “FASTEnabler-01.01.5.008.ena” -delay 360 -force -gen -verbose

Additional Enabler Software:
naviseccli -h SP_IP ndu -runrules “ThinProvisioning-01.01.5.008.ena” “CompressionEnabler-01.01.5.008.ena” “DeduplicationEnabler-01.01.5.001.ena” “DataAtRestEncryptionEnabler-01.01.4.001-armada54_free.ena” -verbose

naviseccli -h SP_IP ndu -install “ThinProvisioning-01.01.5.008.ena” “CompressionEnabler-01.01.5.008.ena” “DeduplicationEnabler-01.01.5.001.ena” “DataAtRestEncryptionEnabler-01.01.4.001-armada54_free.ena” -delay 360 -force -gen -verbose

Monitoring the progress of the installation:
naviseccli -h SP_IP ndu -status
Is Completed: NO
Status: Activating software on primary SP
Operation: Install

naviseccli -h SP_IP ndu -status
Is Completed: NO
Status: Completing install on secondary SP
Operation: Install

naviseccli -h SP_IP ndu -status
Is Completed: YES
Status: Operation completed successfully
Operation: Install

naviseccli -h SP_IP ndu -list -name -RPSplitterEnabler

Commit Required: NO
Revert Possible: NO
Active State: YES
Is installation completed: YES
Is this System Software: NO

Re-enable stats logging:
naviseccli -h SP_IP setstats -on

If uninstall required:
naviseccli -h SP_IP ndu -messner -uninstall -RPSplitterEnabler -delay 360
Uninstall operation will uninstall
-RPSplitterEnabler
from both SPs Set NDU delay with interval time of 360 secs.Do you still want to continue. (y/n)? y

1 Comment »

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s