Difference: OpenStackInstallation (1 vs. 3)

Revision 32013-06-26 - crlb

Line: 1 to 1
 
META TOPICPARENT name="ColinLeavettBrown"
-- ColinLeavettBrown - 2013-06-13
Line: 18 to 18
 cd tmp cpio -i <../netboot_original_initrd cp ~crlb/OpenStack/ubuntu-13.04/preseed.cfg .
Changed:
<
<
cp ~crlb/OpenStack/ubuntu-13.04/mouse-firstboot .
>
>
cp -r ~crlb/OpenStack/ubuntu-13.04/InstallationFiles .
 find | cpio -o -H newc >../initrd cd .. gzip initrd

Revision 22013-06-13 - crlb

Line: 1 to 1
 
META TOPICPARENT name="ColinLeavettBrown"
-- ColinLeavettBrown - 2013-06-13
Line: 32 to 32
 %STARTCONSOLE% ssh -p3121 mouse01.heprc.uvic.ca apt-get update
Changed:
<
<
apt-get upgrade
>
>
apt-get -y upgrade
 %ENDCONSOLE%

%STARTCONSOLE%

Changed:
<
<
apt-get -y install puppet apt-get -y install puppetmaster apt-get -y install rake git
>
>
apt-get -y install puppet puppetmaster rake git
 %ENDCONSOLE%

  • Then following the "storeconfigs" link:

%STARTCONSOLE%

Changed:
<
<
apt-get -y install rails apt-get -y install mysql-server apt-get -y install libmysql-ruby
>
>
apt-get -y install rails mysql-server libmysql-ruby
 mysql -u root -p create database puppet; grant all privileges on puppet.* to puppet@localhost identified by ' \q %ENDCONSOLE%
Changed:
<
<
  • Configure the puppetmaster to use storeconfigs. Edit /etc/puppet/puppet.conf and modify the "[master]" section:
>
>
  • Configure the puppetmaster to use storeconfigs. Edit /etc/puppet/puppet.conf and add the following to the "[main]" section:
  %STARTCONSOLE%
Deleted:
<
<
[master] # These are needed when the puppetmaster is run by passenger # and can safely be removed if webrick is used. ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY
 storeconfigs = true dbadapter = mysql dbuser = puppet

Revision 12013-06-13 - crlb

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ColinLeavettBrown"
-- ColinLeavettBrown - 2013-06-13

All-In-One Puppet install of Ubuntu-13.04/OpenStack on mouse01.heprc.uvic.ca

%STARTCONSOLE% cd /tmp wget http://mirror.cpsc.ucalgary.ca/mirror/ubuntu.com/releases/13.04/ubuntu-13.04-server-amd64.iso mount -o loop ubuntu-13.04-server-amd64.iso /mnt cobbler import --path=/mnt --name=ubuntu-13.04 --breed=ubuntu umount /mnt cd /var/www/cobbler/ks_mirror/ubuntu-13.04/install mv initrd.gz original_initrd.gz cp netboot/ubuntu-installer/amd64/initrd.gz original_netboot_initrd.gz gunzip -c original_netboot_initrd.gz > original_netboot_initrd mkdir tmp cd tmp cpio -i <../netboot_original_initrd cp ~crlb/OpenStack/ubuntu-13.04/preseed.cfg . cp ~crlb/OpenStack/ubuntu-13.04/mouse-firstboot . find | cpio -o -H newc >../initrd cd .. gzip initrd cobbler system edit --name e1 --profile ubuntu-13.04-x86_64 --netboot true cobbler sync ipmitool -Ucrlb -H10.200.201.1 power cycle %ENDCONSOLE%

%STARTCONSOLE% ssh -p3121 mouse01.heprc.uvic.ca apt-get update apt-get upgrade %ENDCONSOLE%

%STARTCONSOLE% apt-get -y install puppet apt-get -y install puppetmaster apt-get -y install rake git %ENDCONSOLE%

  • Then following the "storeconfigs" link:

%STARTCONSOLE% apt-get -y install rails apt-get -y install mysql-server apt-get -y install libmysql-ruby mysql -u root -p create database puppet; grant all privileges on puppet.* to puppet@localhost identified by ' \q %ENDCONSOLE%

  • Configure the puppetmaster to use storeconfigs. Edit /etc/puppet/puppet.conf and modify the "[master]" section:

%STARTCONSOLE% [master] # These are needed when the puppetmaster is run by passenger # and can safely be removed if webrick is used. ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY

storeconfigs = true dbadapter = mysql dbuser = puppet dbpassword = ********** dbserver = localhost dbsocket = /var/run/mysqld/mysqld.sock %ENDCONSOLE%

%STARTCONSOLE% cat > /etc/puppet/manifests/site.pp << EOT node default { notify { 'I can connect!': } } EOT %ENDCONSOLE%

  • And restart the puppetmaster:

%STARTCONSOLE% service puppetmaster restart %ENDCONSOLE%

  • Configure the puppet agent by adding the following to /etc/puppet/puppet.conf:

%STARTCONSOLE% [agent] pluginsync = true server = mouse01.heprc.uvic.ca %ENDCONSOLE%

  • Register the client with the puppetmaster:

%STARTCONSOLE% puppet agent -t --waitforcert 60 %ENDCONSOLE%

Previous installation attempts

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback