No Image

mkpasswd

June 15, 2017 Andy 0

The other day I couldn’t remember what package provided the mkpasswd binary….. yum whatprovides */mkpasswd yum install expect mkpasswd -l 12 The above creates a password of length 12 with two uppercase letters, two numbers and one special character.

No Image

Multipule Web Nodes using GlusterFS with CentOS 6.6

July 20, 2015 Andy 0

Check to see if there are any trusted storage pools already configured. Check you can establish communication from web01 to web02. This will fail if the peer isn’t listen or if the firewall is blocking communication on the following ports: Here I am using Rackspace cloud networks to create a virtual private network of 192.168.10.0/24 and attach it to each of the web nodes. To ensure I connect using the private IP when I try to connect to web02.dummydomains.org.uk from web01.dummydomains.org.uk, I need to edit my hosts configuration file. This will take precedence over DNS, which would return my public […]

No Image

Installing GlusterFS on CentOS 6.6

July 20, 2015 Andy 0

You will need to download the following repository file to the /etc/yum.repos.d/ directory before trying to install the glusterfs-server package. It will pull-in a load of dependencies… …Accept the GPG key imports you are alerted to and proceed with the installation. Ensure the glusterfs daemon is set to start on boot and start the service. You can check the status with…. You can check the version with the following. [root@glusterfs-web01 ~]# glusterfsd –version glusterfs 3.7.2 built on Jun 23 2015 12:13:11 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/> GlusterFS comes with ABSOLUTELY NO WARRANTY. It is licensed […]

No Image

Rackspace Cloud Monitoring Agent

April 11, 2015 Andy 0

The Rackspace cloud monitoring agent allows you to monitor CPU, memory, filesystem usage and system processes. It does this by collecting information about the system and pushing it out to Rackspace Cloud Monitoring web services, where they can be analyzed, graphed, and alerted on. It is this technology that the Rackspace monitoring checks are built upon. Plus you get a nice pretty little bar graph in the server details section of the control panel 🙂 Install the Agent While the instructions used here are for Ubuntu 14.04 LTS, this page lists the exact commands needed for all major distros. If […]

No Image

Protect Your Cloud Infrastructure Servers with Isolated Cloud Networks

March 31, 2015 Andy 0

Create a Private Cloud Network Create an isolated cloud network. Here I am using the supernova client to communicate with the Rackspace OpenStack API. Take note of the id – you’ll need it shortly! Create a Proxy Server and Attach to the Private Network The above creates a server using the CentOS 6.6 image. Other images of interest are: Proxy Bastion Configuration Later we create a cloud server with no public IP, which is protected by sitting behind our proxy bastion. From the bastion side, in order for our protected server to have access to the internet, we need to […]