In this example I will be checking all user quotas on an LVM which is mounted as /data 1) The first step will be to check the fstab. As we see there are no mount options for quotas # cat /etc/fstab # /dev/mapper/centos-root / ext4 defaults 1 1 UUID=2fd24677-cf50-420b-a3dd-cea7c29aa185 /boot ext4 defaults 1 2 /dev/mapper/centos-swap Read More…
Author: Jordansphere
Extending a VMware VMDK and LVM in CentOS 6
In this example I will be expanding a VMDK on virtual machine running on ESXi 5.5 from 100GB to 220GB. I will then increase the size of LVM in the Centos 6.7 guest to reflect this. Its always prudent to take a clone of the VM and/or ensure everything has been backed up before attempting to extend Read More…
Custom php.ini File in cPanel
In this example I will be creating a custom php.ini file in my WordPress website which runs on a cPanel server using SuPHP. I will also be turning off PHP display errors as a test. 1) Create your php.ini file in your public_html folder and add the following: # vi /home/jordansphere/public_html/php.ini display_errors = Off Read More…
Add NRPE Exim Mailqueue Check to cPanel Server
This blog assumes that NRPE and nagios plugins are already installed on the remote server. Remote OS: Centos 6.7Nagios Server OS: Centos 5.7WHM: 11.50.0NRPE: 2.14 Remote server Download the check_eximailqueue plugin (version 1.3 as of writing) from Nagios.org . Upload the plugin to the the Nagios plugin directory (/usr/lib64/nagios/plugins/) on the remote server [RemoteServer]# vi /usr/lib64/nagios/plugins/check_eximailqueue Uncomment the following Read More…
How Does SSL Work?
Below is a very simple overview of how SSL works in an asymmetric browser to web server scenario. 1. The client browser (eg Internet Explorer, Google Chrome, Safari etc) requests a secure HTTPS page by typing in https://www.domainname.com . 2. The web server responds by sending SSL certificate and public key. Read More…
List and Remove VIBs from ESXi 5.0 Host
Scenario: I wanted to remove the vcloud director agent from an ESXi host. vCloud director had been removed from the environment so I just wanted to tidy everything up. To do this you need to remove the VIB (VMware Installation Bundle). Firstly, list all the components on the ESXi host # esxcli software vib list Read More…
VMware Update Manager : Cannot Run Upgrade Script on Host
I have a three node ESXi 5.0.0 (Build 504890) cluster running ESXi on SD cards. The scratch partition is located on a VMFS datastore accessed via iSCSI. I was in the middle of upgrading to 5.5 (U2) via Update Manager. Two of the nodes completed successfully but the third failed with a message "Cannot run upgrade script on host". Read More…
vSphere HA Agent on this Host Could not Reach Isolation Address – ipv6
I noticed a message on every host in one of my clusters warning me that the vSphere HA agent on this host could not reach the isolation address. The isolation address was showing as an IPv6 address although I am currently not (knowingly) using IPv6 in this network. The IP address belongs to a Sonicwall (192.168.75.254) Read More…
cPanel libMagickWand.so.2 PHP Extension Error after UPCP Update
Centos: 6.7 WHM: 11.50.0 Apache: 2.2.39 PHP: 5.4.42 I awoke today to find all websites hosted on one particular cPanel server showing the following message at the bottom of every web page. Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-xxxxxxx/imagick.so' – libMagickWand.so.2: cannot open shared object file: No such file or directory in Unknown on Read More…
Unable to Guest Customize Debian in vCloud Director 5.5
I deployed a Debian VM from the public catalogue. I then requested vCloud Director to give it an IP address from the Static IP Pool. This showed as being successful in the VCD portal but I could not ping the VM when it was powered on. I logged in via the console and the Read More…
You must be logged in to post a comment.