Sunday, 7 January 2018

How to Fix PSOD ESXI 6.5 ON HPE G7 SERVERS


Problem commonly happens on G7 Servers.

It would appear that one driver is causing this in the 6.5 image,  “hpe-smx-provider” (650.03.11.00.17-4240417). Installing the standard ESXI 6.5 ISO does allow the server to boot, but is missing a lot of drivers and does not give the pretty all-inclusive system stats that the HPE ISO does.

Below is a quick instruction on how to build a custom ISO to fix this.

Download PowerCLI for Windows.

Download
VMware-ESXi-6.5.0-Update1-6765664-HPE-650.U1.9.6.5.1-Nov2017-depot.zip
VMware-ESXi-6.0.0-Update3-5050593-HPE-600.9.7.0.17-Feb2017-depot.zip
Put Both into same directory I put mine in d:\esx

Power PowerCLI
Add-EsxSoftwareDepot .\VMware-ESXi-6.5.0-Update1-6765664-HPE-650.U1.9.6.5.1-Nov2017-depot.zip

New-EsxImageProfile -CloneProfile HPE-ESXi-6.5.0-Update1-650* -Name "ESXICUST"

Remove-EsxSoftwarePackage ESXICUST hpe-smx-provider

Add-EsxSoftwareDepot .\VMware-ESXi-6.0.0-Update3-5050593-HPE-600.9.7.0.17-Feb2017-depot.zip

Add-EsxSoftwarePackage -ImageProfile ESXICUST -SoftwarePackage "hpe-smx-provider 600.03.11.00.9-2768847"

Export-EsxImageProfile -ImageProfile ESXICUST -ExportToIso ESXI65.iso




Zoneminder on Centos 7 Howto

Quick guide to install Zoneminder on Centos 7

Install Centos Using minimal
yum install update

Add RPM Fusion REPO
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm 

Install zoneminder
yum install zoneminder

Install MariaDB
yum install mariadb

Enable and start service
systemctl enable mariadb
systemctl start  mariadb.service

Create DB for Zoneminder
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -uroot -p -e "grant all on zm.* to \
                'zmuser'@localhost identified by 'zmpass';"
mysqladmin -uroot -p reload

Edit date.timezone in /etc/php.ini

Disable SELinux
setenforce 0
edit /etc/selinux/config
change "enforcing" to "disabled"

Install mod_ssl
yum install mod_ssl

Enable and start httpd service
systemctl enable httpd
systemctl start httpd

Enable and start zoneminder service
systemctl enable zoneminder
systemctl start zoneminder

Open https in firewalld
firewall-cmd --permanent --add-service=https
firewall-cmd --reload

Access Zoneminder via http://server-ip/zm