OpenShift 3 on OpenStack – Quick Start Guide. (Liberty)

This guide will help you to deploy a (NON-PRODUCTION) OpenShift 3 instance on top of an existing OpenStack Liberty instance.

This will be a quick run through of how to get it OpenShift up and running, the full documentation can be found here https://docs.openshift.org/. I will be making use of Centos7.2 for the VM images and OpenShift Origin (Upstream opensource version), as well as OpenShift Ansible (https://github.com/openshift/openshift-ansible) to deploy.

(This guide assumes some familiarity with OpenStack, Linux, and that you have a good ability to troubleshoot)

What you will need

  1. A linux server with the following installed (I used Ubuntu 16.04);

2. Access to an OpenStack environment with the following quota;

  • 10 Instances
  • 6 Floating IP’s
  •  1 Network/Subnet/Router

3.Somewhere you can setup DNS records

Getting Started.

First build your linux machine from where you will be running the installation, this can be inside the OpenStack project in which you want to build the OpenShift environment, but will need access to the Nova, Neutron and HEAT endpoints for the OpenStack service you are going to build on-top of.

Continue reading

HowTo, OpenShift, OpenStack

Retrospective – Jagged Alliance 2

This is an old article from my old site illiteratereviews.com

With the upcoming release of Jagged Alliance: Back in action, and Jagged Alliance online, I thought I might take a few moments, to talk to you all about, possibly my favourite game of all time.

Continue reading

Uncategorized

Games Piracy – As Bad as Everyone Thinks?

This is an old article from 2011 from my old site illiteratereviews.com

Whilst in my car yesterday on my way to work listening to BBC Radio 1 (well there goes half my audience.). I came across a news story about how games piracy has increased 20% over the last 5 years, with top games being pirated 1 million times, over last year, and this got me thinking, how big an issue really is piracy, and is it really reported in a sensible manner.

Continue reading

Uncategorized

DeusEx: Human Revolution – Review

So Deus Ex:HR has been out for a while now, and as I sit here staring at the retail box, with its orangy glow, and its PC Games Editors Choice award, I end up thinking to myself. What has happend to the games industry. Back in the day a 90% from PC gamer, or an editors choice award, made me dash out and want to buy a game instantly, and dreaming of the old days thats exactly what I did. And for a while I was happy.

Continue reading

Uncategorized

apt-get from behind a proxy

if you’re proxy does not support lingering on TCP requests, such as squid proxy, apt-get will fail to properly download list packages. This will need to be turned off by editing “/etc/apt/apt.conf” (may not exist be default) and adding this line:

Continue reading

Ubuntu

WordPress recovering from a damaged theme – Command Line (via ssh/telnet)

Should you ever need to revert to the default twentysomething theme. After a bodged install, or some other mishap that leaves wp-admin inaccessible, you can do so with a few simple MySQL commands.
Continue reading

Wordpress , , ,

CentOS/Redhat/Ubuntu – Installing Development Tools (Build Essentials)

If you are going to be building packeges from source, then you will need to install your distro’s version of the build tool packages.

Luckily, CentOS, Redhat and Ubuntu all have easy ways to do so.
Continue reading

CentOS, Redhat, Ubuntu

ScienceLogic / EM7 – Monitoring VMware vShield Edges – Part 1

This is a two part series, and the scripts used in this are for information only, you will need to make changes to the scripts in order to use them.

If like the company I work for you happen to use ScienceLogic EM7 as your monitoring tool, and you make use of VMware vShield Edges for your customer edges, then like us you have probably run into a an issue where an edge fails in such a way that ScienceLogic EM7 doesn’t report the edge down. I decided to write a snippet to check the status of the edge.

Now the first issue is that although Science Logic EM7 detects the vShield edges via vCenter, it has no idea that they are infact vShield edges, as far as ScienceLogic is concerned they are just virtual machines. This is also true of vCenter, and does explain why there is no easy way of matching “Edge-Id’s” to ScienceLogic EM7 device entries.
Continue reading

ScienceLogic EM7 , , ,

Using Python Requests module to log into a site.

As a monitoring engineer, its my responsibility to ensure that the services I monitor are up and working. Most of the time this is normally just graphing some snmp oids, or writing a simple script to check a service is still alive.

This time, I needed to check the following.

    Customer Site was up (Return a 200 status code)
    ldap Auth is working
    Clients can log in
    Certain pages exist

Continue reading

HowTo ,

Postfix – Setting the bind IP

To set the bind address for postfix, do the following.

sudo vi /etc/postfix/main.cf

Locate the section that has the following

inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost

Continue reading

Postfix , , ,