A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vmware/docker-volume-vsphere/issues/1786 below:

[SRM] After disaster recovery, vmgroup for volumes of user vmgroup are listed as N/A at secondary site · Issue #1786 · vmware-archive/vsphere-storage-for-docker · GitHub

This repository was archived by the owner on Nov 9, 2020. It is now read-only.

This repository was archived by the owner on Nov 9, 2020. It is now read-only.

[SRM] After disaster recovery, vmgroup for volumes of user vmgroup are listed as N/A at secondary site #1786

Description

Steps:

  1. Initialized the config and created a vmgroup and added a vm
  2. After VM was added to vmgroup, created new volumes
  3. Ran Disaster Recovery from VC
  4. After DR finished successfuly, admin cli lists volumes of user vmgroup as N/A.
    And VM no longer belonged to user vmgoup - it became part of default vmgroup and could see volumes of default vmgroup

Detailed steps and their output are as follows:

  1. Initialized the config and created a vmgroup and added a vm
[root@w3-stsrm-017:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py config init --local
Warning: this feature is EXPERIMENTAL
Creating new DB at /etc/vmware/vmdkops/auth-db
Warning: Local configuration will not survive ESXi reboot. See KB2043564 for details
[root@w3-stsrm-017:~]
[root@w3-stsrm-017:~]
[root@w3-stsrm-017:~]
[root@w3-stsrm-017:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup create --name vmgroup1 --default-datastore _VM_DS --vm-list Ubuntu-14.04-Docker11-12
vmgroup 'vmgroup1' is created. Do not forget to run 'vmgroup vm add' to add vm to vmgroup.
[root@w3-stsrm-017:~]
[root@w3-stsrm-017:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup ls
Uuid                                  Name      Description                Default_datastore  VM_list
------------------------------------  --------  -------------------------  -----------------  ------------------------
11111111-1111-1111-1111-111111111111  _DEFAULT  This is a default vmgroup  _VM_DS
6979ae23-bb79-4952-bd42-cdbdf8a7821e  vmgroup1                             _VM_DS             Ubuntu-14.04-Docker11-12

[root@w3-stsrm-017:~]
  1. After vm was added to vmgroup, created new volumes
root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere --name TestVolVG1
TestVolVG1
root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere --name TestVolVG1-2
TestVolVG1-2
root@sc-rdops-vm02-dhcp-52-237:~# docker volume create -d vsphere --name TestVolVG1-3
TestVolVG1-3
root@sc-rdops-vm02-dhcp-52-237:~#


[root@w3-stsrm-017:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume        Datastore                VMGroup   Capacity  Used  Filesystem  Policy  Disk Format  Attached-to  Access      Attach-as               Created By              Created Date          
------------  -----------------------  --------  --------  ----  ----------  ------  -----------  -----------  ----------  ----------------------  ----------------------  ----------------------
TestVol22     snap-7a9248ba-ABR_U_360  _DEFAULT  100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persistent  Ubuntu-14.04-Docker1..  Fri Aug 18 21:47:13 ..
TestVolVG1    snap-7a9248ba-ABR_U_360  vmgroup1  100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persistent  Ubuntu-14.04-Docker1..  Fri Aug 18 21:51:40 ..
TestVolVG1-2  snap-7a9248ba-ABR_U_360  vmgroup1  100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persistent  Ubuntu-14.04-Docker1..  Fri Aug 18 21:51:50 ..
TestVolVG1-3  snap-7a9248ba-ABR_U_360  vmgroup1  100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persistent  Ubuntu-14.04-Docker1..  Fri Aug 18 21:51:55 ..
  1. Ran Disaster Recovery from VC
  2. After distaer recovery finished successfulyy, volumes of user vmgroup were listed as N/A
 [root@w3-stsrm-010:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume        Datastore              VMGroup   Capacity  Used  Filesystem  Policy  Disk Format  Attached-to  Access      Attach-as              Created By            Created Date         
------------  ---------------------  --------  --------  ----  ----------  ------  -----------  -----------  ----------  ---------------------  --------------------  ---------------------
TestVol22     snap-0cef40db-ABR_U..  _DEFAULT  100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persist..  Ubuntu-14.04-Docke..  Fri Aug 18 21:47:13..
TestVolVG1    snap-0cef40db-ABR_U..  N/A       100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persist..  Ubuntu-14.04-Docke..  Fri Aug 18 21:51:40..
TestVolVG1-2  snap-0cef40db-ABR_U..  N/A       100MB     15MB  ext4        N/A     thin         detached     read-write  independent_persist..  Ubuntu-14.04-Docke..  Fri Aug 18 21:51:50..
TestVolVG1-3  snap-0cef40db-ABR_U..  N/A       100MB     13MB  ext4        N/A     thin         detached     read-write  independent_persist..  Ubuntu-14.04-Docke..  Fri Aug 18 21:51:55..

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4