Scenario: I wanted to add a new disk to my Centos 6 installation with its own LVM (Logical Volume Manager). The new disk is 25G and is listed as/dev/sdb. It will mounted on the /data directory. As always please make sure you have everything backed up before attempting this. Use fdisk -l to get the Read More…
Error in fstab. Server doesnt boot
We’ve all probably done it at some point (or maybe this is your first time and you are frantically searching the web to find a fix). Ok, so i made a typo in the fstab when mounting a new drive. The server doesn’t reload properly and you’ve had to run to the server room in Read More…
Splitting IP addresses when using DIRECT external network connection in vCloud Director 5.1 ?
I wanted to split a /24 subnet into 4 IP chunks per orgVDC. Using the new sub-allocation feature in vShield Edge you can configure this so one OrgVDC can only use a specific allocated range. However, what if you have an orgVDC that has a direct internet connection (eg connecting to the Internet directly without using Read More…
Determining your gateway when using DHCP
Scenario: I have a Centos 6.x VM which gets an IP address via DHCP. I could not get any external access so I wanted to start troubleshooting. The first step was making sure I had the correct gateway and could ping it. route -n This should display The IP address highlighted in red is the Read More…
Creating a site-to-site VPN from Sonicwall to vShield Edge in vCloud Director
I have an organisation in vCloud Director (called Jordansphere). I wanted to connect a VPN from this organisation to a remote site . The remote site uses a Sonicwall. In this setup I have used FQDN as the LocalID and PeerID and 3DES with a shared secret. Here are the steps. Create VPN Read More…
Live Network Usage on FreeBSD NIC
OS: FreeBSD If you want to check your real time NIC bandwidth then use the following command: systat -ifstat You should get the following output:
MySQL : mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication
PHP 5.3 / Mysql 5.5 / FreeBSD You get the error message: Warning: mysql_connect() [function.mysql-connect]: Premature end of data (mysqlnd_wireprotocol.c:553) in C:\directorya\directoryb\dbconnect.phpon line 57 Warning: mysql_connect() [function.mysql-connect]: OK packet 1 bytes shorter than expected in C:\directorya\directoryb\dbconnect.php on line 57 Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please Read More…
Error connecting to an Oracle DB over Sonicwall site-to-site VPN
Scenario: A Sonicwall TZ170 (standard firmware) was replaced with a TZ215 (Enhanced ). After installation we could not establish a connection to the main Oracle DB over a site-to-site VPN. Pings and all other services were working fine. To get this working go to Firewall Settings -> Advanced Select SQL*Net From Enable FTP Transformations Read More…
Setting up iSCSI vmkernel switches and portgroups via CLI
With ESXi 5.0 you can do this via the GUI but I much prefer just using the CLI to create switches and portgroups. To start with you cant rename a vSwitch (or enter a custom name) via the GUI. This is quite annoying if you need to keep your vSwitch naming policy correct and of Read More…
PSOD PF exception 14 in world – ESXi 5.1
Scenario: We wanted to unbind a physical NIC from the iSCSI kernel on a particular host. This requires a reboot of the ESXi host. KB1030674 if anyone is interested! Caveat: We recently upgraded one of our clusters to ESXi 5.1 from ESXi 5.0 and this was the first reboot after the upgrade. On shutdown we Read More…
You must be logged in to post a comment.