Hi Sam,

Please find my inline comments below:
........................................................
I can add a new ip range,disable zone,destroy system vms and I think this
step is fair. But my concern was deployed vms and not being able to remove
user ips.
[PB] What do you mean by user IPs here? Are they acquired public IPs?, they
can be released from UI without any problem. But still SNAT IPs(public IP
of router VM) need to be deleted in-order to delete existing IP range.

So just changing the status of user ip to "removed" on mysql  table and
adding new range for this user would be enough?
[PB] I am sure on this. But it worked for me sometime back when I had
similar situation. Theoretically, It should work but you may encounter
mysql foreign constraint issues sometimes as SQL tweaking in one table may
impact other tables with ip address data field as a foreign key.

So if i shut down all user vms and network router, add new ip range for
this user, restart router and it should assign the new IP address? or if
ips are marked as removed will it give me an option to destroy network
router so newly created router will have new range?
[PB] Try to see if you can remove SNAT IP of router VM after stopping and
destroying it from UI. If this works, no need to update DB entries. New
range IPs will be taken by router VMs when a new VM is deployed in the
account OR an existing VM is stopped and started again.

Thanks,
Praveen

On Sat, Apr 4, 2015 at 8:09 PM, Sam Ceylani <[email protected]> wrote:

> I can add a new ip range,disable zone,destroy system vms and I think this
> step is fair. But my concern was deployed vms and not being able to remove
> user ips. So just changing the status of user ip to "removed" on mysql
> table and adding new range for this user would be enough? So if i shut down
> all user vms and network router, add new ip range for this user, restart
> router and it should assign the new IP address? or if ips are marked as
> removed will it give me an option to destroy network router so newly
> created router will have new range?
>
>
> Thanks,
>
> Sam Ceylani, MBA
> Computer Engineer
> MisterCertified Inc.
>
> 301 W. Platt St. Suite 447, Tampa, FL 33606<x-apple-data-detectors://0/0>
> P 813<tel:813.264.6460>.264.6460<tel:813.264.6460> M
> 813<tel:813.416.7867>.416.7867<tel:813.416.7867>
> F 800<tel:800.553.9520>.553.9520<tel:800.553.9520> E
> [email protected]<mailto:[email protected]>
>
> On Apr 4, 2015, at 10:27 AM, "Praveen B" <[email protected]<mailto:
> [email protected]>> wrote:
>
> Hi Sam,
>
> You need to release all the acquired public IPs in-order to delete the
> public IP range. Otherwise, CloudStack throws an error while attempting to
> delete it. Though you release all acquired public IPs manually, destroy
> console proxy and secondary storage VM by disabling the zone, you will find
> problem in removing source NAT IP of router VM. There would be no option
> available in UI to remove SNAT IP of router VMs.
>
> Hence, if you have any deployed VMs in your mentioned 4-5 isolated
> networks, you need to mark all the respective public IPs in mysql database
> for "user_ip_address" table as removed. Take a backup of cloud database
> before you attempt any changes to db.
>
> Thanks,
> Praveen
>
> On Sat, Apr 4, 2015 at 6:57 PM, Sam Ceylani <[email protected]
> <mailto:[email protected]>> wrote:
>
> We have almost 13 public IP's in an advanced network with 4-5 isolated
> networks and I couldn't find anything in documentation about changing them.
> What is the best way to handle this situation? We are moving to a new data
> center and some people suggested creating templates of vms and recreating
> them in order to delete old ip ranges, and seems to be some mysql tweaking
> involved also which we can do np, any idea where we should be starting?
> system vms, routers? We are using CS 4.4.1 with xenserver 6.2
>
>
> Thanks,
>
> Sam Ceylani, MBA
> Computer Engineer
> MisterCertified Inc.
>
> 301 W. Platt St. Suite 447, Tampa, FL 33606<x-apple-data-detectors://0/0>
> P 813<tel:813.264.6460>.264.6460<tel:813.264.6460> M
> 813<tel:813.416.7867>.416.7867<tel:813.416.7867>
> F 800<tel:800.553.9520>.553.9520<tel:800.553.9520> E
> [email protected]<mailto:[email protected]
> ><mailto:[email protected]>
>
>

Reply via email to