cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <>
Subject RE: Change IP address
Date Thu, 10 Jan 2013 13:13:22 GMT
If the instance already exists, then you need to make the changes in the Database.

For an Advanced Zone:

1. Stop the VM Instance
2. Identify the 'id' of the VM from the table 'vm_instance'
    e.g.   SELECT id FROM cloud.vm_instance where instance_name = "i-6-1597-VM";
3. Use ID from step 2 to locate NIC entry from table 'nics '
    e.g.   SELECT * FROM cloud.nics where instance_id ="1597";
4. Edit the IP address of the record in the NICs table
5. Restart the Network using the 'clean-up' option
6. Start the VM Instance, it will now pick up the new IP

THIS IS NOT SUPPORTED, so please test in a dev environment before applying to a live system


Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

-----Original Message-----
From: Pranav Saxena []
Sent: 10 January 2013 10:36
Subject: RE: Change IP address

The UI doesn't support this right now but you can certainly use the API to achieve what you
are looking for . Check this out -

Also , if I  recall correctly , you can't migrate your VM's within two pods in a basic zone
 since they have different guest CIDR's for each pod , just in case if you were trying to
do this .

Hope this helps !


-----Original Message-----
From: Nikita Mironov []
Sent: Thursday, January 10, 2013 3:39 PM
Subject: Change IP address

Hi All.

I Need to change the ip address in CloudStack for instance. How to do it?


ShapeBlue provides a range of strategic and technical consulting and implementation services
to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s
expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises
to deliver true, utility based, IaaS to the customer or end-user.


This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the
intended recipient of this email, you must neither take any action based upon its contents,
nor copy or show it to anyone. Please contact the sender if you believe you have received
this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
View raw message