Changes between Version 5 and Version 6 of GoEucalyptus

Show
Ignore:
Timestamp:
11/14/08 11:56:19 (11 years ago)
Author:
yxin (IP: 152.54.6.59)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoEucalyptus

    v5 v6  
    340340$EUCALYPTUS/usr/sbin/euca_conf -nc Y 
    341341 
    342 Eucalyptus Configuration 
    343  
    344 On both head and compute node, do 
     342== Eucalyptus Configuration == 
     343 
     344On both '''head and compute node''', do 
    345345 
    346346export NFS_SHARE=/home/anirban/Euca-images 
     
    357357$EUCALYPTUS/usr/sbin/euca_conf -instances $LOCAL_IMAGES/instances 
    358358 
    359 On the front end, do 
     359On the '''front end''', do 
    360360 
    361361$EUCALYPTUS/usr/sbin/euca_conf -nodes "docnode1.renci.org" 
     
    364364 
    365365 
    366 Configure Xen with networking 
     366'''Configure Xen with networking ''' 
    367367 
    368368Edit /etc/xen/xend-config.sxp on compute node to enable unix-server - Uncomment and put yes in the line which says xend-unix-server. 
     
    402402I also had to set forwarding to ACCEPT in iptables for the compute node by editing /etc/sysconfig/iptables - change :FORWARD DROP [0:0] to :FORWARD ACCEPT [0:0] 
    403403This is equivalent to manually doing 'iptables -P FORWARD ACCEPT' 
    404 Test Xen with networking 
     404 
     405'''Test Xen with networking''' 
    405406 
    406407Testing Xen with ttylinux - make sure that Xen works with ttylinux and networking on the compute node. 
     
    421422To shutdown ttylinux, do 'xm shutdown tty' 
    422423 
    423 Eucalyptus Deployment 
    424  
    425 Start Xen on compute node  
    426  
    427 xend start 
     424== Eucalyptus Deployment == 
     425 
     426=== Start Xen on compute node === 
     427 
     428'''xend start''' 
    428429 
    429430'xm list' should display domain 0. 
     
    432433Verify iptables using 'iptables -L' 
    433434 
    434 Start Eucalyptus 
     435=== Start Eucalyptus === 
    435436 
    436437Start Eucalyptus Cloud, CC (Cluster controller) and NC (Node Controller) 
    437438 
    438 On head node: 
     439'''On head node:''' 
    439440To start cluster controller: 
    440441$EUCALYPTUS/bin/httpd -f $EUCALYPTUS/etc/eucalyptus/httpd.conf 
     
    442443ant -f $EUCALYPTUS/etc/eucalyptus/cloud-ant.xml run 
    443444 
    444 On compute node: 
     445''' On compute node: ''' 
    445446To start node controller: 
    446447$EUCALYPTUS/bin/httpd -f $EUCALYPTUS/etc/eucalyptus/httpd.conf 
     
    458459The default xen bridge in the config.xml created is xenbr0. Since, we are using xenbr1, we have to change xenbr0 to xenbr1in config.xml in $NFS_SHARE/registered/eucalyptus/<emi-id>  for all registered images and also cache ( $LOCAL_IMAGES/instances/eucalyptus/cache), if there was an attempt to run that image before. 
    459460 
    460 User guide 
     461=== User guide === 
    461462 
    462463User Guide @ http://eucalyptus.cs.ucsb.edu/wiki/EucalyptusUserGuide 
    463464for a. creating accounts, b. generating and storing the keys/certs, c. installing EC2 command-line tools, d.setting up environment variables to use ec2 comand line tools. 
    464465 
    465 Important EC2 commands: 
     466=== Important EC2 commands: === 
    466467ec2-describe-availability-zones, ec2-describe-images, ec2-run-instances <emi-id>, ec2-describe-instances, ec2-terminate-instances <instance-id> 
    467468 
    468469 
    469 Misc: 
     470=== Misc: === 
    470471 
    471472On the compute node, fixed the stat command and put a 'stat' file in /opt/eucalyptus/bin (because of incompatibilities with old version of stat on the machine (compute node). stat contents: