You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Advanced tasks at Eucalyptus


list of ec2 commands


  1. virtual cluster script, documentation is here: /usr/common/tig/virtualcluster/0.2.2/docs/README, 
    1. skip: *on other systems, **Setting credentials*
    2. Log into carver.nersc.gov
    3. Load the Eucalyptus tools + virtual cluster tools: 
      1. module load tig && module load euca2ools
      2. module load tig virtualcluster
    4.  setup system variables & your credentials stored in your 'eucarc' script:
      source key-euca2-balewski-x509/eucarc.csh
      make sure EUCA_KEY_DIR is set properly
    5.  create EBS volume:
      ec2-create-volume --size 5 --availability-zone euca
      VOLUME vol-82DB0796 5 euca creating 2010-12-17T20:24:45+0000
    6. check the volume is created
      euca-describe-volumes
      VOLUME vol-82DB0796 5 euca available 2010-12-17T20:24:45+0000
    7. Create an instance
      euca-run-instances -k balewski-euca
    8. Attach EBS volume to this instance :
      ec2-attach-volume -i <instance-id> -d /dev/vdb <volumeid>

Trouble shooting:

  1. version of python whould be at least 2.5, to test it type:
    which python
    /usr/bin/env python
  2. sss
  • No labels