cloudfoundry / bosh-azure-cpi-release

BOSH Azure CPI
Apache License 2.0
63 stars 87 forks source link

mount point /var/vcap/data was based on ephemeral disk(/dev/sdb2) #71

Closed toshiomakiyy closed 8 years ago

toshiomakiyy commented 8 years ago

I'm trying to build Cloud Foundry and I created VMs(bosh, cloudfoundry, devbox) using bosh and bosh_init on Windows Azure. It seems to successful, bosh and cf-cli work fine. However /var/vcap/data was based on ephemeral disk(/dev/sdb2) in CloudFoundry and BOSH VM, and /var/vcap/data was removed when VM deallocated.

so I restart VMs bosh-directory and CloudFoundry were failed to start. Is it right behavior?

I archived /var/vcap/data after deploy and recover data after VM restart. Do you have any good ideas?

vcap@5ea67f10-f0ac-4afc-acc3-95b9de8aa26f:~$ sudo monit status
/var/vcap/monit/job/0019_nats.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/nats/bin/nats_ctl'
/var/vcap/monit/job/0019_nats.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/nats/bin/nats_ctl'
/var/vcap/monit/job/0018_nats_stream_forwarder.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/nats_stream_forwarder/bin/nats_stream_forwarder_ctl'
/var/vcap/monit/job/0018_nats_stream_forwarder.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/nats_stream_forwarder/bin/nats_stream_forwarder_ctl'
/var/vcap/monit/job/0017_metron_agent.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/metron_agent/bin/metron_agent_ctl'
/var/vcap/monit/job/0017_metron_agent.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/metron_agent/bin/metron_agent_ctl'
/var/vcap/monit/job/0016_etcd.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/etcd/bin/etcd_ctl'
/var/vcap/monit/job/0016_etcd.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/etcd/bin/etcd_ctl'
/var/vcap/monit/job/0015_etcd_metrics_server.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/etcd_metrics_server/bin/etcd_metrics_server_ctl'
/var/vcap/monit/job/0015_etcd_metrics_server.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/etcd_metrics_server/bin/etcd_metrics_server_ctl'
/var/vcap/monit/job/0014_debian_nfs_server.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/debian_nfs_server/bin/rpc_nfsd_ctl'
/var/vcap/monit/job/0014_debian_nfs_server.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/debian_nfs_server/bin/rpc_nfsd_ctl'
/var/vcap/monit/job/0014_debian_nfs_server.monitrc:9: Warning: the executable does not exist '/var/vcap/jobs/debian_nfs_server/bin/rpc_mountd_ctl'
/var/vcap/monit/job/0014_debian_nfs_server.monitrc:10: Warning: the executable does not exist '/var/vcap/jobs/debian_nfs_server/bin/rpc_mountd_ctl'
/var/vcap/monit/job/0013_postgres.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/postgres/bin/postgres_ctl'
/var/vcap/monit/job/0013_postgres.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/postgres/bin/postgres_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_ng_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:6: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_ng_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:10: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/restart_drain'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:11: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/restart_drain'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:20: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:21: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:33: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:34: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:47: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/nginx_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:48: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/nginx_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:56: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_migration_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:57: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_migration_ctl'
/var/vcap/monit/job/0011_cloud_controller_worker.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_worker/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0011_cloud_controller_worker.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_worker/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0010_cloud_controller_clock.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_clock/bin/cloud_controller_clock_ctl'
/var/vcap/monit/job/0010_cloud_controller_clock.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_clock/bin/cloud_controller_clock_ctl'
/var/vcap/monit/job/0014_debian_nfs_server.monitrc:9: Warning: the executable does not exist '/var/vcap/jobs/debian_nfs_server/bin/rpc_mountd_ctl'
/var/vcap/monit/job/0014_debian_nfs_server.monitrc:10: Warning: the executable does not exist '/var/vcap/jobs/debian_nfs_server/bin/rpc_mountd_ctl'
/var/vcap/monit/job/0013_postgres.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/postgres/bin/postgres_ctl'
/var/vcap/monit/job/0013_postgres.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/postgres/bin/postgres_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_ng_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:6: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_ng_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:10: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/restart_drain'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:11: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/restart_drain'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:20: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:21: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:33: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:34: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:47: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/nginx_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:48: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/nginx_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:56: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_migration_ctl'
/var/vcap/monit/job/0012_cloud_controller_ng.monitrc:57: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_migration_ctl'
/var/vcap/monit/job/0011_cloud_controller_worker.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_worker/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0011_cloud_controller_worker.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_worker/bin/cloud_controller_worker_ctl'
/var/vcap/monit/job/0010_cloud_controller_clock.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_clock/bin/cloud_controller_clock_ctl'
/var/vcap/monit/job/0010_cloud_controller_clock.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_clock/bin/cloud_controller_clock_ctl'
/var/vcap/monit/job/0009_nfs_mounter.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/nfs_mounter/bin/nfs_mounter_ctl'
/var/vcap/monit/job/0009_nfs_mounter.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/nfs_mounter/bin/nfs_mounter_ctl'
/var/vcap/monit/job/0008_route_registrar.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/route_registrar/bin/route_registrar_ctl'
/var/vcap/monit/job/0008_route_registrar.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/route_registrar/bin/route_registrar_ctl'
/var/vcap/monit/job/0007_haproxy.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/haproxy/bin/haproxy_ctl'
/var/vcap/monit/job/0007_haproxy.monitrc:6: Warning: the executable does not exist '/var/vcap/jobs/haproxy/bin/haproxy_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_listener_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_listener_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:10: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_fetcher_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:12: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_fetcher_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:17: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_analyzer_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:19: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_analyzer_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:24: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_sender_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:26: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_sender_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:31: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_metrics_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:33: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_metrics_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:38: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_api_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:40: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_api_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:45: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_evacuator_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:47: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_evacuator_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:52: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_shredder_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:54: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_shredder_ctl'
/var/vcap/monit/job/0005_doppler.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/doppler/bin/doppler_ctl'
/var/vcap/monit/job/0005_doppler.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/doppler/bin/doppler_ctl'
/var/vcap/monit/job/0004_loggregator_trafficcontroller.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/loggregator_trafficcontroller/bin/loggregator_trafficcontroller_ctl'
/var/vcap/monit/job/0010_cloud_controller_clock.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/cloud_controller_clock/bin/cloud_controller_clock_ctl'
/var/vcap/monit/job/0009_nfs_mounter.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/nfs_mounter/bin/nfs_mounter_ctl'
/var/vcap/monit/job/0009_nfs_mounter.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/nfs_mounter/bin/nfs_mounter_ctl'
/var/vcap/monit/job/0008_route_registrar.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/route_registrar/bin/route_registrar_ctl'
/var/vcap/monit/job/0008_route_registrar.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/route_registrar/bin/route_registrar_ctl'
/var/vcap/monit/job/0007_haproxy.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/haproxy/bin/haproxy_ctl'
/var/vcap/monit/job/0007_haproxy.monitrc:6: Warning: the executable does not exist '/var/vcap/jobs/haproxy/bin/haproxy_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_listener_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_listener_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:10: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_fetcher_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:12: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_fetcher_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:17: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_analyzer_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:19: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_analyzer_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:24: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_sender_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:26: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_sender_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:31: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_metrics_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:33: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_metrics_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:38: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_api_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:40: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_api_server_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:45: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_evacuator_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:47: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_evacuator_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:52: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_shredder_ctl'
/var/vcap/monit/job/0006_hm9000.monitrc:54: Warning: the executable does not exist '/var/vcap/jobs/hm9000/bin/hm9000_shredder_ctl'
/var/vcap/monit/job/0005_doppler.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/doppler/bin/doppler_ctl'
/var/vcap/monit/job/0005_doppler.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/doppler/bin/doppler_ctl'
/var/vcap/monit/job/0004_loggregator_trafficcontroller.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/loggregator_trafficcontroller/bin/loggregator_trafficcontroller_ctl'
/var/vcap/monit/job/0004_loggregator_trafficcontroller.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/loggregator_trafficcontroller/bin/loggregator_trafficcontroller_ctl'
/var/vcap/monit/job/0003_uaa.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/uaa/bin/uaa_ctl'
/var/vcap/monit/job/0003_uaa.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/uaa/bin/uaa_ctl'
/var/vcap/monit/job/0002_gorouter.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/gorouter/bin/gorouter_ctl'
/var/vcap/monit/job/0002_gorouter.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/gorouter/bin/gorouter_ctl'
/var/vcap/monit/job/0001_dea_next.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/dea_next/bin/warden_ctl'
/var/vcap/monit/job/0001_dea_next.monitrc:5: Warning: the executable does not exist '/var/vcap/jobs/dea_next/bin/warden_ctl'
/var/vcap/monit/job/0001_dea_next.monitrc:17: Warning: the executable does not exist '/var/vcap/jobs/dea_next/bin/dea_ctl'
/var/vcap/monit/job/0001_dea_next.monitrc:18: Warning: the executable does not exist '/var/vcap/jobs/dea_next/bin/dea_ctl'
/var/vcap/monit/job/0001_dea_next.monitrc:24: Warning: the executable does not exist '/var/vcap/jobs/dea_next/bin/dir_server_ctl'
/var/vcap/monit/job/0001_dea_next.monitrc:25: Warning: the executable does not exist '/var/vcap/jobs/dea_next/bin/dir_server_ctl'
/var/vcap/monit/job/0000_dea_logging_agent.monitrc:3: Warning: the executable does not exist '/var/vcap/jobs/dea_logging_agent/bin/dea_logging_agent_ctl'
/var/vcap/monit/job/0000_dea_logging_agent.monitrc:4: Warning: the executable does not exist '/var/vcap/jobs/dea_logging_agent/bin/dea_logging_agent_ctl'
The Monit daemon 5.2.4 uptime: 50m 

Process 'nats'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:15:40 2016

Process 'nats_stream_forwarder'
  status                            initializing
  monitoring status                 initializing
  data collected                    Thu Jan 21 01:15:40 2016

Process 'metron_agent'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:16:10 2016

Process 'etcd'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:17:10 2016

Process 'etcd_metrics_server'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:17:40 2016

Process 'rpc_nfsd'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:18:40 2016

Process 'rpc_mountd'
  status                            initializing
  monitoring status                 initializing
  data collected                    Thu Jan 21 01:18:40 2016

Process 'postgres'
  status                            not monitored
  monitoring status                 not monitored
  data collected                    Thu Jan 21 00:56:00 2016

Process 'cloud_controller_ng'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 00:58:00 2016

Process 'cloud_controller_worker_local_1'
  status                            initializing
  monitoring status                 initializing
  data collected                    Thu Jan 21 00:58:00 2016

Process 'cloud_controller_worker_local_2'
  status                            initializing
  monitoring status                 initializing
  data collected                    Thu Jan 21 00:58:00 2016

Process 'nginx_cc'
  status                            initializing
  monitoring status                 initializing
  data collected                    Thu Jan 21 00:58:00 2016

Process 'cloud_controller_migration'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 00:58:30 2016

Process 'cloud_controller_worker_1'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 00:59:00 2016

Process 'cloud_controller_clock'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 00:59:30 2016

File 'nfs_mounter'
  status                            Does not exist
  monitoring status                 monitored
  data collected                    Thu Jan 21 00:59:30 2016

Process 'route_registrar'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:00:00 2016

Process 'haproxy'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:00:30 2016

Process 'hm9000_listener'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:01:30 2016

Process 'hm9000_fetcher'
  status                            Execution failed
  monitoring status                 monitored
  data collected                    Thu Jan 21 01:02:30 2016
AbelHu commented 8 years ago

You should not stop the VMs. Please reference this issue #55

toshiomakiyy commented 8 years ago

Thank you for your response. I have read this issue, and I understand this is BOSH design.

I want to know why BOSH use ephemeral disk in /var/vcap/data What should I do when I want to restart VM? (e.g. change VM size.)

AbelHu commented 8 years ago

You can restart VM but cannot stop and then start it. If a VM is reallocated in a different host, you can use 'bosh cloudcheck' to repair it.

Under my understanding, about why BOSH puts /var/vcap/data in ephemeral disk,

  1. Ephemeral disk is a local disk and has higher speed. Although OS disk is also local disk, the space of OS disk may be not enough.
  2. Administrator often uses BOSH to update the deployment and the data under /var/vcap/data are also changed frequently.
toshiomakiyy commented 8 years ago

I can understand.

Thank you for your help.

bingosummer commented 8 years ago

@toshiomakiyy FYI. If you want to change the VM size, you need to update instance_type in your manifest and re-deploy it. Then BOSH will delete the old VM and create a new one with a different VM size.

yorkie-m commented 8 years ago

Hi there

Just getting started with Cloud Foundry and hit the same issue after triggering a manual restart of the BOSH Director VM itself via the Azure Portal.

Am I correct in understanding that by design the BOSH Director VM will not recover from such a restart? I can understand the use of the local disk for performance reasons but I would expect the Direcor to be able to recover from such restarts will happen either manually or when Azure patches the VMs.

Thanks

AbelHu commented 8 years ago

You can easily deploy it with bosh-init again. Your data is kept in persistent data disk.

Best Regards, Abel HU

? 2016?3?11??20:32?yorkie-m notifications@github.com<mailto:notifications@github.com> ???

Hi there

Just getting started with Cloud Foundry and hit the same issue after triggering a manual restart of the BOSH Director VM itself via the Azure Portal.

Am I correct in understanding that by design the BOSH Director VM will not recover from such a restart? I can understand the use of the local disk for performance reasons but I would expect the Direcor to be able to recover from such restarts will happen either manually or when Azure patches the VMs.

Thanks

Reply to this email directly or view it on GitHubhttps://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/issues/71#issuecomment-195349135.

yorkie-m commented 8 years ago

Many thanks Abel. I've come back to this issue and on trying bosh-init deploy I get the below error. Investigating now but any help appreciated

Thanks Mark.

Started validating Failed validating (00:00:00) Command 'deploy' failed: Parsing release set manifest '~/example_manifests/single-vm-cf.yml': Validating release set manifest: releases[0].url must be a valid URL (file:// or http(s)://)

AbelHu commented 8 years ago

@yorkie-m Did you find the reason for the invalid manifest? If not, you can send ~/example_manifests/single-vm-cf.yml to me (chou.hu@microsoft.com).