1. set hostname like "a.b.c"
gedit /etc/hostname
hostname –-fqdn
2. install time server
sudo apt-get install openntpd
3. copy install package to ubuntu
4. apt-get install aptitude # for cloudstack package install
5. unpackge
tar xjvf CloudStack-oss-4.0.0-536.tar.bz2
./install.sh #install cloudstack manager server
M
#waiting for done
./install.sh #install DB
D
cloud-setup-databases cloud:cloudstack@localhost --deploy-as=root:cloudstack -e file -m cloudstack -k cloudstack
6. set xenserver
[iyunv@cloudstack .ssh]# ssh 192.168.10.10 #ssh xenserver
The authenticity of host '192.168.10.10 (192.168.10.10)' can't be established.
RSA key fingerprint is ae:5b:8a:dc:2a:c8:6c:56:f6:7a:48:02:e6:db:78:dd.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.10.10' (RSA) to the list of known hosts.
root@192.168.10.10's password:
Type "xsconsole" for access to the management console.
[iyunv@hpxs1 ~] pwd
/root
[iyunv@hpxs1 ~] mkdir tmp
[iyunv@hpxs1 ~] cd tmp
[iyunv@hpxs1 tmp] wget http://download.cloud.com/releases/3.0.1/XS-6.0.2/xenserver-cloud-supp.tgz
--2012-06-29 21:55:08-- http://download.cloud.com/releases/3.0.1/XS-6.0.2/xenserver-cloud-supp.tgz
Resolving download.cloud.com... 207.171.185.201
Connecting to download.cloud.com|207.171.185.201|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3342001 (3.2M) [application/x-tar]
Saving to: `xenserver-cloud-supp.tgz'
100%[================================================================>] 3,342,001 217K/s in 15s
Preparing... ########################################### [100%]
1:iptables ########################################### [ 10%]
2:iptables-ipv6 ########################################### [ 20%]
3:arptables ########################################### [ 30%]
4:iptables-debuginfo ########################################### [ 40%]
5:ipset-modules-kdump-2.6########################################### [ 50%]
6:ipset-modules-xen-2.6.3########################################### [ 60%]
7:csp-pack ########################################### [ 70%]
8:ebtables ########################################### [ 80%]
9:ipset ########################################### [ 90%]
10:iptables-devel ########################################### [100%]
Update sysctl to enable *tables checking
Memory required by all installed packages: 894697472
Truncating to static-max: 789839872
Setting VM.memory_target: 789839872
Pack installation successful.
[iyunv@hpxs1 tmp]
[iyunv@hpxs1 tmp] xe-switch-network-backend bridge
Cleaning up old ifcfg files
Remove... ifcfg-xenbr0
Disabling openvswitch daemon
Configure system for bridge networking
You *MUST* now reboot your system
[iyunv@hpxs1 tmp] reboot
root@lum-CS:/# ssh 192.168.88.184
The authenticity of host '192.168.88.184 (192.168.88.184)' can't be established.
RSA key fingerprint is dc:ac:19:d9:56:5f:15:03:9f:60:5f:12:4a:7e:01:d0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.88.184' (RSA) to the list of known hosts.
root@192.168.88.184's password:
Last login: Wed Mar 20 13:02:16 2013 from 192.168.88.190
Type "xsconsole" for access to the management console.
[iyunv@xenserver602-max ~]# pwd
/root
[iyunv@xenserver602-max ~]# mkdir tmp
[iyunv@xenserver602-max ~]# cd tmp
[iyunv@xenserver602-max tmp]# wget http://download.cloud.com/releases/3.0.1/XS-6.0.2/xenserver-cloud-supp.tgz
--2013-03-20 13:09:40-- http://download.cloud.com/releases/3.0.1/XS-6.0.2/xenserver-cloud-supp.tgz
Resolving download.cloud.com... 207.171.187.118
Connecting to download.cloud.com|207.171.187.118|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3342001 (3.2M) [application/x-tar]
Saving to: `xenserver-cloud-supp.tgz'
100%[======================================>] 3,342,001 617K/s in 8.8s