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

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-----Original Message-----
From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
Sent: 10 January 2013 10:36
To: cloudstack-users@incubator.apache.org
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 - 
http://docs.cloudstack.org/CloudStack_Documentation/Design_Documents/Deploy_vm_with_custom_ip_address
  .

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 !

Thanks,
Pranav

-----Original Message-----
From: Nikita Mironov [mailto:miron...@gmail.com]
Sent: Thursday, January 10, 2013 3:39 PM
To: cloudstack-users@incubator.apache.org
Subject: Change IP address

Hi All.

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

Thanks.

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.

Reply via email to