8/3/2011 Install Front End
8/3/2011 Install Front End
8/3/2011 Install Front End
we configure the head-node as a router by enabling in /etc/sysctl.conf the line for packet
forwarding:
net.ipv4.ip_forward = 1
and then enable IP masquerading at boot-time by appending to /etc/rc.local
sudo apt-get install libsqlite3-dev libxmlrpc-c3-dev scons g++ ruby libopenssl-ruby libssl-dev
sudo apt-get install ruby-dev make rake rubygems libxml-parser-ruby1.8 libxslt1-dev libxml2-
dev
mkdir -p /srv/cloud/images
mkdir -p /srv/cloud/one/SRC
Nano ~/.bashrc
export ONE_LOCATION=/srv/cloud/one
export ONE_XMLRPC=http://localhost:2633/RPC2
export ONE_AUTH=$ONE_LOCATION/.one_auth
export PATH=$ONE_LOCATION/bin:$PATH
cd /srv/cloud/one/SRC
wget http://dev.opennebula.org/attachments/download/303/opennebula-2.1.80.tar.gz
giai nen:
Cai NFS
sudo apt-get install nfs-kernel-server
sudo apt-get install portmap nfs-common
nano /etc/exports
/etc/init.d/nfs-kernel-server restart
Install WorkerNode1
Mount tu dong
Nano /etc/fstab
Them dong
mount /srv/cloud
auto lo
auto eth0
auto br0
address 192.168.3.21
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
gateway 192.168.3.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
we configure the head-node as a router by enabling in /etc/sysctl.conf the line for packet
forwarding:
net.ipv4.ip_forward = 1
and then enable IP masquerading at boot-time by appending to /etc/rc.local
sudo apt-get install libsqlite3-dev libxmlrpc-c3-dev scons g++ ruby libopenssl-ruby libssl-dev
sudo apt-get install ruby-dev make rake rubygems libxml-parser-ruby1.8 libxslt1-dev libxml2-
dev
mkdir -p /srv/cloud/images
mkdir -p /srv/cloud/one/SRC
Nano ~/.bashrc
export ONE_LOCATION=/srv/cloud/one
export ONE_XMLRPC=http://localhost:2633/RPC2
export ONE_AUTH=$ONE_LOCATION/.one_auth
export PATH=$ONE_LOCATION/bin:$PATH
cd /srv/cloud/one/SRC
wget http://dev.opennebula.org/attachments/download/303/opennebula-2.1.80.tar.gz
giai nen:
Cai NFS
sudo apt-get install nfs-kernel-server
sudo apt-get install portmap nfs-common
nano /etc/exports
/etc/init.d/nfs-kernel-server restart
Host *
StrictHostKeyChecking no
24/03/2011
Install WorkerNode2
Mount tu dong
Nano /etc/fstab
Them dong
mount /srv/cloud
install client with 10.10 error at command “chown oneadmin.cloud /srv/cloud –R”
28/03/2011
Mount tu dong
Nano /etc/fstab
Them dong
mount /srv/cloud
OK