Posts Tagged ‘cli’

We need two VIBS for this : 

The Utility

Software | System Management
HPE Smart Storage Administrator (HPE SSA) CLI for VMware 6.7

Download Page https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_875f40a825e449a685a827679f&swEnvOid=4196
Description The HPE Smart Storage Administrator CLI is a commandline-based disk configuration program for Smart Array Controllers and RAID Array Controllers.
Severity Optional
Operating Environments VMware vSphere 6.7
4.15.6.0
Dec 20, 2019


This gives us our ssacli-4.15.6.0-6.7.0.vib

 

The Driver : 

Driver | Storage Controller
* RECOMMENDED * HPE ProLiant Smart Array Controller Driver for VMware vSphere 6.7 (VIB file)
Fewer details
Download Page https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_76c5f8899aa8410e96f202eb82&swEnvOid=4196
Description This VIB file is used to update the HPE ProLiant Smart Array driver on an existing VMware vSphere 6.7 installation. VIB file version must be higher than the driver version already installed.
Severity Recommended
Operating Environments VMware vSphere 6.7

 

This gives us our  nhpsa-2.0.44-1OEM.670.0.0.8169922.x86_64.vib

 

Install these vibs ( Upload them to a datastore ) 

 

esxcli software vib install -v /vmfs/volumes/%DatastoreID%/nhpsa-2.0.30-1OEM.670.0.0.7535516.x86_64.vib
esxcli software vib install -v /vmfs/volumes/%DatastoreID%/ssacli-4.15.6.0-6.7.0.vib

Run these commands once server rebooted

https://blog.ndk.name/manage-hpe-smart-array-in-vmware-esxi/
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

To access the Secondary unit without changing HA Primary unit , which I would advise against if you are not sure of the VPN status run the following

execute ha manage 1

Login with the credentials

Then run 

diagnose vpn ike gateway

Lists all the current VPNS

diagnose vpn tunnel stat

Check how many are up

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Per the user guide

http://www.apc.com/salestools/PMAR-8P9G2C/PMAR-8P9G2C_R2_EN.pdf

The below commands help you change the alerts on a UPS Network Management Card 2 using SSH , cannot be done via Web Interface 

cfgpower -all ( Show all applicable power parameters for this UPS. ) 

cfgpower -l ( 97–106 Set the low transfer point, in VAC. ) 

cfgpower -h (127–136 Set the high transfer point, in VAC.)

cfgpowerov (100 | 120 | 110 |) – Set the outlet voltage, in VAC.

cfgpower -s Normal | Reduced | Low ) – Set the sensitivity, using one of the three arguments.

cfgpower -bu (127 | 130 | 133 |136 | 139 | 142 |145 | 148 ) – Set the bypass upper voltage in VAC; when the voltage rises above this value, the device goes into bypass. )

cfgpower -bl (086 | 088 | 090 | 092 | 094 | 096 | 098 | 100 ) – Set the bypass lower voltage in VAC; when the voltage drops below this value, the device goes into bypass. )

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Powershell script to list machines running  the out of date e1000 Adapter in Windows so you can update them to VMXnet3 !

Get-VM |
 
Where{(Get-NetworkAdapter -VM $_ | where{$_.Type -eq 'e1000'}) -and (Get-VMguest -VM $_ | Where-Object {$_.OSFullName -like "*Windows Server*"})} |
 
Select Name,@{N='vCenter';E={$_.Uid.Split('@')[1].Split(':')[0]}}

 

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)