![]() ![]() bin/echo -e "RCPT TO: $emailrcpt2\r" > $tmp bin/echo -e "RCPT TO: $emailrcpt1\r" > $tmp bin/diff -u /vmfs/volumes/datastore1/custom/raid-good /tmp/raid-current > /tmp/raid-diff opt/hp/hpssacli/bin/hpssacli controller all show config > /tmp/raid-currentĬurdiff=`/bin/diff -u /vmfs/volumes/datastore1/custom/raid-good /tmp/raid-current` ![]() Store the script in /vmfs/volumes/datastore1/custom. Adapt this script to your needs by replacing the parameters in angulated brackets with your values. Now create a shell script check-raid.sh which can be used to monitor the disk status and to send out emails. Refresh the network firewall rules on the ESX device:Įsxcli network firewall refresh Check the disk status.Upload this file to /etc/vmware/firewall/.Create a file smtp.xml and add the following content.Add an outbound port 25 for SMTP in the ESXi firewall. For this purpose, netcat is used to send the email, because there is no email software on an ESXi host. opt/hp/hpssacli/bin/hpssacli controller all show config > /vmfs/volumes/datastore1/custom/raid-goodįor further commands and how to use the HPACUCLI utility see: /useful-stuff/hp-smart-array-cli-commands-under-esxi/ Automatically report a change of the disk status by emailĪn email shall be sent to the administrators If a disk failure was detected. Then, use this information to store the HP Smart Array configuration to a newly created directory on datastore1. Let us find out the controller configuration first: /opt/hp/hpssacli/bin/hpssacli controller all show config For this purpose, we must save the healthy state of the HP Smart Array configuration to a location that will not be overwritten during reboot. With the hpssacli utility, you can check the disk status and compare it to the saved healthy state of the array. Reboot Save the HP Smart Array configuration and status ![]() Install both files on the ESXi host using these commands: esxcli software vib install -f -v /tmp/scsi-hpvsa-5.5.0.86_64.vibĮsxcli software vib install -f -v /tmp/hpssacli-2.30.6.0-6.0.0.vib They can be used both for ESXi 5.5 and 6.0 hosts. Installation of HP smart array drivers and utilityįirst of all you have to grab the HP smart array drivers and the HPACUCLI utility in the vib format. The following instructions are applicable to an already existing ESXi host. Media sizes, custom – Tray 1: 3.86 x 7.52 to 12.28 x 18.5 in Tray 2, 3: 5.83 x 8.27 to 11.69 x 17.This is a description on how to check the status of a HP Smart array and report disk failures by email from the ESXi host using HP command line utilities.įur this purpose, the HPSSACLI utility will be used, which is part of HP ESXi Utilities Offline bundles, but also part of customised HP ESXi images for ProLiant servers.Media sizes supported – Tray 1: A3, A4, A5, RA3, B4, B5, 8k, 16k, postcards (JIS double), envelopes (DL, C5, B5) Tray 2, 3: A3, A4, A5, B4, B5.Paper handling output, standard – 500 sheet face-down tray, 100 sheet face-up tray.Paper handling input, standard – Two 500-sheet input trays, 100-sheet multi-purpose tray.Hard Disk – Standard, 8 GB Solid State Drive (SSD).Printer management – HP Web Jetadmin, HP Utility (Mac).Ports – 2 Hi-Speed USB 2.0 Host 1 Hi-Speed USB 2.0 Device 1 Gigabit Ethernet 10/100/1000T network 1 Foreign Interface 1 Hardware Integration Pocket 2 Internal USB Host.Network ready – Standard (built-in Gigabit Ethernet).Connectivity, standard – 2 Hi-Speed USB 2.0 Host 1 Hi-Speed USB 2.0 Device 1 Gigabit Ethernet 10/100/1000T network 1 Foreign Interface 1 Hardware Integration Pocket 2 Internal USB Host.Print languages – HP PCL 6, HP PCL 5, HP postscript level 3 emulation, native PDF printing (v 1.4).Replacement cartridges – HP 25X Black LaserJet Toner Cartridge (34.5k yield) CF325X.Display – 4.3″ touchscreen, LCD (color graphics, 480 x 272).Recommended monthly page volume – 10000 to 50000.Monthly duty cycle – Up to 300,000 pages.Resolution technology – HP FastRes 1200 (1200 dpi quality), 600 x 600 dpi with HP Resolution Enhancement technology.Resolution (black) – Up to 1200 x 1200 dpi. ![]() First page out (ready) black – As fast as 8.5 sec. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |