Générer un rapport HPE ADU sous VMware

Si le support HPE vous demande un rapport ADU , et que vous ne souhaitez pas éteindre le serveur pour démarrer sur l’Intelligent Provisionning

installer vSphere CLI 6.0 (la version 6.5 semble ne pas fonctionner correctement car n’intègre pas PERL)
https://code.vmware.com/tool/vsphere-cli/6.0​
# Pré-requis : Vmware ESXi 5/6/6.5 version HPE

Installer SSACLI https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_32494330c1cd4e15ace55b1e53&swEnvOid=4064# ,

dézipper , ne pas installer

#copier ssa ssaducliexe et ssaduesxi.exe dans

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin

#Recuperer l’empreinte du du serveur
C:\Program Files (x86)\VMware\VMware vSphere CLI\bin> esxcli.exe –server=[ip_serveur] –user=root –password=[password]
Connect to [ip_serveur] failed. Server SHA-1 thumbprint: BD:F9:D9:40:35:77:E9:AA:8F:BC:04:42:97:AA:A7:4E:AA:E5:BB:4D (not trusted).

#Aller dans
C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\apps\general>
credstore_admin.pl add –server 192.168.0.247 –thumbprint C7:36:00:FC:32:CB:E0:F1:9C:47:41:90:CB:CC:96:61:2F:81:59:20

#Aller dans C:\Program Files (x86)\VMware\VMware vSphere CLI\bin
Ssaduesxi –server=192.168.0.247 –user=root –password=password –file=adureport.zip

Générer un rapport HPE ADU sous VMware

Spencer’s IT Tips & Tidbits: Automate HP Switch Config Backup

‘——–Start Of Script——–
Option Explicit
On Error Resume Next
Dim WshShell, strIP, strTFTP, strFile, strPassHP, strUser
Dim filesys, filetxt

strFile = « list_switch.txt »
strTFTP = « TFTP Server »
strUser = « manager »
strPassHP = « Password »

‘Opens IP address file for reading
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Set filesys = CreateObject(« Scripting.FileSystemObject »)
Set filetxt = filesys.OpenTextFile(strFile, ForReading, True)

‘Opens the command prompt
set WshShell = CreateObject(« WScript.Shell »)
WshShell.run « cmd.exe »
WScript.Sleep 1000

Do While Not filetxt.AtEndOfStream
strIP = filetxt.ReadLine
Copy(strIP)
Loop

filetxt.Close
set WshShell = Nothing
set filesys = Nothing
WScript.Quit

Function Copy(strIP)
WshShell.SendKeys « telnet « & strIP
WshShell.SendKeys (« {Enter} »)
WScript.Sleep 1000
WshShell.SendKeys strUser
WshShell.SendKeys (« {Enter} »)
‘WshShell.SendKeys « p »
WshShell.SendKeys strPassHP
WshShell.SendKeys (« {Enter} »)
WshShell.SendKeys « copy running-config tftp  » & strTFTP &  »  » & strIP & « .txt »
WshShell.SendKeys (« {Enter} »)
WshShell.SendKeys « ^z »
WshShell.SendKeys « ^z »
WshShell.SendKeys « y »
WScript.Sleep 2000
WshShell.SendKeys (« {Enter} »)
End Function
‘——–End Of Script——–

Source : Spencer’s IT Tips & Tidbits: Automate HP Switch Config Backup

Spencer’s IT Tips & Tidbits: Automate HP Switch Config Backup

HP 3PAR Quorum Witness Server Deployment and Configuration – ByteSizedAlex

What is a Quorum Witness?

The HP 3PAR Quorum Witness is a virtual machine (VM) appliance deployed on ESXi that acts as an arbitrator in a split-brain scenario. You should always deploy the witness server on a third site with diverse routes to your two datacentres (DCs). As the witness is deployed to arbitrate in a split-brain scenario it needs to be hosted externally to your DCs.

The system essentially works by polling each 3PAR and allowing them to communicate back to the witness. In the event of a failure the witness will aid the decision making process of whether a 3PAR array should cease control of any volumes exported by it’s partner.

Source : HP 3PAR Quorum Witness Server Deployment and Configuration – ByteSizedAlex

HP 3PAR Quorum Witness Server Deployment and Configuration – ByteSizedAlex

HP 5900AF INITIAL SETUP & IRF CONFIGURATION

For a complex project with many moving pieces, finding the right place to start can be difficult. We want to make sure we have a good foundation so that there will be less stress as we continue to add components. In order to accomplish this, I chose to start with the configuration of the Top-of-Rack HP 5900AF switches.

suite: http://infrastructurewarfare.com/projects/bare-metal-deployment/hp-5900af-initial-setup-irf-configuration/

HP 5900AF INITIAL SETUP & IRF CONFIGURATION