16Mar

Creating a “chef node” VM template

The following blog post details the steps required for create a VM template which will act as “chef node”

The idea is that we will use this template when creating any new servers in our environment.

Note: The following is for a Windows Server 2012 R2 template

So lets begin …

Installing Chef client msi

To install the chef client onto the template please use the following url

https://docs.chef.io/install_windows.html

Note: You need to allow “Chef Client Service” to be installed

This should create c:\chef by default with a few files and folders in there.

Creating the connection between the node and our Chef server

After creating a user and organisation from the Chef Server user interface you will see the following screen:

chefgs

 

 

 

 

 

Click on the “Download Starter Kit” this will download a zip folder containing the following:

Read More »

29Jan

Installing Chef Server 12 on RHEL 6

The following is a guide to installing Chef Server 12 on Red Hat Enterprise Linux version 6

The first thing we need to do is update the server

It’s always good to be fully updated before starting a new installation.

Now, we need to go to the Chef 12 download page and locate the URL for the rpm package (we will download this to “/tmp” on the server).

Before installing, we need to disable SELinux as it does not play nice with Chef.

Now you are install the Chef Server…

Now we need to update our server firewall to make sure we allow access via port 80 and port 443

I suggest putting the two lines below directly under the existing line

“-A INPUT -m –state NEW -m tcp -p tcp –dport 22 -j ACCEPT”:

Once you have edited that file, reload the firewall rules using this command:

Now we can install and configure both the Chef server and the management console. With Chef 12 there is a new process for this and it is not documented from Opscode which is very frustrating.

We now need to copy in the SSL keys etc to /etc/opscode

Edit the chef server configuration file

Now add the following lines

Now we must again reconfigure Chef server to take notice of the changes made above.

That’s it, now you can navigate to your server.

The first time that you log in you will be required to create a new account. Simply follow the on-screen prompts to do so. This is quick and easy.

Once you have done this you will be prompted to “Create New Organization” as, obviously, none currently exists. Click the button to do so…

You will need both a full name and a short name for the organization. The full name should be the actual company name. The short name should be short, easy and all lower case. It’s just for internal Chef reference.

That’s it, you are up and running with Chef!

27Jan

Tomorrow is D day … DevOps day!

So, tomorrow is the big day.

I will be presenting my “Roadmap for Continuous Delivery” to the clientele I am currently working for in Basingstoke.

The idea is to automate as much of the process from “check in” as possible.

Obviously I am expecting some amount of resistance as my proposal is likely to come as somewhat of a culture shock.

The proposal was to use the following technologies …. TeamCity, Chocolatey, Chef & ThoughtWorks Go.

Update:

So the client agreed with the presentation and want me to take one of their projects and implement the process.

This is great news as it will offer me the opportunity to implement what I have learnt and researched the past few months.

I will add some blog posts along the way of the lessons learnt during the implementation

Stay tuned ….

26Jan

Starting the journey …

10759189_8333840_lzSo, today is the day, the day that my nutrition and workout plan finally arrives “via email” from the main man Alex Ritson.

To get in touch with him, hit him up on the following …

Facebook – https://www.facebook.com/www.alexritson.co.uk?fref=ts

Twitter – https://twitter.com/AlexJamesRitson

Instagram – http://instagram.com/alexjamesritson

I can’t wait to start working with this guy his knowledge and attention to detail is second to none.

The first goal is to lose a stone in the first 8 – 10 weeks of my program.

I will be updating this blog weekly with my progress, letting you guys into how I am feeling, what I have been doing and what food I have been eating.

Note: Alex is a strong believer in “If It Fits Your Macros” IIFYM for short. Therefore I won’t just be eating chicken, rice & peas.

I will upload the plan Alex provides me to this post so that you guys can see his attention to detail for your own eyes.

Update:

So guys, I have just got done spending 15 – 2o minutes on good old FaceTime with Alex going over the workout and meal plans.

I can’t recommend/praise this guy enough his attention to detail is something else.

He has provided me with a 10 week training plan as well as meal plans (with ingredients and where to source them).

Basically … it’s an “idiots guide” not calling myself an idiot obviously 😉

So for those who are interested I will be squatting 4 times a week to help build my quads and muscles around my knees.

The goal is to eventually get back to kicking a ball around with worrying too much about injuring myself.

Steven Wade 1st Quarter Program 2015 (1st weight loss block)

The link above contains information about my first “block” of training.

To repay Alex for all his hard work I am going to be developing a website for him so stay tuned for that.

20Jan

Welcome ….

welcome_1Hi all,

So most of you have probably been thinking to yourself things like “where has Steve been?”

Well, I have been extremely busy working on a number of projects both personally and professionally.

The main projects are:

  1. Changing job roles from working as a developer to now being a DevOps engineer
  2. Deciding to finally get my fitness and nutrition on point.
  3. Setting myself up as a limited company – Steven Wade Consulting Ltd

I would like to shout out Alex Ritson regarding the fitness and nutrition.

We had a coffee about a week ago now and he completely changed my attitude towards fitness and nutrition. I am now a fully fledged member of #TeamRitson

Anybody looking to get themselves “in shape” I can highly recommend him, his attention to detail is second to none, just ask Charlie Smith

This year I will be aiming to blog at least once a week on …

  • My journey into the DevOps space
  • My fitness and nutrition journey with TeamRitson
  • New music

Watch this space, I have a lot of things in store for 2015 and hope you can follow me on this year long journey …

© Copyright 2015, All Rights Reserved