0

I am following this guide [Deploying a highly available MySQL 5.6 cluster with DRBD on Compute Engine]2

Although the guide is written for ubuntu-1604-lts, the GCP doesn't have any the image more (I think), so I changed it to ubuntu-1804-lts to continues the guide.

At the same time, I ran the Verify the status of DRBD: command as

sudo cat /proc/drbd | grep ============

It never return the output from the guide, which is:

[===================>] sync'ed:100.0% (208/307188)M

Since there is not nothing retuned, but when we cat the file(cat /proc/drbd), we get:

version: 8.4.7 (api:1/proto:86-101)
srcversion: F7D2F0C9036CD0E796D5958
 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
    ns:0 nr:6206288 dw:320880044 dr:0 al:8 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0

Any point to find a updated guide or fix the issue of "status of DRBD:" Thank you.

  • Menu > Compute engine > images > show deprecated images (ubuntu-1604-lts family is still available). Filter with "ubuntu-1604" – dany L Dec 05 '21 at 16:58
  • @danyL Can you please show me how you use filter "ubuntu-1604" ? replacing --image-family=ubuntu-1604-lts to --image-family=ubuntu-1604 doesn't help ERROR: (gcloud.compute.instances.create) Could not fetch resource: - The resource 'projects/ubuntu-os-cloud/zones/asia-east1-c/imageFamilyViews/ubuntu-1604' was not found – mmmmmmmmmmmmm Dec 06 '21 at 01:54
  • just put ubuntu-1604 n hit enter – dany L Dec 06 '21 at 02:58
  • That is what I did, but it gives this error. (gcloud.compute.instances.create) Could not fetch resource: - The resource 'projects/ubuntu-os-cloud/zones/asia-east1-c/imageFamilyViews/ubuntu-1604' was not found – mmmmmmmmmmmmm Dec 06 '21 at 03:26
  • I was able to create one. – dany L Dec 06 '21 at 15:07
  • Since the screenshot i linked is not helpful, I will delete it, and hopefully a community member will put a better answer. – dany L Dec 07 '21 at 14:02
  • somewhat similar issue https://github.com/GoogleCloudPlatform/cloudspanner-ticketshop-demo/issues/4 , looks like 1604 is deprecated. – dany L Dec 07 '21 at 19:20
  • There is more issues the guide beside version of os. Wonder how we can let gg know they should update that doc. – mmmmmmmmmmmmm Dec 08 '21 at 02:15
  • at the bottom of the page there is a feedback button – dany L Dec 08 '21 at 13:43
  • Thank you @danyL. I submitted a feedback before asking the question here. – mmmmmmmmmmmmm Dec 13 '21 at 21:30

0 Answers0