[cf-dev] Changing IP addresses in deployed CF

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[cf-dev] Changing IP addresses in deployed CF

Jonathan Stockley

Hi,

We are using cf-deployment release 1.15.0 in a vSphere environment and are looking at DR strategies.

Up until now, we have implemented DR by replicating the persistent disks to another vSphere configured with the same datastores and network config (i.e. IP addresses in both DCs are the same).

 

We now have to deploy into datacenters that have different IP networks. It has been suggested that we can update the IP addresses in the persistent disks when bringing up the DR site.

 

Is there any information as to where CF stores IP addresses of various components (config files, db tables, etc.) that I could use to determine the effort required to patch everything to use IP addresses in DR environment?

 

Thanks,

Jo

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8316) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Changing IP addresses in deployed CF

Hjortshoj, Julian
Hi Jo,

I hope all is well with you.  I didn't see a response to this, so I thought I'd take a swing at it.

This use case (moving all the state to another CF deployment for DR) is exactly what BBR is meant for (https://docs.cloudfoundry.org/bbr/).  Did you consider to use that instead?  To me, using scripting to patch the persistent disks seems like a pretty sketchy idea and will be fragile at best.  Even if you do get it to work, you will probably find that it is unreliable and requires a lot of maintenance when up upgrade to new cf-d versions that do stuff like replacing consul dns with bosh DNS or replacing gorouter with istio.

BBR was fairly new in the 1.15 time frame, but there is an experimental ops file for it in that version.

HTH,
-Julian

From: [hidden email] [[hidden email]] on behalf of Jonathan Stockley [[hidden email]]
Sent: Tuesday, October 9, 2018 11:49 AM
To: [hidden email]
Subject: [cf-dev] Changing IP addresses in deployed CF

[EXTERNAL EMAIL]
Please report any suspicious attachments, links, or requests for sensitive information.

Hi,

We are using cf-deployment release 1.15.0 in a vSphere environment and are looking at DR strategies.

Up until now, we have implemented DR by replicating the persistent disks to another vSphere configured with the same datastores and network config (i.e. IP addresses in both DCs are the same).

 

We now have to deploy into datacenters that have different IP networks. It has been suggested that we can update the IP addresses in the persistent disks when bringing up the DR site.

 

Is there any information as to where CF stores IP addresses of various components (config files, db tables, etc.) that I could use to determine the effort required to patch everything to use IP addresses in DR environment?

 

Thanks,

Jo

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8317) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_