Collapse AllExpand All

Shutdown Components

To shut down Eucalyptus components:

  1. Terminate any running instances, as in the following example:
    euca-terminate-instances <instance01_id> <instance02_id>
  2. Tip
    Tip
    The following is an example that scripts the individual steps to shut down Eucalyptus components noted in this section.
    for x in $( euca_conf --list-nodes | tail -n +2 | awk '{ print $1 }');
    do ssh root@$x "service eucalyptus-nc stop"; done
    for x in $( euca_conf --list-clusters | tail -n +2 | awk '{ print $2
    }'); do ssh root@$x "service eucalyptus-cc stop"; done
    for x in $( euca_conf --list-scs | tail -n +2 | awk '{ print $2 }');
    do ssh root@$x "service eucalyptus-cloud stop"; done
    for x in $( euca_conf --list-walruses | tail -n +2 | awk '{ print $2
    }'); do ssh root@$x "service eucalyptus-cloud stop"; done
    service eucalyptus-cloud stop
    If you don't have ssh keys set up, you'll have to type a lot of passwords during this.
    Log in to an NC host and shut down the NC service.
    service eucalyptus-nc stop
    Repeat for each machine hosting an NC.
  3. Log in to a CC host and shut down the CC service.
    service eucalyptus-cc cleanstop
    Repeat for each machine hosting a CC.
  4. Shut down the VMware Broker service on the CC host.
    service eucalyptus-cloud stop
    Tip
    Tip
    This command also shuts down a CLC, Walrus, and SC components co-located with the CC and VMware Broker to stop at the same time, in the correct order.
    Repeat for each machine hosting the VMware Broker.
  5. Log in to an SC host and shut down the SC service.
    service eucalyptus-cloud stop
    Repeat for any other machine hosting an SC.
  6. Log in to the Walrus host and shut down the Walrus service.
    service eucalyptus-cloud stop
  7. Log in to the CLC host and shut down the CLC service.
    service eucalyptus-cloud stop