Install Enomalism
Test environment
- Use the VMWare Image created flowing the instruction described in Massive Deployment of Xen enabled Virtual Cluster using Diskless Remote Boot Linux
Pre-installation
- We will need package from Debian Testing (lenny), so you need to add testing apt source list to /etc/apt/source.list.d/ and run apt-get update; apt-get dist-upgrade
root@drbl-xen-srv:~# cat << EOF > /etc/
- Install packages which is needed for Enomalism
root@drbl-xen-srv:~# apt-get install coreutils ssh build-essential python-dev mysql-server libmysqlclient15-dev python-mysqldb qemu bridge-utils python
- Setup MySQL root password. Note: Replace $NEW_MYSQL_ROOT_PASSWORD with the password you want!!
root@drbl-xen-srv:~# mysql_install_db root@drbl-xen-srv:~# mysqladmin -h localhost -u root password '$NEW_MYSQL_ROOT_PASSWORD'
Download Enomalism
- Flow the Download Link of offical website, and you can download the deb and source tar ball files directly from sourceforge.
- [Note] The deb package is for Ubuntu. If you had installed Ubuntu, you can use this deb package to install Enomalism. Here is an Installation Guide for Ubuntu 7.10.
root@drbl-xen-srv:~# wget http://nchc.dl.sourceforge.net/sourceforge/enomalism/enomalism2-2.0.1A-1282.deb root@drbl-xen-srv:~# dpkg-deb --info enomalism2-2.0.1A-1282.deb new debian package, version 2.0. size 1502168 bytes: control archive= 1018 bytes. 532 bytes, 11 lines * control 761 bytes, 11 lines md5sums 239 bytes, 8 lines * postinst #!/bin/bash Package: enomalism2 Version: 2.0.1A Section: multiverse Priority: optional Architecture: all Depends: python (>= 2.5), libmysqlclient15-dev (>= 5.0), coreutils (>= 5.0), build-essential, python-dev, libxen3.1-dev, kvm, mysql-server, python-libvirt, python-mysqldb, libvirt-bin, python-setuptools, qemu, bridge-utils Maintainer: Derek Anderson <derek@enomaly.com> Description: Virtual machine and cluster management tool. Enomalism2 provides provisioning, management, and communications for cloud computing, and virtual machines.
- Since I install Debian Etch, so I download the source code tar ball.
- Unpack Enomalism2-2.0.1A.tar.gz and run setup.py.
- [Note]$mysql_root_password is the MySQL root password you created earlier. Replace $user and $password with the username and password of your choice.
root@drbl-xen-srv:~# wget http://nchc.dl.sourceforge.net/sourceforge/enomalism/Enomalism2-2.0.1A.tar.gz root@drbl-xen-srv:~# tar zxvf Enomalism2-2.0.1A.tar.gz root@drbl-xen-srv:~# cd Enomalism2-2.0.1A/ root@drbl-xen-srv:~/Enomalism2-2.0.1A# python setup.py install root@drbl-xen-srv:~/Enomalism2-2.0.1A# scripts/init-db.sh $mysql_root_password $user $password root@drbl-xen-srv:~/Enomalism2-2.0.1A# cp default.cfg config/`hostname`.cfg root@drbl-xen-srv:~/Enomalism2-2.0.1A# vi config/`hostname`.cfg
- Change following lines with proper setting.
sqlobject.dburi="mysql://enomalism2:zx45qw12@localhost/enomalism2" enomalism2.self="5fe6f05e-7ee0-11dc-ba7c-0011d88b8e81" enomalism2.baseurl="http://127.0.0.1:8080/rest/" enomalism2.ip_addr="1.2.3.4"
- Start enomalism2
root@drbl-xen-srv:~/Enomalism2-2.0.1A# cd .. root@drbl-xen-srv:~# mv Enomalism2-2.0.1A /opt/enomalism2 root@drbl-xen-srv:~# /opt/enomalism2/scripts/enomalism2.sh start
Last modified 17 years ago
Last modified on Jun 11, 2008, 10:41:15 PM
Attachments (1)
-
EnomalismBeta2Manual.pdf
(170.4 KB) -
added by jazz 17 years ago.
Enomalism Beta 2.0 User Manual
Download all attachments as: .zip