Quantcast
Channel: Jordansphere
Browsing all 229 articles
Browse latest View live

Telnet Using Source IP Address On a Cisco

I ran into a spot of bother trying to get to a remote router due to incorrect access list.  To save me a long drive I came across the following command so I could telnet using the source IP address...

View Article


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

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...

View Article


Postfix : Delete All Messages in Mail Queue

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

View Article

Install Unbound on FreeBSD 10

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:...

View Article

Useful Exim Commands

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...

View Article


Move MySQL Directory in WHM \ 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...

View Article

Image may be NSFW.
Clik here to view.

Guest Customization Placing Local Domain in Workgroup Rather Than Domain

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...

View Article

Disable Firewalld in CentOS 7

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...

View Article


List All Files Recursively in 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

View Article


Image may be NSFW.
Clik here to view.

Failed to Initialize SSL Session to Remote Host 

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....

View Article

Image may be NSFW.
Clik here to view.

Creating an Extra MySQL Slave from Another MySQL Slave

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...

View Article

Image may be NSFW.
Clik here to view.

VCNS 5.5 – Upgrade Failed. Root Fileystem Full

When trying to upgrade VCNS 5.5.3 to 5.5.4 I was presented with this error: Message: Could not untar /common/em/downloads/image/image-vsm-vsm-5.5.4-2504419.img.dist   This suggested to me there was a...

View Article

Restarting Management Interface on a Raritan Dominion PX

The web interface on a Raritan Dominion PX device was not accessible. In order to fix the issue via the clp (cli) we plugged a console cable in with the following settings Data Rate: 9600 Parity: None...

View Article


Image may be NSFW.
Clik here to view.

Check the IP Address of iDRAC via ESXi Host

Scenario: Due to a disk failure I was trying to ascertain whether a partciular remote ESXi host had an iDRAC port and what the IP address was   To find this: Click the host in question via vSphere...

View Article

Updating Equallogic Firmware via CLI

Below is an output from the Equallogic firmware update process from 7.1.14 to 8.1.6. In this example I will be using FTP to transfer the file (kit_V8.1.6-R427114_2004107431.tgz) to the member (not...

View Article


Image may be NSFW.
Clik here to view.

Upgrade from SQL 2005 to SQL 2008 R2 Studio Management Fails

I successfully upgraded SQL 2005  Express (32bit) to SQL2008 R2 Express (32bit) for a mini Veeam environment. I then wanted to upgrade Studio Management but got the following error:   Rule "SQL Server...

View Article

Image may be NSFW.
Clik here to view.

Changing Source IP Address using NAT Policy on Sonicwall

I wanted to test a service whereas an internal IP address behind a Sonicwall used a different public IP address when connecting to a particular remote POP3 server. The following screenshot shows how...

View Article


Image may be NSFW.
Clik here to view.

vCenter Service Failed to Restart After Windows Updates

My vCenter ( 5.5 u2) currently resides on a Windows 2008 R2 virtual machine. The OS required some Windows updates which were successfully installed and rebooted. Upon the server restart, the vCenter...

View Article

Image may be NSFW.
Clik here to view.

Error: The User Associated With the DSN Has Insufficient Privileges

I was just about to upgrade vCenter 5.5 u2 -> 6.0 u2 . DB Server: MS SQL 2008 R2 SP2.  During the pre-upgrade checks I got the following error   Error: The user associated with the DSN has...

View Article

Critical Hardware Component Failure. C2F Power Module Has Insufficient Hold Time

Problem: In the GUI the secondary controller was showing a battery fail and the error :   Severity  Date and Time        Member          ID       Message...

View Article
Browsing all 229 articles
Browse latest View live