-
Notifications
You must be signed in to change notification settings - Fork 267
Stackato Image
Image for Stackato can be uploaded to Eucalyptus by using the following documentation:
NOTE: don't use uec-publish-image. Use documentation for bundling, uploading and registering kernel, ramdisk, image found here - http://www.eucalyptus.com/docs/3.2/ug/add_existing.html#add_existing
http://docs.stackato.com/server/openstack-legacy.html?highlight=openstack
Make sure and use vm.type that has at least 2 gigs of RAM. Stackato will have odd behavior if this requirement is not met.
- Allocate an elastic IP (this will be used for DNS configuration regarding wildcard DNS entry)
- Configure DNS as documented here - http://docs.stackato.com/server/configuration.html#dns
Since I was using a Eucalyptus DNS enabled cloud, I had to use an external DNS server and create DNS entries that pointed to the public DNS name of the elastic IP I reserved. Example is below:
# nsupdate > server 10.1.1.254 > zone dev.eucalyptus-systems.com > update add stackato.dev.eucalyptus-systems.com 3600 IN A 10.1.1.103 > send > update delete stackato.dev.eucalyptus-systems.com A > send > update add stackato.dev.eucalyptus-systems.com 600 cname euca-192-168-55-103.wu-tang.euca-hasp.eucalyptus-systems.com > send > update add *.stackato.dev.eucalyptus-systems.com 600 cname stackato.dev.eucalyptus-systems.com > send > quit ** test lookup of CNAME stackato.dev.eucalyptus-systems.com ** $ nslookup stackato.dev.eucalyptus-systems.com Server: 10.1.1.254 Address: 10.1.1.254#53 stackato.dev.eucalyptus-systems.com canonical name = euca-192-168-55-103.wu-tang.euca-hasp.eucalyptus-systems.com. Name: euca-192-168-55-103.wu-tang.euca-hasp.eucalyptus-systems.com Address: 192.168.55.103 ** test wildcard DNS name lookup against stackato.dev.eucalyptus-systems.com ** $ nslookup host.stackato.dev.eucalyptus-systems.com Server: 10.1.1.254 Address: 10.1.1.254#53 host.stackato.dev.eucalyptus-systems.com canonical name = stackato.dev.eucalyptus-systems.com. stackato.dev.eucalyptus-systems.com canonical name = euca-192-168-55-103.wu-tang.euca-hasp.eucalyptus-systems.com. Name: euca-192-168-55-103.wu-tang.euca-hasp.eucalyptus-systems.com Address: 192.168.55.103
Once you launch the instance, ssh into the instance using the following credentials:
username: stackato password: stackato
Once logged into the instance, run the following commands (in this order):
- kato op static_ip (use the ip information of the instance by checking out ifconfig and route -n; for DNS server entries, I just used what was in the /etc/resolv.conf of the instance)
- kato rename (this is the DNS name you set up in the external DNS - e.g. stackato.dev.eucalyptus-systems.com)
- kato disable mdns
- sudo reboot (reboot instance)
Log back into instance after it has finished rebooting and run the following commands:
- kato setup core api. (same as above, the DNS name set in the external DNS - e.g. stackato.dev.eucalyptus-systems.com)
- kato enable --all-but mdns
- edit resolv.conf, and make sure it has the following entries at the top:
- search containers.
- nameserver 127.0.0.1
To make sure the applications have enough space to run on the instance, use ephemeral storage or EBS volume(s) for LXC storage. Stackato mentions it in their documentation under Persistent Storage, but given that there is a known bug regarding using those steps for v2.6.6, you have to do this manually. Steps are as follows:
- setup the ephemeral storage or attach EBS volume(s) to the instance
- format the storage with the filesystem of your choice
- set up the mount point to be /mnt/lxc/containers and run the following commands:
- kato stop
- sudo rm -r /lxc/containers
- sudo ln -s /mnt/lxc/containers /lxc/containers
- kato start
Thats it. Should be good to go. Open up a browser and go to http: e.g. http://stackato.dev.eucalyptus-systems.com. You should see the Admin Management Console and then go from there.
NOTE: If cloud-init enabled Stackato image is used, it takes care of mounting the ephemeral storage for you and places the LXC containers in ephemeral.
- http://blogs.mindspew-age.com/2013/02/24/test-drive-drupal-deployment-on-eucalyptus-using-stackato-amazon-route-53-and-the-eucalyptus-community-cloud/
- http://blogs.mindspew-age.com/2013/02/23/jenkins-stackato-cloud-init-and-eucalyptus-potent-combination-for-an-on-premise-continuous-integration-environment/
- eustore
# eustore-describe-images | grep stackato 1310977951 ubuntu x86_64 partner kvm Stackato MicroCloud v2.6.6 - KVM Image. Cloud-init enabled. Root disk of 8.8G. For more information, please visit here: http://docs.stackato.com/index.html
- Need to test Stackato 2.6.7 image.
- Need to get the cloud-init image on emis.eucalyptus.com
- Work on setting up a micro-cloud cluster in Eucalyptus.
- http://docs.stackato.com/quick-start/index.html#stackato-micro-cloud
- http://docs.stackato.com/server/index.html#accessing-server-via-the-command-line
- http://docs.stackato.com/server/configuration.html#nat-vs-bridged-networking
- http://docs.stackato.com/quick-start/index.html#accessing-stackato-via-management-console
- http://docs.stackato.com/server/configuration.html#dns
- http://docs.stackato.com/cluster/cloud-init.html
- http://docs.stackato.com/server/ec2.html#vm-ec2
- http://docs.stackato.com/cluster/index.html
Note: This was tested with Stackato v2.6.6
code on Github | bugs on Jira | questions on StackOverflow | chat on IRC
Made available under the CC-BY-3.0-US license.
© 2015 Hewlett-Packard Development Company, L.P.
Index of Categories
- category.HOWTO
- category.Training
- category.Troubleshooting
- category.UNCATEGORIZED
- category.aws-compatibility
- category.blueprints
- category.bugs
- category.ceph
- category.community
- category.components
- category.confluence
- category.contributing
- category.contributions
- category.cors
- category.debugging
- category.design
- category.developer
- category.docs
- category.docs-team
- category.ebs
- category.eustore
- category.events
- category.examples
- category.faqs
- category.fedora
- category.gsoc
- category.ha
- category.hackfests
- category.images
- category.infrastructure
- category.install
- category.legacy
- category.meetings
- category.monitoring
- category.networking
- category.objectstorage
- category.participation
- category.people
- category.releng
- category.reporting
- category.riakcs
- category.stats
- category.storage
- category.tools
- category.training
- category.troubleshooting
- category.ui