Eucalyptus - Add Components2013/02/24 |
Add Components.
This example shows to configure Eucalyptus on the environment below.
#1) frontend.srv.world
[10.0.0.30] ⇒ Control Server ( CLC, Walrus, SC, CC installed ) #2) node01.srv.world [10.0.0.40] ⇒ Node Controler ( NC installed, built KVM Host )
|
|
[1] | Work on the Control Server. |
# Add Cluster Controller ( specify any name you like for "cluster01", specify Control Server's IP for IP address ) [root@frontend ~]# euca_conf --register-cluster cluster01 10.0.0.30 SERVICE cluster cluster01 cluster-10.0.0.30 NOTREADY 17 http://10.0.0.30:8774/axis2/services/EucalyptusCC arn:euca:eucalyptus:cluster01:cluster:cluster-10.0.0.30/ The authenticity of host '10.0.0.30 (10.0.0.30)' can't be established. RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '10.0.0.30' (RSA) to the list of known hosts. root@10.0.0.30's password: # Control Server's root password # Add Walrus ( specify Control Server's IP for IP address ) [root@frontend ~]# euca_conf --register-walrus 10.0.0.30 Created new partition 'walrus' SERVICE walrus walrus walrus-10.0.0.30 DISABLED 18 http://10.0.0.30:8773/services/Walrus arn:euca:bootstrap:walrus:walrus:walrus-10.0.0.30/ root@10.0.0.30's password: # Control Server's root password # Add Storage Controller ( specify Control Server's IP for IP address ) [root@frontend ~]# euca_conf --register-sc cluster01 10.0.0.30 SERVICE storage cluster01 sc-10.0.0.30 BROKEN 21 http://10.0.0.30:8773/services/Storage arn:euca:eucalyptus:cluster01:storage:sc-10.0.0.30/ Registered the first storage controller in partition 'cluster01'. You must choose a storage back end with ``euca-modify-property -p cluster01.storage.blockstoragemanager=$BACKEND'' root@10.0.0.30's password: # Control Server's root password # Add Node Controller ( specify Node Controler's IP for IP address ) [root@frontend ~]# euca_conf --register-nodes "10.0.0.40" INFO: We expect all nodes to have eucalyptus installed in $EUCALYPTUS for key synchronization. The authenticity of host '10.0.0.40 (10.0.0.40)' can't be established. RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '10.0.0.40' (RSA) to the list of known hosts. root@10.0.0.40's password: # Node Controler's root password ...done # get admin certificates [root@frontend ~]# euca_conf --get-credentials admin.zip [root@frontend ~]# unzip admin.zip [root@frontend ~]# source eucarc
# show status [root@frontend ~]# euca-describe-availability-zones verbose AVAILABILITYZONE cluster01 10.0.0.30 arn:euca:eucalyptus:cluster01:cluster:cluster-10.0.0.30/ AVAILABILITYZONE |- vm types free / max cpu ram disk AVAILABILITYZONE |- m1.small 0008 / 0008 1 512 5 AVAILABILITYZONE |- c1.medium 0004 / 0004 2 512 10 AVAILABILITYZONE |- m1.large 0004 / 0004 2 1024 15 AVAILABILITYZONE |- m1.xlarge 0004 / 0004 2 2048 20 AVAILABILITYZONE |- c1.xlarge 0002 / 0002 4 4096 20 |
Sponsored Link |
|