NetWorker: NWUI, disk_uuid dizesini ayrıştıramadığı için grupların listesini alamıyor
Summary: NetWorker Web User Interface (NWUI) groups sayfası hiçbir bilgi döndürmüyor. Grup listesini alamadığını belirten bir hata görüntülenir. 'disk_uuid' dizesi ayrıştırılamıyor.
Symptoms
NetWorker veri bölgesini yönetmek için NWUI çözümü kullanılıyor. Gezinme paneli, "Protection>Groups" öğesini seçmek için kullanılır ve ayrıntılar bölmesinde "Failed to get the list of groups. Unable to parse 'disk_uuid' string: '50301dd2-9032-1b04-eca2-c943c61fd55d.'VMware Koruma Grupları, etiketleri kullanarak korunan sanal makineleri (VM'ler) seçmek için kurallarla yapılandırılır ve referans verilen VM'nin bir disk istisnası vardır.
nwui.raw şunları gösterir:
HH:MM:SS [https-jsse-nio-9090-exec-8] ERROR c.e.n.c.n.impl.PolicyApi - Could not fetch the list of groups.
- Linux:
/opt/nwui/logs/nwui.raw - Windows:
C:\Program Files\EMC NetWorker\nwui\logs\nwui.raw - NetWorker: nsr_render_log'u kullanma
localhost_access*.txt dosyası şunları gösterir:
XXX.XXX.XXX.XXX - - [DD/MM/YYYY:HH:MM:SS -0500] "GET /nwrestapi/v3/global/protectiongroups HTTP/1.1" 500 487
- Linux:
/nsr/authc/logs/localhost_access*.txt - Windows:
C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\logs\localhost_access*.txt
NetWorker Sunucu restapi.log şunları gösterir:
YYYY-MM-DD HH:MM:SS INFO [https-jsse-nio-9090-exec-2] c.e.n.w.WebApiRequest - Request method 'GET', URL 'v3/global/protectiongroups
YYYY-MM-DD HH:MM:SS ERROR [https-jsse-nio-9090-exec-2] c.e.n.w.WebApiExceptionMapper - Status 'Internal Server Error', msg: Unable to parse 'disk_uuid' string: '50301dd2-9032-1b04-eca2-c943c61fd55d,'
com.emc.nw.webapi.exception.InternalServerErrorException: Unable to parse 'disk_uuid' string: '50301dd2-9032-1b04-eca2-c943c61fd55d,'
at com.emc.nw.webapi.adapter.VMwareVmDataAdapter.convertJsonToXmlVmWorkItem(VMwareVmDataAdapter.java:639) ~[nwrestapi.jar:na]
at com.emc.nw.webapi.adapter.ProtectionGroupDataAdapter.expandVMwareAllWorkItemSelection(ProtectionGroupDataAdapter.java:137) ~[nwrestapi.jar:na]
at com.emc.nw.webapi.adapter.ProtectionGroupDataAdapter.getItems(ProtectionGroupDataAdapter.java:115) ~[nwrestapi.jar:na]
at com.emc.nw.webapi.common.WebLogic.getItemList(WebLogic.java:173) ~[nwrestapi.jar:na]
at com.emc.nw.webapi.common.WebLogic.getItemList(WebLogic.java:160) ~[nwrestapi.jar:na]
at com.emc.nw.webapi.resource.ProtectionGroups.get(ProtectionGroups.java:101) ~[nwrestapi.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_211]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_211]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_211]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_211]
...
YYYY-MM-DD HH:MM:SS INFO [https-jsse-nio-9090-exec-2] c.e.n.w.WebApiResponse - Response status Method: 'GET', URI:'v3/global/protectiongroups', Status '500'
- Linux:
/nsr/logs/restapi/restapi.log - Windows:
C:\Program Files\EMC NetWorker\nsr\logs\restapi\restapi.log
Cause
{\"moref-id\":\"vm-1024536\",\"uuid\":\"50301dd2-9032-1b04-eca2-c943c61fd55d\",\"type\":\"VMDisk\",\"disks\":[\"\",\"6000C292-524d-1baa-f10b-5e780833a1ed\",\"6000C29c-75b5-ad1f-27d3-602b6d5da260\"]}
Null girdisinin nedeni bilinmemektedir.
Resolution
Boş .vmdk disk girişini NetWorker Kaynak Veritabanından (nsrdb) kaldırmak için NetWorker yönetim programını (nsradmin) kullanın.
- Sunucu Koruması yedekleme işi gerçekleştirin ve önyükleme yedeğinin alındığından emin olun:
mminfo -B
- NetWorker sunucusunda nsrdb dizininin bir kopyasını oluşturun.
- Linux:
/nsr/res/nsrdb - Windows:
C:\Program Files\EMC NetWorker\nsr\res\nsrdb
3. Bir komut satırından veya Linux kabuğundan nsradmin komut satırı yardımcı programını açın ve şu komutu girerek görsel moda erişin: visual. Bu, NetWorker kaynaklarında gezinip bunları değiştirebileceğiniz etkileşimli bir komut satırı yardımcı programı yükler:
nsradmin > visual mode > NSR Protection Group > Select the "NSR Protection Group" > Edit > delete the NULL Disk entry in the "vproxy group exclude items" > save > Exit
Önce:
{\"moref-id\":\"vm-1024536\",\"uuid\":\"50301dd2-9032-1b04-eca2-c943c61fd55d\",\"type\":\"VMDisk\",\"disks\":[\"\",\"6000C292-524d-1baa-f10b-5e780833a1ed\",\"6000C29c-75b5-ad1f-27d3-602b6d5da260\"]}
Sonra:
{\"moref-id\":\"vm-1024536\",\"uuid\":\"50301dd2-9032-1b04-eca2-c943c61fd55d\",\"type\":\"VMDisk\",\"disks\":[\"6000C292-524d-1baa-f10b-5e780833a1ed\",\"6000C29c-75b5-ad1f-27d3-602b6d5da260\"]}
Herhangi bir sorun gözlemlenirse değişiklikler uygulanmadan önce oluşturulan nsrdb kopyasına geri dönebilirsiniz.