Posted 2012-03-29 01:47 by Joe
increase-scalegroup.pl
Add a system to an auto-scaling group.
This command increases the number of systems in an existing auto-scaling group by one,
regardless of their current load or other conditons that would cause scaling to happen automatically.
The group can be specified by the --group flag followed by a unique ID,
or --host followed by the hostname pattern.
Example usage
vm2 increase-scalegroup --host 'scaler${num}'
Creating a new system in auto-scaling group scaler${NUM} ..
Allocating new IP addresses ..
.. allocated 193.9.101.78
Copying virtual disks ..
Copying disk /dev/raidvg/kvmcentos_home_img ..
.. copied to /dev/kvm_vg/scaler0_home_img
.. done
Adding DNS entry scaler0.home. for IP address 193.9.101.78 ..
.. done
Mounting new instance's filesystem ..
.. mounted on /mnt/kvm-scaler0.home
Updating configuration files with hostname and IP address ..
.. done
Updating network configuration files ..
.. done
Un-mounting instance's filesystem ..
.. done
Adding DHCP entries ..
Adding DHCP entry for 193.9.101.78 with Ethernet address 02:54:00:DA:83:7E ..
.. done
.. all done
Refreshing status of original system ..
.. done. New status is : Down
Refreshing status of new system ..
.. done. New status is : Down
Starting up new system after cloning ..
.. done
Refreshing status of new system ..
.. done. New status is : SSH
.. created system scaler0.home
Command Line Help
cloudmin increase-scalegroup --group id | --host hostname
