From 7b72cac532c89edd1d99bb19835401c03b1748d1 Mon Sep 17 00:00:00 2001 From: Darrin Husselmann Date: Thu, 15 Apr 2021 10:10:29 +0200 Subject: [PATCH 1/2] Added workaround for vm name sequence error --- source/installguide/hypervisor/vsphere.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/installguide/hypervisor/vsphere.rst b/source/installguide/hypervisor/vsphere.rst index af95ddc9f4..f004d49e7d 100644 --- a/source/installguide/hypervisor/vsphere.rst +++ b/source/installguide/hypervisor/vsphere.rst @@ -51,6 +51,17 @@ Software requirements: Apply All Necessary Hotfixes. The lack of up-do-date hotfixes can lead to data corruption and lost VMs. +.. note:: + + When using vSphere and vCenter versions 6.0 and 6.5 there is a limitation on + instance names with a sequence number between 99999 and 1000000. For example if you take + a snapshot of a VM, the expected filename will be different to what cloudstack expects. + It is advisable to set the sequence number to 1M to prevent issues by executing the + following script on your cloudstack database: + + UPDATE cloud.sequence + SET value = 1000000 + WHERE name = 'vm_instance_seq' Hardware requirements: ^^^^^^^^^^^^^^^^^^^^^^ From 72201d7574dea17f3ef39209bc8f0d434c935798 Mon Sep 17 00:00:00 2001 From: Spaceman1984 <49917670+Spaceman1984@users.noreply.github.com> Date: Tue, 20 Apr 2021 13:56:09 +0200 Subject: [PATCH 2/2] Update source/installguide/hypervisor/vsphere.rst Co-authored-by: dahn --- source/installguide/hypervisor/vsphere.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/installguide/hypervisor/vsphere.rst b/source/installguide/hypervisor/vsphere.rst index f004d49e7d..9061e0612c 100644 --- a/source/installguide/hypervisor/vsphere.rst +++ b/source/installguide/hypervisor/vsphere.rst @@ -61,7 +61,7 @@ Software requirements: UPDATE cloud.sequence SET value = 1000000 - WHERE name = 'vm_instance_seq' + WHERE name = 'vm_instance_seq'; Hardware requirements: ^^^^^^^^^^^^^^^^^^^^^^