Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all 2039 articles
Browse latest View live

VDDK 6.7 doesn't work on RHEL 7 or SLE 12

$
0
0

Hey,

 

It seems like the VDDK 6.7 releases were built wrong. When trying to use it with openSUSE Leap 42.3 (SLE 12 SP3) and CentOS 7 (RHEL 7), I get errors using the code due to missing libraries.

 

I ran "ldd" on some of the provided libraries, and I noticed that "libvixDiskLib.so.6.7.0" (among others) links to a lot more libraries than older versions did, including OpenSSL 1.1, which is not available on these distributions.

 

It seems like VDDK 6.7 needs to be rebuilt on Leap 42.3/SLE 12SP3 or CentOS/RHEL 7 so that it'll work properly.


Mount vstor2-mntapi20-shared volume to Windows folder

$
0
0

Hello,

 

using some examples provided by vmware, i'm able to mount a remote vmdk disk to Windows Drive Letter but i can't find a way to mount it to a Windows folder..

 

Tried with:

- SetVolumeMountPoint

     Where can i find the GUID of vstor2-mntapi20-shared symLink device?

- DefineDosDevice

     No success mounting to a folder

 

static void DoMntApi(VixDiskLibConnection connection, const char* disk, uint32 openFlags)
{   printf("\nCalling VixMntapi_OpenDisks...\n");   const char* diskNames[1];   diskNames[0] = static_cast<const char*>(disk);   VixDiskSetHandle diskSetHandle = NULL;   VixError err = VixMntapi_OpenDisks(connection,         diskNames,         1,         VIXDISKLIB_FLAG_OPEN_READ_ONLY,         &diskSetHandle);   if (VIX_FAILED(err)) {      throw VixDiskLibErrWrapper(err, __FILE__, __LINE__);   }   DiskSetHdl dsh(diskSetHandle, VixMntapi_CloseDiskSet);   printf("\nCalling VixMntapi_GetDiskSetInfo...\n");   VixDiskSetInfo *diskSetInfo = NULL;   err  = VixMntapi_GetDiskSetInfo(diskSetHandle, &diskSetInfo);   if (VIX_FAILED(err)) {      throw VixDiskLibErrWrapper(err, __FILE__, __LINE__);   }   DiskSetInfo dsi(diskSetInfo, VixMntapi_FreeDiskSetInfo);   printf("DiskSet Info - flags %u (passed - %u), mountPoint %s.\n",         diskSetInfo->openFlags, openFlags,         diskSetInfo->mountPath);   printf("\nCalling VixMntapi_GetVolumeHandles...\n");   VixVolumeHandle *volumeHandles = NULL;   size_t numVolumes = 0;   err = VixMntapi_GetVolumeHandles(diskSetHandle,         &numVolumes,         &volumeHandles);   if (VIX_FAILED(err)) {      throw VixDiskLibErrWrapper(err, __FILE__, __LINE__);   }   VolumeHdls vh(volumeHandles, VixMntapi_FreeVolumeHandles);   printf("Num Volumes %zd\n", numVolumes);   printf("\nEnter the volume number from which to start the mounting: ");   int j = 0;   scanf("%d", &j);   vector<shared_ptr<VolumeHdl> > vhset;   vector<shared_ptr<VolumeInfo> > viset;   for (int i = j-1; i < numVolumes; ++i) {      printf("\nCalling VixMntapi_MountVolume on volume %d\n", i+1);      err = VixMntapi_MountVolume(volumeHandles[i], TRUE);      if (VIX_FAILED(err)) {         VixDiskLibErrWrapper errWrap(err, __FILE__, __LINE__);         cout << endl << "Error: " << errWrap.Description() << endl;         continue;      }      VolumeHdl*a = new VolumeHdl(volumeHandles[i], VixMntapi_DismountVolume_True);      vhset.push_back(shared_ptr<VolumeHdl>(a));      printf("\nCalling VixMntapi_GetVolumeInfo on volume %d\n", i+1);      VixVolumeInfo* volInfo = NULL;      err = VixMntapi_GetVolumeInfo(volumeHandles[i], &volInfo);      if (VIX_FAILED(err)) {         VixDiskLibErrWrapper errWrap(err, __FILE__, __LINE__);         cout << endl << "Error: " << errWrap.Description() << endl;         continue;      }      viset.push_back(shared_ptr<VolumeInfo>(new VolumeInfo(volInfo, VixMntapi_FreeVolumeInfo)));      printf("\nMounted Volume %d, Type %d, isMounted %d, symLink %s, numGuestMountPoints %zd (%s)\n\n",            i+1, volInfo->type, volInfo->isMounted,            volInfo->symbolicLink == NULL ? "<null>" : volInfo->symbolicLink,            volInfo->numGuestMountPoints,            (volInfo->numGuestMountPoints == 1) ? (volInfo->inGuestMountPoints[0]) : "<null>");      /*      *----------------------------------------------------------------------      *      * Mount Device to system unit      *      *----------------------------------------------------------------------      */      std::wstringstream ansiSS;      ansiSS << volInfo->symbolicLink;      std::wstring sVolumeName = ansiSS.str();      sVolumeName = sVolumeName.substr(3);      sVolumeName.erase(sVolumeName.length() - 1);      sVolumeName = L"\\Device" + sVolumeName;      cout << endl << endl << "Defining MS-DOS device name \"U:\" for volume " << volInfo->symbolicLink << endl;      cout << "=====================================================================================" << endl;

/*
*
*
* MOUNT TO A FOLDER INSTEAD OF U: LETTER
*
*
*/

      if (DefineDosDeviceW(DDD_RAW_TARGET_PATH, L"U:", sVolumeName.c_str())) {          HANDLE hDevice;          std::wstring wsVolume = L"\\\\.\\U:";          hDevice = CreateFileW(wsVolume.c_str(),              GENERIC_READ,              0, //FILE_SHARE_READ | FILE_SHARE_WRITE              NULL,              OPEN_EXISTING,              FILE_ATTRIBUTE_NORMAL,              NULL);          if (hDevice == INVALID_HANDLE_VALUE) {              printf("Error opening volume, err = %d\n", GetLastError());          }          else {              WIN32_FIND_DATAW fdFile;              std::wstring wsPath = L"U:\\*.*";              HANDLE hFind = FindFirstFileW(wsPath.c_str(), &fdFile);              std::string MountPoint = (volInfo->numGuestMountPoints == 1) ? (volInfo->inGuestMountPoints[0]) : "<null>";              cout << "=====================================================================================" << endl;              cout << "=== Dumping contents of target VM's (" << MountPoint << ") drive (Mounted at U: drive on proxy) ===" << endl;              cout << "=====================================================================================" << endl;              while (hFind != INVALID_HANDLE_VALUE) {                  if (hFind != INVALID_HANDLE_VALUE) {                      printf("Successfully read Object = '%S'\n", fdFile.cFileName);                  }                  else {                      printf("Failed to read Object. Volume/NTFS filesystem is corrupt (%d)\n", GetLastError());                  }                  if (!FindNextFileW(hFind, &fdFile)) {                      FindClose(hFind);                      hFind = INVALID_HANDLE_VALUE;                  }              }              ::MessageBoxW(NULL, L"Volume mounted under U: drive, press OK to unmount", L"Info", NULL);              DefineDosDeviceW(DDD_RAW_TARGET_PATH |                  DDD_REMOVE_DEFINITION |                  DDD_EXACT_MATCH_ON_REMOVE, L"U:", sVolumeName.c_str());          }      }   }
}

 

Is there a way to mount the vstor2 device to a folder?

 

Thanks,

VDDK 6.7.1 : Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_DISKGEO

$
0
0

I am using cgo wrappers in golang to make calls to vddk. The disk open call seems to be occasionally failing with the error :

Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_DISKGEO

 

If I retry the call after waiting for some time, it generally succeeds. Sometimes, I see that it does not succeed even after 3 retries.

Any idea what could be going wrong ? I am using the latest version of VDDK ( 6.7.1 - build 0362358 )

 

Logs :

2018-11-21T22:51:53.087617+00:00 I vddk.go:145] VixDiskLibVim: Extract datastore from VMX path [MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk.

2018-11-21T22:51:53.088006+00:00 I vddk.go:145] VixDiskLibVim: Skip leading character(s).

2018-11-21T22:51:53.088607+00:00 I vddk.go:145] VixDiskLibVim: Retrieved datastore from VMX path.

2018-11-21T22:51:53.089029+00:00 I vddk.go:145] VixDiskLibVim: Disk found.

2018-11-21T22:51:53.089612+00:00 I vddk.go:145] VixDiskLibVim: Get device key operation is done.

2018-11-21T22:51:53.090061+00:00 I vddk.go:145] VixDiskLibVim: Start loading internal service content object.

2018-11-21T22:51:53.090598+00:00 I vddk.go:145] VixDiskLibVim: Loading internal service content is done.

2018-11-21T22:51:53.091038+00:00 I vddk.go:145] VixDiskLibVim: Callback for loading VM object completes.

2018-11-21T22:51:53.126330+00:00 I vddk.go:145] VixDiskLibVim: Load the internal service instance and retrieve NFC service.

2018-11-21T22:51:53.126736+00:00 I vddk.go:145] VixDiskLibVim: Successfully retrieved internal service instance.

2018-11-21T22:51:53.127043+00:00 I vddk.go:145] VixDiskLibVim: Issue an NFC ticket request for VM and DiskKey: 2000.

2018-11-21T22:51:53.127384+00:00 I vddk.go:145] VixDiskLibVim: Request RandomAccessRO diskKey = 2000, readOnly = 1, openSnapshot = 0.

2018-11-21T22:51:53.127780+00:00 I vddk.go:145] VixDiskLibVim: Load internal service instance callback is done.

2018-11-21T22:51:53.176855+00:00 I vddk.go:145] VixDiskLibVim: Callback for opening disk: [MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk using NFC.

2018-11-21T22:51:53.177576+00:00 I vddk.go:145] VixDiskLibVim: Attempt to copy NFC ticket data.

2018-11-21T22:51:53.179072+00:00 I vddk.go:145] VixDiskLibVim: Ticket data copied successfully.

2018-11-21T22:51:53.179713+00:00 I vddk.go:145] VixDiskLibVim: Logout ticket queue.

2018-11-21T22:51:53.180170+00:00 I vddk.go:145] VixDiskLibVim: Opening disk using NFC callback is done.

2018-11-21T22:51:53.180870+00:00 I vddk.go:145] VixDiskLibVim: Logout from server.

2018-11-21T22:51:53.181532+00:00 I vddk.go:145] VixDiskLibVim: Clean up callback data.

2018-11-21T22:51:53.183308+00:00 I vddk.go:145] VixDiskLibVim: Logout from server is done.

2018-11-21T22:51:53.222957+00:00 I vddk.go:145] VixDiskLibVim: Clean up after logging out from server.

2018-11-21T22:51:53.223326+00:00 I vddk.go:145] VixDiskLibVim: Logout callback is done.

2018-11-21T22:51:53.223796+00:00 I vddk.go:145] VixDiskLibVim: Clean up callback data.

2018-11-21T22:51:53.224072+00:00 I vddk.go:145] VixDiskLibVim: VixDiskLibVimFreeInternalVCAboutInfo: Free Internal VC AboutInfo.

2018-11-21T22:51:53.224329+00:00 I vddk.go:145] VixDiskLibVim: Get NFC ticket completed.

2018-11-21T22:51:53.224647+00:00 I vddk.go:145] VixDiskLib: Check if xodus-qa-01.eng.mycompany.com is in memory database.

2018-11-21T22:51:53.224844+00:00 I vddk.go:145] VixDiskLib: Thumbprint for xodus-qa-01.eng.mycompany.com not found in memory database.

2018-11-21T22:51:53.225060+00:00 I vddk.go:145] VixDiskLib: Load thumbprint.

2018-11-21T22:51:53.225489+00:00 I vddk.go:145] VixDiskLib: Open sslIdDb.

2018-11-21T22:51:53.225690+00:00 I vddk.go:145] VixDiskLib: Add thumbprint.

2018-11-21T22:51:53.225881+00:00 I vddk.go:145] VixDiskLib: Added thumbprint 77:8E:98:BA:94:26:31:A9:C5:DF:AA:BC:F7:A3:08:FD:14:2D:2A:C2 to sslIdDb for xodus-qa-01.eng.mycompany.com.

2018-11-21T22:51:53.226098+00:00 I vddk.go:145] VixDiskLib: Close sslIdDb.

2018-11-21T22:51:53.226511+00:00 I vddk.go:145] VixDiskLib: Release sslIdDb.

2018-11-21T22:51:53.226727+00:00 I vddk.go:145] VixDiskLib: Push crypto key to host: xodus-qa-01.eng.mycompany.com.

2018-11-21T22:51:53.227114+00:00 I vddk.go:145] VixDiskLibVim: VixDiskLibVim_HandleDiskCryptoKey: handle the key of disk [MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk.

2018-11-21T22:51:53.227567+00:00 I vddk.go:145] VixDiskLibVim: VixDiskLibVim_HandleDiskCryptoKey: no need to handle crypto key for VMX spec.

2018-11-21T22:51:53.227814+00:00 I vddk.go:145] VixDiskLib: Get full path to: [MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk.

2018-11-21T22:51:53.228199+00:00 I vddk.go:145] VixDiskLib: Release NFC ticket.

2018-11-21T22:51:53.228637+00:00 I vddk.go:145] VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

2018-11-21T22:51:53.228913+00:00 I vddk.go:145] VixDiskLibVim: VixDiskLibVim_FreeFileName: Free file name.

2018-11-21T22:51:53.229138+00:00 I vddk.go:145] VixDiskLib: Open disk: FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63.

2018-11-21T22:51:53.229506+00:00 I vddk.go:145] NBD_ClientOpen: attempting to create connection to FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63

2018-11-21T22:51:53.229708+00:00 I vddk.go:145] [NFC DEBUG] Using proxy/session authentication, sessionId=52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63, useSSL=0

2018-11-21T22:51:53.229972+00:00 I vddk.go:145] [NFC INFO] Plain-text connection is deprecated; use SSL to connect to NFC server

2018-11-21T22:51:53.252760+00:00 I server.go:90] [VM=myname-win10-2] Task task-7 in task set source-agent pending

2018-11-21T22:51:53.354338+00:00 I vddk.go:145] [NFC DEBUG] NfcNewAuthdConnectionEx: Setting TCP timeouts: keepIdle 60 keepIntvl 6 keepCnt 8

2018-11-21T22:51:53.358150+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Free io buffer length = 1048576

2018-11-21T22:51:53.359665+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Reading with compression 2 at offset 7940866048,  for length 1048576 with flags 0x0 filetype NFC_DISK

2018-11-21T22:51:53.359999+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Allocated decompression buffer length = 1048576

2018-11-21T22:51:53.448950+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Free io buffer length = 1048576

2018-11-21T22:51:53.449201+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Reading with compression 2 at offset 7840202752,  for length 1048576 with flags 0x0 filetype NFC_DISK

2018-11-21T22:51:53.449623+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Allocated decompression buffer length = 1048576

...

2018-11-21T22:51:53.464156+00:00 I vddk.go:145] NFC Sync IO session is established.

2018-11-21T22:51:53.464667+00:00 I vddk.go:145] Opening file [MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk (FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63)

2018-11-21T22:51:53.464936+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvrClientOpen: Opening disk '[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk' flags 32782

2018-11-21T22:51:54.464039+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Free io buffer length = 1048576

...

2018-11-21T22:51:54.993563+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Reading with compression 2 at offset 7907311616,  for length 1048576 with flags 0x0 filetype NFC_DISK

2018-11-21T22:51:54.993763+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvr_IOEx: Allocated decompression buffer length = 1048576

2018-11-21T22:51:55.115839+00:00 W vddk.go:150] [NFC ERROR] NfcFssrvrProcessErrorMsg: received NFC error 13 from server: NfcFssrvrOpen: Failed to open '[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk'

2018-11-21T22:51:55.116727+00:00 I vddk.go:145] [NFC DEBUG] NfcFssrvrClientOpen: Opening disk '[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk' flags 32782

2018-11-21T22:51:55.117149+00:00 W vddk.go:150] [NFC ERROR] NfcFssrvrClientOpen: Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_DISKGEO

2018-11-21T22:51:55.117548+00:00 I vddk.go:145] DISKLIB-DSCPTR: : "FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63" : Failed to open NBD extent.

2018-11-21T22:51:55.117806+00:00 I vddk.go:145] DISKLIB-LINK  : "FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63" : failed to open (NBD_ERR_GENERIC).

2018-11-21T22:51:55.118143+00:00 I vddk.go:145] DISKLIB-CHAIN : "FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63" : failed to open (NBD_ERR_GENERIC).

2018-11-21T22:51:55.118639+00:00 I vddk.go:145] DISKLIB-LIB   : Failed to open 'FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63' with flags 0x800e NBD_ERR_GENERIC (290).

2018-11-21T22:51:55.118971+00:00 I vddk.go:145] VixDiskLib: Detected DiskLib error 290 (NBD_ERR_GENERIC).

2018-11-21T22:51:55.119372+00:00 I vddk.go:145] VixDiskLib: Failed to open disk FASTLZ-vpxa-nfc://[MYCP-JAGUAR-DS-1] myname-centos-64-1/myname-centos-64-1-000172.vmdk@xodus-qa-01.eng.mycompany.com:902!52 58 19 63 63 d6 88 92-31 4d 90 29 9f aa ec 63. Error 1 (Unknown error) (DiskLib error 290: NBD_ERR_GENERIC) at 5209.

The vix-disklib-sample command of VDDK 6.7.1 does not work on remote host

$
0
0

"Error: [vixDiskLibSample.cpp: 1576] 3 One of the parameters was invalid" error occurred while executing the following command.

 

 

root@localhost.localdomain:~# ls -l VMware-vix-disklib-6.7.1-10362358.x86_64.tar.gz
-rwx------ 1 root root 20593857 Nov 29 15:44 VMware-vix-disklib-6.7.1-10362358.x86_64.tar.gz
root@localhost.localdomain:~/vmware-vix-disklib-distrib# cd doc/samples/diskLib/
root@localhost.localdomain:~/vmware-vix-disklib-distrib/doc/samples/diskLib# ls -ltr
total 92
-r--r--r-- 1 root root 90014 Oct  8 11:19 vixDiskLibSample.cpp
-r--r--r-- 1 root root   835 Oct  8 11:19 Makefile
root@localhost.localdomain:~/vmware-vix-disklib-distrib/doc/samples/diskLib# make
g++ -std=c++11 -lpthread -o vix-disklib-sample -I../../../include -L../../../lib64 vixDiskLibSample.cpp -ldl -lz -lsqlite3 -lcurl -lssl -lcrypto -lvixDiskLib
g++ -std=c++11 -lpthread -o vix-mntapi-sample -DFOR_MNTAPI -I../../../include -L../../../lib64 vixDiskLibSample.cpp -ldl -lz -lsqlite3 -lcurl -lssl -lcrypto -lvixDiskLib -lvixMntapi
root@localhost.localdomain:~/vmware-vix-disklib-distrib/doc/samples/diskLib# ./vix-disklib-sample -info -host 192.168.100.10 -user root -password secret "[datastore1] vm01/vm01.vmdk"
Error: [vixDiskLibSample.cpp:1576]  3 One of the parameters was invalid
root@localhost.localdomain:~/vmware-vix-disklib-distrib/doc/samples/diskLib# g++ -dumpversion
4.8.5
root@localhost.localdomain:~/vmware-vix-disklib-distrib/doc/samples/diskLib# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)


192.168.100.10 is the host of ESXi.
ESXi version is 6.5.0, 5969303.

I was able to create vddk and obtain information locally.

  1. ./vix-disklib-sample -create sample.vmdk
  2. ./vix-disklib-sample -info sample.vmdk

 

 

But it will fail for remote host.
Is there anyone who knows what is causing the problem ?

 

Thanks.

 

メッセージ編集者: Takayuki Yoshinaka tweak

deploy_ovf.py throws print "Cannot POST to non-disk filesCannot POST to non-disk files" when launched

$
0
0

Hi,

 

I am trying to deploy a vm using deploy_ovf.py and this script throws the following print on the console. The vm is created and launched successfully, however i am not sure if the print is a error/warning or something that should be worried about. Also i have kept other logs in the script, but looks like the print comes as and when _main is triggered. Any input here would be of great help.

 

The script is similar to the one in the following link, with slight modifications to add extra parameters.

 

https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/deploy_ovf.py 

VixMntapi Support for GPT partitions.

$
0
0

Hi,

I am trying to get the transport mode(SAN, HOTADD, NDB, etc) for each disk in the VM. Before I do so, I need to check if I can eliminate any of the transport modes before opening the disk. I was able to crack the logic to confirm that the mode for HOTADD by checking if it is a Virtual Machine and by checking if the disk is SCSI, but I am not able to crack the same for SAN. So I figured if I can get if the datastore is ISCSI/physical datastore, I can find a way to confirm that the mode is SAN mode.
I need to know if there is a way that we can find out the datastore is ISCSI(Physical Datastore).
I have searched all over but couldn't find a trace.

Any help will be much appreciated.

Thanks,
Manish Shenoy B

Error Creating Virtual Machine

$
0
0

I am not sure if this is the correct forum to ask my question, so if not please advise how I can get help.

 

I am installing VMware-Player version 14 (also tried version 15) and I am using the free version since this is only for personal use.

 

I am installing the app on Win 10 64 bit PC with more than enough free space.  I double clicked on the app and it seems to install okay but then when I try to open it I get an error message, see below.I would appreciate any help or detailed installtion instructions.

 

Thank you!

VM Ware Error.png

Is there any fees to pay to use the VDDK in commercial software ?

$
0
0

Hi,

 

While searching for more information I found  the Technology Alliance Partner (TAP) Program  page on VMWARE website.

 

This is unclear to me. Please explain whether there is any compulsory fees to pay in order to use the VDDK API  for developing COMMERCIAL or FREE Backup and Replication Software for VMWARE vSphere ESXi.

 

Thanks.


vddk,thubprint error

$
0
0

vddk VixDiskLib_ConnectEx() 

Log: VixDiskLibVim: Failed to verify SSL certificate: actual thumbprint=9B:B4:77:0A:15:DA:4B:18:CC:E2:A5:B0:00:D7:A3:B8:91:50:96:0D expected=F7:C3:0F:E9:19:0B:9D:9C:CD:07:D8:03:DF:BD:74:46:9A:CC:7C:F4

vsphere api get vm.runtime.host.config.certificate

then ;

Execut openssl x509 get F7:C3:0F:E9:19:0B:9D:9C:CD:07:D8:03:DF:BD:74:46:9A:CC:7C:F4 

who can help me?

Does the disk has must be disconnected with VixDiskLib_Close ?

$
0
0

For example, you can not disconnect a disk if you colud not communicate with esxi. 

Does something wrong happen if I did not close a disk ? Will esxi destroy a disk's session later ?

There is no more space for virtual disk?

$
0
0

Hello how are you, good morning, I annoy you again because I have a serious problem, is that my discs are left without spaces to see the message of the attached image, thank you very much for your help is very urgent?

Captura.PNGWhat I can do? Thank you

VixDiskLib_OpenEx fails with CnxAuthdProtoReadResponse2 failed error

$
0
0

Hi,

We are seeing error with VixDiskLib_OpenEx failing with connection reset errors against a ESXi 6.7 using VDDK 6.7 EP1.

Following are the series of the VixDiskLib logs around the failures:

 

VixDiskLib: Detected DiskLib error 2338 (NBD_ERR_NETWORK_CONNECT).

VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk. Error 14009 (The server refused connection) (DiskLib error 2338: NBD_ERR_NETWORK_CONNECT) at 5439.

DISKLIB-LIB   : Failed to open 'vpxa-nfc://[vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk@myesx.nwie.net:902' with flags 0xe NBD_ERR_NETWORK_CONNECT (2338).

DISKLIB-CHAIN : "vpxa-nfc://[vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk@myesx.nwie.net:902" : failed to open (NBD_ERR_NETWORK_CONNECT).

DISKLIB-LINK  : "vpxa-nfc://[vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk@myesx.nwie.net:902" : failed to open (NBD_ERR_NETWORK_CONNECT).

DISKLIB-DSCPTR: : "vpxa-nfc://[vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk@myesx.nwie.net:902" : Failed to open NBD extent.

NBD_ClientOpen: Couldn't connect to myesx.nwie.net:902 Connection terminated by server, ret -1 err 10054

[NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer. Error: Connection terminated by server, ret -1 err 10054

VixDiskLibVim: VixDiskLibVim_HandleDiskCryptoKey: handle the key of disk [vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk.

VixDiskLib: Failed to open disk vpxa-nfc://[vvol-nvc1-myesx] rfc4122.cc569d0f-e036-4167-a1a5-c5392bba42b5/wjtp000055_1.vmdk@myesx.nwie.net:902!52 d8 f8 cc 1f 80 c8 97-b8 f0 e4 0c 61 e0 ac 36. Error 14009 (The server refused connection) (DiskLib error 2338: NBD_ERR_NETWORK_CONNECT) at 5214.

Cnx_Connect: Error message: Connection terminated by server, ret -1 err 10054

Cnx_Connect: Returning false because CnxConnectAuthd failed

CnxAuthdConnect: Returning false because CnxAuthdProtoReadResponse2 failed

CnxConnectAuthd: Returning false because CnxAuthdConnect failed

 

Looking for a resolution to the above failure. Any help is appreciated.

 

Thanks in advance,

Keerthy

Can't open disk with advanced transport mode(SAN)!

$
0
0

Hi, i'am developing backup software, It works correctly whith ndb transpot mode, But when i used san transport mode, it back to ndb, and had some log below:

 

I set vmxSpec whith "VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup".

 

SDK Version is VDDK5.5

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

OBJLIB-LIB: Objlib initialized.

VixDiskLib: Attempting to locate advanced transport module in "C:\Program Files\XXXXXX\agents\VMwareAgentDir\VDDK".

VixDiskLib: Advanced transport plugin C:\Program Files\THEVRTS\agents\VMwareAgentDir\VDDK\bin\disklibplugin.dll was successfully loaded into vixDiskLib.

VixDiskLib: Enabling advanced transport modes.

OBJLIB-LIB: Objlib initialized.

2019-12-20T21:28:44.734+08:00 info -[06828] [Originator@6876 sub=ThreadPool] Thread enlisted

 

 

VixDiskLib: Initialize transport modes.

2019-12-20T21:28:44.734+08:00 info -[06828] [Originator@6876 sub=ThreadPool] Entering worker thread loop

 

 

2019-12-20T21:28:44.734+08:00 info -[00964] [Originator@6876 sub=ThreadPool] Thread enlisted

 

 

DictionaryLoad: Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

2019-12-20T21:28:44.734+08:00 info -[00964] [Originator@6876 sub=ThreadPool] Entering worker thread loop

 

 

[msg.dictionary.load.openFailed] Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

2019-12-20T21:28:44.734+08:00 info -[09104] [Originator@6876 sub=ThreadPool] Thread enlisted

 

 

FeatureStateLib: Error while loading feature config file: %SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg, using default feature state values.

2019-12-20T21:28:44.734+08:00 info -[09104] [Originator@6876 sub=ThreadPool] Entering IO thread loop

 

 

2019-12-20T21:28:44.734+08:00 info -[10036] [Originator@6876 sub=ThreadPool] Thread enlisted

 

 

2019-12-20T21:28:44.734+08:00 info -[10036] [Originator@6876 sub=ThreadPool] Entering worker thread loop

 

 

2019-12-20T21:28:44.734+08:00 info -[09812] [Originator@6876 sub=ThreadPool] Thread enlisted

 

 

2019-12-20T21:28:44.734+08:00 info -[09812] [Originator@6876 sub=ThreadPool] Entering fair thread loop

 

 

2019-12-20T21:28:44.734+08:00 info -[07648] [Originator@6876 sub=ThreadPool] Thread enlisted

 

 

2019-12-20T21:28:44.734+08:00 info -[07648] [Originator@6876 sub=ThreadPool] Entering IO thread loop

 

 

VixDiskLib: Available transport modes: file:san:hotadd:nbdssl:nbd.

VMware VixDiskLib (6.5) Release build-4604867

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini. Using default values.

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 ac 1f 6b 36 ac 5a'.

FILE: FileLockDynaLink: Further process validation tools are: available

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini. Using default values.

lib/ssl: OpenSSL using FIPS_drbg for RAND

lib/ssl: protocol list tls1.2

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

PREF early PreferenceGet(poll.forceSelect), using default

POLL Using the WSAPoll API Implementation for PollDefault

VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

VixDiskLib: VixDiskLib_ConnectEx: Establish connection using file:san:hotadd:nbdssl:nbd.

VixDiskLib: VixDiskLib_Connect: Establish connection.

VixDiskLib: Resolve host.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini. Using default values.

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 ac 1f 6b 36 ac 5a'.

FILE: FileLockDynaLink: Further process validation tools are: available

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini. Using default values.

lib/ssl: OpenSSL using FIPS_drbg for RAND

lib/ssl: protocol list tls1.2

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

2019-12-20T21:28:44.984+08:00 error -[00604] [Originator@6876 sub=Default] Cannot use advanced transport modes

for 192.168.1.118/VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup/snapshot-2084:

Invalid search specifier: VRTS-LINUX/VRTS-LINUX.vmx?dcPath:THXH-Datacenter&dsName=Backup.

 

 

VixDiskLib: VixDiskLib_ConnectEx: Advanced transport modes not available for opening VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup. (Cannot use advanced transport modes for 192.168.1.118/VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup/snapshot-2084: Invalid search specifier: VRTS-LINUX/VRTS-LINUX.vmx?dcPath:THXH-Datacenter&dsName=Backup.)

 

VixDiskLib: VixDiskLib_OpenEx: Open a disk.

VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini. Using default values.

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 ac 1f 6b 36 ac 5a'.

FILE: FileLockDynaLink: Further process validation tools are: available

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini. Using default values.

lib/ssl: OpenSSL using FIPS_drbg for RAND

lib/ssl: protocol list tls1.2

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

VixDiskLibVim: Request RandomAccessRO diskKey = 2000, readOnly = 1, openSnapshot = 0.

VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

NBD_ClientOpen: attempting to create connection to vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902

Started up WSA

CnxOpenTCPSocket: Couldn't set early TCP timeout connecting to server 192.168.1.98:902: 19

DictionaryLoad: Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

[msg.dictionary.load.openFailed] Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

FeatureStateLib: Error while loading feature config file: %SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg, using default feature state values.

Opening file [Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk (vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902)

DISKLIB-LINK  : Opened 'vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902' (0x1e): custom, 146800640 sectors / 70 GB.

DISKLIB-LIB   : Opened "vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902" (flags 0x1e, type custom).

 

 

Is the vmsSpec's syntax correct,  The sdk document describe that preferred syntax for vmxSpec is "moRef=<moref-of-vm>", How can i retrieve the moref.

VixDiskLib_Read function blocked for more than 2 minutes!

$
0
0

I open the disk on advanced transport mode  , but  get blocked frequently for more than 2 minutes while reading the disk.  2048 sectors per read, there are not any error logs;

 

 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

VixDiskLibVim: Request RandomAccessRO diskKey = 2000, readOnly = 1, openSnapshot = 0.

VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows\TEMP): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows\TEMP\vmware-SYSTEM): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Windows\TEMP\vmware-SYSTEM\420b2ee9-05a3-b3cf-8116-66912443d783-vm-469): Cannot create a file when that file already exists (183)

VMWARE SCSI Id: Supported VPD pages for  :

0x0

0x80

0x83

0x8f

0xb0

0xb1

0xb2

0xd0

VMWARE SCSI Id: Device id info for :

0x1

0x3

0x0

0x10

0x60

0xd

0x2

0x31

0x0

0x3

0x25

0xda

0x29

0x7

0x88

0x3f

0x79

0xb2

0x89

0xb9

0x1

0x14

0x0

0x4

0x0

0x0

0x0

0xf

0x1

0x15

0x0

0x4

0x0

0x0

0x0

0x1

VMWARE SCSI Id: Id for 

0x60 0x0d 0x02 0x31 0x00 0x03 0x25 0xda 0x29 0x07 0x88 0x3f 0x79 0xb2 0x89 0xb9 0x54 0x48 0x45 0x5f 0x55 0x53

VMWARE SCSI Id: Supported VPD pages for  :

0x0

0x80

0x83

0x87

0x89

0xb0

0xb1

0xb2

0x8a

VMWARE SCSI Id: Device id info for :

0x1

0x3

0x0

0x8

0x50

0x0

0xcc

0xa0

0x97

0xc3

0xc5

0xa3

0x61

0x93

0x0

0x8

0x50

0x3

0x4

0x80

0x1f

0x19

0x73

0x40

0x1

0x14

0x0

0x4

0x0

0x0

0x0

0x0

VMWARE SCSI Id: Id for 

0x50 0x00 0xcc 0xa0 0x97 0xc3 0xc5 0xa3 0x48 0x47 0x53 0x54 0x20 0x48

DISKLIB-LINK  : Opened 'san://snapshot-2117[Backup] VRTS-LINUX/VRTS-LINUX_1-000002.vmdk@192.168.1.118:443?administrator@vsphere.local/XXX' (0x1e): plugin, 146800640 sectors / 70 GB.

DISKLIB-LIB   : Opened "san://snapshot-2117[Backup] VRTS-LINUX/VRTS-LINUX_1-000002.vmdk@192.168.1.118:443?administrator@vsphere.local/XXX" (flags 0x1e, type plugin).

VixDiskLib: VixDiskLib_GetInfo: Retrieve disk info.

VixDiskLib: VixDiskLib_FreeInfo: Clean up VixDiskLib.

VixDiskLib: VixDiskLib_GetTransportMode: Retrieve transport mode.

Virtual Disk Development Kit - Support on RHEL 8

$
0
0

Hello,

we are looking for the support of the Virtual Disk Development Kit on RHEL8. The last release notes for Virtual Disk Development Kit 6.7 update 3 doesn't list RHEL8 yet.

Does any one know when it is plan to be supported?

Thank you,
Ludovic


VixDiskLib_Open fails in VDDK 7.0 using a vmPath in the vmxSpec

$
0
0

With VDDK 6.7.3 I could successfully call VixDiskLib_Open using a vmPath in the vmxSpec. In 7.0 I get the following errors:

VixDiskLib: VixDiskLib_OpenEx: Open a disk.

VixDiskLib: VixDiskLib_OpenEx: Failed to start session. Invalid search specifier: vmPath:/Shavlik/vm/ESXI6.7-QA-W2K16X64-1 at 5736.

VixDiskLib: VixDiskLib_Open: Cannot open disk [ESXi6.7] ESXI6.7-W2K16X64-1/ESXI6.7-W2K16X64-1-000002.vmdk. Error 1 (Unknown error) at 5813.

If I use a moref in the vmxSpec in 7.0, VixDiskLib_Open succeeds.

Was the ability to specify a vmPath in the vmxSpec deliberately removed in 7.0 or is this a bug that will be fixed?

VMWARE NODES DISK DRIVES

$
0
0

VMWare forum Experts,

 

Perhaps this question might be very easy cakewalk for you.

Myself have created on VMWARE Nodes  DC (Domain Controller), Node1, Node2, Node3 where they are SHUTDOWN when not in use.

Myself have created some local Disk Drives on all User Nodes (DC is not required) where can be stored the SQL Files such as MDF, LDF, NDF & .BAK etc.

Every time, on REOPENING  VMWare DC and other dependant & Inter-dependant Nodes these Disk Management oriented Local Disk Drives needs to be INVOKED (Clicking on each .vmdk extension file stored on C Drive) such that they are ONLINE & AVAILABLE till the session. But C Drive which was by default created is UP & Running everytime VMWARE STARTED.

Instead of opening these LOCAL DISK DRIVES (Other than C Drive) every time, is there any possibility of coming ONLINE whenever VMWARE is started?

My Environment is Development Server and can be SHUTDOWN when not in use unlike the Production / Maintenance Servers.

Version of OpenSSL Included with VDDK FIPS validated?

$
0
0

We use this SDK in several of our products and we'd like to be able to claim that the features of the products that use the SDK are FIPS 140 compliant.  Can someone tell me if the version of OpenSSL included in the VDDK is FIPS validated or not?  If so, is the certificate #2839?

 

If not, is it possible to use our own FIPS validated version of OpenSSL in place of the SDK provided one?

 

Thanks!

usage for libgvmomi and libvim-types in virtual disk development kit

$
0
0

Hi,

My objective is to find out if there is any documentation available to use QueryChangedDiskAreas() method by using vixdisk SDK.

I understand its easier to use PYVMOMI SDK supported by vmware.

Does this API QueryChangedDiskAreas() actually supported  within virtual disk development kit or vixdisk SDK ?

I dont see any header files or documentation included for this API within the SDK.

Viewing all 2039 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>