Please provide your feedback in this short Flings' survey.
Oct 22, 2021

I converted one Appstack 2.x to 4.0 called application 001051. I have two files VMDK and JSON. I follow these steps

1. In vSphere, upload the migrated appstack files (VMDK+JSON) to a folder in your datastore other than your packages folder
VMDK was thin provisioned. VMDK has around 300MB.
2. Move the files into the correct packages folder
After this step VMDK has 20GB. I think it was orginal size of VMDK.
3. In AppVolumes admin console, Inventory -> Applications -> Rescan
Nothing happen.

But converted package does not appear in list of packages in appvolume manager 4.0
I test thing from user guide with upload template but it looks unusefulle.

Here are some logs from AVM server. There were no error. Do you have any idea what can be wrong?
I need to convert around 200 appstacks 2.x.

[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Query: - Pattern: ["SPI_001051_7.0.2_workstation.vmdk.metadata"]
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: SearchDatastore_Task task: session[525e381f-a95c-9c07-edc8-10247b9160ff]5284556e-ea2f-96d0-048c-1b444c07c19f
[2021-10-22 12:32:00 UTC] P600R81838 INFO Started GET "/cv_api/jobs/pending?_=1634905899884" for 127.0.0.1 at 2021-10-22 14:32:00 +0200
[2021-10-22 12:32:00 UTC] P600R81838 INFO Processing by CvApi::JobsController#pending as JSON
[2021-10-22 12:32:00 UTC] P600R81838 INFO Parameters: {"_"=>"1634905899884"}
[2021-10-22 12:32:00 UTC] P600R81838 INFO Referred by https://APV_URL/inventory using Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 Edg/94.0.992.50
[2021-10-22 12:32:00 UTC] P600R81838 INFO Current Request roles: ["Administrators"], user: AdminAccount (25)
[2021-10-22 12:32:00 UTC] P600R81838 INFO Completed 200 OK in 43ms (Views: 0.3ms | ActiveRecord: 20.5ms)
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Task total time: 0.099845s (execution time 0.099641s)
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Task SearchDatastore_Task completed successfully
[2021-10-22 12:32:00 UTC] P600R81838 INFO
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO Cvo: [AdapterState] Active - "Hypervisor <VMware vCenter#34473760 Domain\je@s0a.Domain.name>" - 65 secs old - Ping took 0ms
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO Cvo: Hypervisor Pool: Acquired "vcenter" adapter 1 of 25 for "vcenter303441426" in 0.0 seconds
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Searching datastore "[SK_VDI_F900_GAD_APPs_LUN03] TDA/cloudvolumes/packages" non-recursively with file details
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Query: - Pattern: ["SPI_001051_7.0.2_workstation.json"]
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: SearchDatastore_Task task: session[525e381f-a95c-9c07-edc8-10247b9160ff]52a71598-5b66-1a74-3307-405aa281b745
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Task total time: 0.004531s (execution time 0.004196s)
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO RvSphere: Task SearchDatastore_Task completed successfully
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO Cvo: Finished job: Import Applications #<Thread:0x00000000016ae1d0 run>
[2021-10-22 12:32:00 UTC] P4140DJ591525 INFO 2021-10-22T14:32:00+0200: [Worker(host:S2S006G5 pid:4140)] Job ImportAppstacksJob#perform (id=591525) (queue=4.4.4.6) COMPLETED after 19.0666
[2021-10-22 12:32:01 UTC] P4140DJ591525 INFO 2021-10-22T14:32:01+0200: [Worker(host:S2S006G5 pid:4140)] 1 jobs processed at 0.0521 j/s, 0 failed

Oct 22, 2021

Hello Maros,

Once the appstacks are migrated, please follow these steps instead of uploading directly to datastore.

"In order to import appstacks to the AV 4.x server, user needs to copy the .VMDK and .json to the ppv\packages folder in the installed location of the AVM sever. Once the files are copied, user needs to logon to AV 4.x using a browser and select “Upload Templates” (available in Configuration -> Storage tabs)

Once the upload is completed, user should see the migrated appstacks in the Application Tab of the AV 4.x. Now this appstack can be used in AV 4.0 environment."

Thanks,
-Mani.

Oct 25, 2021

Hello Mani,

Thanks you for advice.
I successfully imported my first packages. In the past I put VMDK to the wrong location. I put VMDK direct to the datastore cloudevolumes\packages_templates. Now I put VMDK and JSON on AVM server into D:\Program Files (x86)\CloudVolumes\Manager\ppv\packages_templates.

Best regards
Maros

Oct 25, 2021

Hello Maros,

That's great. Glad that I was able to help.

Thanks,
-Mani.

Sep 28, 2021

Hello,

I am looking for advice. I am preparing for migration from App Volumes 2.18 to 4. We have around 200 AppStacks.
I read the documentation for this migration tool and I read this "This should be installed on a VM having access to the datastore having
the appstacks to be migrated."

What does it means "VM having access to the datastore"? I need to have direct access to datastore? Or I need access through vCenter server to datastore? I not sure what I need to do.

Thanks you for advice.
Maros

Oct 04, 2021

Hello,

"I need access through vCenter server to datastore". This is right.

ESX hosting the VM having this tool installed, should have access to the datastore so that appstack VMDK can be attached to this VM.

Thanks,
-Mani.

Sep 17, 2021

In attempting to export an app stack, it downloaded almost the whole vmdk and then failed with "error"

Going through the log, this is the only part that seems to be discussing the failure.

2021-09-17 11:21:12,266 [3] ERROR AppCaptureUI.Avm.AppCapture: Run([C:\Program Files (x86)\VMware\AppCapture\AppCapture.exe]-[/migrate "OSI-COMMON-NEW-X" /sourcepath "C:\Program Files (x86)\VMware\AppCapture\VolumeMount\OSI-COMMON-NEW-X_appstacks" /o "C:\AVMOut" ]) failed : -1073741819
2021-09-17 11:21:12,266 [3] ERROR AppCaptureUI.Avm.AvmController: AppCapture::MigrateAppStack([OSI-COMMON-NEW-X][C:\Program Files (x86)\VMware\AppCapture\VolumeMount\OSI-COMMON-NEW-X_appstacks][C:\AVMOut]) faield.
2021-09-17 11:21:12,268 [3] DEBUG AppCaptureUI.Common.HttpRequest: HTTP POST -> https://appvolumeserver/cv_api/appstacks/337/unmount
2021-09-17 11:21:12,371 [3] ERROR AppCaptureUI.Common.HttpRequest: GetResponse Fails
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()

Sep 16, 2021

Unable to upload AppStack after migration

Sep 17, 2021

Hello,

What error do you get? Can you share the AVM logs after the upload failure?

Thanks,
-Mani.