Creating an Extra MySQL Slave from Another MySQL Slave

August 25, 2016 Jordansphere FreeBSD

I was tasked with creating a new MySQL slave in a Brighton datacenter to replicate with the master in London. There was already a replication in place from London to Manchester.  Here are the steps to copy the information from Manchester Slave (MySQL2) to the Brighton Slave (MySQL3) . This method allows the master MySQL to be completely untouched  In […]

More

Failed to Initialize SSL Session to Remote Host 

July 22, 2016 Jordansphere ESXi

I had a miniature test lab consisting of 1 host and 1 vCenter 6.0 appliance. When I installed the VCSA on the host I was suddenly unable to connect to the console of the VMs I had previously created.   When I connected via the ESXi host I was presented with the following message: Unable to […]

More

List All Files Recursively in Linux

July 22, 2016 Jordansphere Linux

To list all files in a directory – including subdirectories then use this command: # find /data/jord01 -type f   If you want a count of all the files in a directory: # find /data/jord01 -type f | wc -l

More

count files, linux, list files,

Disable Firewalld in CentOS 7

July 18, 2016 Jordansphere Linux

Simple instructions on how to stop, disable and the check the status of firewall   1) Stop the firewalld service # systemctl stop firewalld   2) Disable the firewalld service from starting # systemctl disable firewalld   3) Check the status of the firewalld service # systemctl status firewalld  

More

centos, disable, firewalld, linux, stop,

Guest Customization Placing Local Domain in Workgroup Rather Than Domain

May 12, 2016 Jordansphere VMware

I had a Windows 7 machine that I wanted to customize in order to enter a domain in a VMware Horizon 7 environment.  However the customization wasn't working correctly and the local domain was incorrectly placed put into the WORKGROUP.    In order for the customization to work correctly you need to use the following format […]

More

horizon 7. guest customization, view, vmware, windows 7,

Move MySQL Directory in WHM \ cPanel

March 24, 2016 Jordansphere Cpanel

We originally installed an image from the cPanel website. The /root parition holds the system information and the /data  houses the users  web and mail data. Unfortunatley the /root partition is NOT installed as an LVM which makes it difficult to expand. What I did notice is that the users MySQL data is actually stored in the /root […]

More

cpanel, mysql, new partition, whm,

Useful Exim Commands

March 10, 2016 Jordansphere Linux

Here are some useful CLI commands when dealing with mail queues on EXIM:   List amount of messages in the queue /usr/sbin/exim -bpc   List all messages in the queue /usr/sbin/exim -bp   Get a summary of the current mail queue /usr/sbin/exim -bp | exiqsumm Here is an example output Count  Volume  Oldest  Newest  Domain […]

More

centos, cpanel, exim, mail queue,

Install Unbound on FreeBSD 10

March 2, 2016 Jordansphere Linux

Below are instructions on how to install Unbound on FreeBSD Firstly install Unbound from the ports tree:   # cd /usr/ports # make search name=unbound Port:   unbound-1.5.7 Path:   /usr/ports/dns/unbound Info:   Validating, recursive, and caching DNS resolver Maint:  jaap@NLnetLabs.nl B-deps: autoconf-2.69 autoconf-wrapper-20131203 automake-1.15_1 automake-wrapper-20131203 expat-2.1.0_3 indexinfo-0.2.4 ldns-1.6.17_5 libtool-2.4.6 m4-1.4.17_1,1 perl5-5.20.3_8 R-deps: expat-2.1.0_3 ldns-1.6.17_5 […]

More

freebsd, installation, unbound,

Postfix : Delete All Messages in Mail Queue

February 26, 2016 Jordansphere Linux

To delete all messages in a mail queue running Postfix  run the following command: # postsuper -d ALL deferred  

More

all, delete, mail queue, mailq, message,

PowerCLI Script to Get Number of CPUs, RAM and Provisioned HDD Size

February 25, 2016 Jordansphere VMware

The following script looks at particular folder (finance) on a vCenter Server then for each VM gets the number of CPUs, memory in GB and calculates the combined size of all HDDs. This is then exported to a csv file.   Connect-VIServer -Server {hostname} -User {username} -Password {password} Get-Folder 'Finance' | Get-VM | Sort Name -descending| Select-Object […]

More

combined, CPU, esxi, HDD, memoryGB,

« Previous Posts

Powered by WordPress. Designed by elogi.