The Git repository is here: https://github.com/CiscoSystems/folsom-manifests.git

+

The Specific branch is here: https://github.com/CiscoSystems/folsom-manifests/tree/simple-multi-node

+

+

== Building the environment ==

+

+

# Build an Ubuntu 12.04 system.

+

+

Install a ubuntu-based linux server with openssh-server enabled. The rest of the packages and dependencies will be installed automatically by puppet. We are in the process of providing a Virtual Machine (VM) to be used as build node but in thge meantime you will need to install your own build server manually.

+

+

<ol start="2" style="list-style-type: decimal;">

+

<li><p>Add the necessary packages to have puppet running and cisco edition enabled</p>

+

<p>apt-get update &amp;&amp; apt-get dist-upgrade -y</p></li></ol>

+

+

Note: The system will need to be restarted after applying the updates.

Under the manifests folder you will find these three files: - site.pp - cobbler-node.pp - clean_node.sh

+

+

IMPORTANT! You must edit these files. They are fairly well documented, but please comment with questions. You can also read through these descriptions: [https://github.com/CiscoSystems/folsom-manifests/blob/simple-multi-node/Cobbler-Node.md Cobbler Node] and [https://github.com/CiscoSystems/folsom-manifests/blob/simple-multi-node/Site.md Site]

+

+

Then ‘puppet apply’ it:

+

+

<pre>puppet apply -v /etc/puppet/manifests/site.pp</pre>

+

I recommend a reboot at this point, as it seems that the puppetmaster doesn’t restart correctly otherwise.

+

+

And now you should be able to load up your cobbled nodes:

+

+

<pre>./clean_node.sh {node_name} example.com</pre>

+

or if you want to do it for ''all'' of the nodes defined in your cobbler-node.pp file:

you will still need to log into the console of the control node to load in an image: user: localadmin, password: ubuntu. If you SU to root, there is an openrc auth file in root’s home directory, and you can launch a test file in /tmp/nova_test.sh.

+

+

You should now have a cirros image and a running instance (called dans_vm if you didn’t change anything).

Revision as of 00:40, 10 October 2012

Building the environment

Build an Ubuntu 12.04 system.

Install a ubuntu-based linux server with openssh-server enabled. The rest of the packages and dependencies will be installed automatically by puppet. We are in the process of providing a Virtual Machine (VM) to be used as build node but in thge meantime you will need to install your own build server manually.

Add the necessary packages to have puppet running and cisco edition enabled

apt-get update && apt-get dist-upgrade -y

Note: The system will need to be restarted after applying the updates.

you will still need to log into the console of the control node to load in an image: user: localadmin, password: ubuntu. If you SU to root, there is an openrc auth file in root’s home directory, and you can launch a test file in /tmp/nova_test.sh.

You should now have a cirros image and a running instance (called dans_vm if you didn’t change anything).