Properly shutting down and firing back up Pivotal Cloud Foundry
Because my Pivotal Cloud Foundry lab runs on my modest vSphere environment, every now an then I need to power something down, and I don’t always have the resources to vMotion everything to the remaining servers. So I needed a method to be able to power down the PCF lab and bring it back up. Pivotal tech support responded with these recommended instructions:
Normally, it is not necessary to power off PCF because it is providing continuous cloud service. However, if you have to power off the system or some VMs, here are the tested steps.
follow the backup procedures outlined at [1] to backup databases and NFS servers, this is for disaster recovery purpose.
confirm vSphere HA won’t automatically try to bring back VMs you shut down.
shutdown Ops Manager Director VM first, because it detects offline VMs and recreates them automatically.
shutdown Cloud Controller VM the next, this action will terminate any futher Cloud Foundry operation.
shutdown other VMs.
those VMs have VMtools installed, so you can use vSphere “Shut Down Guest” to shutdown VMs gracefully.
When you need to bring those VMs back, just follow the reverse steps above.
power on VMs prior to Cloud Controller and Ops Manager Director
power Cloud Controller
Ops Manager DirectorCLI help for details.
Recent Posts
See AllRecently I was working on a problem with Time Series. Time Series can quickly add up to a lot of data, as you are using previous...
One of the biggest bottlenecks in Deep Learning is loading data. having fast drives and access to the data is important, especially if...
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableName;...
Comments