Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VMWare sync via CLI doesn't actually sync
#1
Hello,

Version: ASG-RD 2020 13.0.6985.1, currently latest 32-bit version (18-MAY-2021)
Standard Environment with Windows Account


I have VMWare environments setup. Love it. Makes things some much earlier. 
However I have six setup, and to manually sync the GUI seems to be the only way to refresh the VM list.

I have ran the CLI commands for each of however I don't see any actual truth to it's success claimed in the log written.
I have updated annotations on any existing VM as well as duplicated a VM, ran the CLI without error. Checked the log and it did show executed successfully.


5/3/2021 11:16 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/3/2021 11:17 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 11:17 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/3/2021 11:17 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 11:22 AM: Information - Starting ESX-Sync for folder object '1-Name1-DataCenter'
5/3/2021 11:22 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 11:22 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/3/2021 11:22 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 11:22 AM: Information - Starting ESX-Sync for folder object '3-Name2-DataCenter'
5/3/2021 11:23 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 11:23 AM: Information - Starting ESX-Sync for folder object '3-Name2-DataCenter'
5/3/2021 11:23 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 11:23 AM: Information - Starting ESX-Sync for folder object '5-Name3-DataCenter'
5/3/2021 11:23 AM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 8:06 PM: Information - Starting ESX-Sync for folder object '5-Name3-DataCenter'
5/3/2021 8:06 PM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 8:06 PM: Information - Starting ESX-Sync for folder object '1-Name1-DataCenter'
5/3/2021 8:06 PM: Information - Starting ESX-Sync for folder object '3-Name2-DataCenter'
5/3/2021 8:06 PM: Information - Starting ESX-Sync for folder object '3-Name2-DataCenter'
5/3/2021 8:06 PM: Information - Starting ESX-Sync for folder object '5-Name3-DataCenter'
5/3/2021 8:07 PM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 8:07 PM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 8:07 PM: Information - Sync finished - Sync operation executed successfully.
5/3/2021 8:07 PM: Information - Sync finished - Sync operation executed successfully.
5/4/2021 11:14 AM: Information - Starting ESX-Sync for folder object '5-Name3-DataCenter'
5/4/2021 11:14 AM: Information - Starting ESX-Sync for folder object '1-Name1-DataCenter'
5/4/2021 11:14 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/4/2021 11:14 AM: Information - Starting ESX-Sync for folder object '3-Name2-DataCenter'
5/4/2021 11:14 AM: Information - Sync finished - Sync operation executed successfully.
5/4/2021 11:14 AM: Information - Sync finished - Sync operation executed successfully.
5/4/2021 11:15 AM: Information - Sync finished - Sync operation executed successfully.
5/4/2021 11:15 AM: Information - Sync finished - Sync operation executed successfully.
5/5/2021 7:13 AM: Information - Starting ESX-Sync for folder object '1-Name1-DataCenter'
5/5/2021 7:13 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 8:08 AM: Information - Starting ESX-Sync for folder object '1-Name1-DataCenter'
5/17/2021 8:08 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/17/2021 8:08 AM: Information - Starting ESX-Sync for folder object '4-Name2-DataCenter'
5/17/2021 8:08 AM: Information - Starting ESX-Sync for folder object '5-Name3-DataCenter'
5/17/2021 8:09 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 8:09 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 8:09 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 8:09 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 8:29 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/17/2021 8:29 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 8:54 AM: Information - Starting ESX-Sync for folder object '2-Name1-DataCenter'
5/17/2021 8:54 AM: Information - Sync finished - Sync operation executed successfully.
5/17/2021 9:26 AM: Information - Starting ESX-Sync for folder object '1-Name1-DataCenter'
5/17/2021 9:27 AM: Information - Sync finished - Sync operation executed successfully.


After each CLI sync attempt, I did go look for the updates and did not happen. I exited out the app and relaunch, and still no update. I exited the app, reran the CLI with app still closed, after success log, relaunched the app, and still no update.

Anyone having similar issue?

* Also, I have not found a setting to auto sync on app launch. Hopefully next version or update that is on their list.
Reply
#2
Have you tried to sync manually in the GUI? Did that work - it should run the same code...

To automate the sync you should use "Windows Task Scheduler" - then you can run a sync each night or whenever it make sense for you - it could take a long time in huge environments that's the reason why we do not auto start sync at startup...
Regards/Gruss
Oliver
Reply
#3
(19-05-2021, 11:43 AM)DevOma Wrote: Have you tried to sync manually in the GUI? Did that work - it should run the same code...

To automate the sync you should use "Windows Task Scheduler" - then you can run a sync each night or whenever it make sense for you - it could take a long time in huge environments that's the reason why we do not auto start sync at startup...

Hello Oliver,

Yes, running the sync from the GUI works without issued and last successful sync time also updates. There is I copied the CLI command when clicking the Command Line button.  
Running the sync from the GUI is the only way we are able to update.

I was thinking of a batch file that calls all the commands for all the sync'ed needed, and last line opening the app. I trying to create a process for the team.  The Windows Task Schedule could be an option, thank you.

"C:\Program Files (x86)\ASG-Remote Desktop 2020\ASGRD.exe" /syncaction:VM /syncid:16fa8833-6641-411d-8d30-1bd1de4a2900 "/syncoutput:c:\temp\sync.txt" "/instance:Standard" /loginintegrated:true /loginsubmit

Environment is standard, with "Windows Account" Protection
Encryption is "Windows Account"

I have ran the command in both non-elevated and elevated, with no success.
Reply
#4
I've setup a VMware sync in my environment - delete some of the folders after first sync - used the command line button to get the command line - paste it to a cmd-file and execute it afterwards - the log looks similar to yours - and all folders that I have deleted before were added again through the sync

If something goes wrong in login process - it should be reported in sync.txt - so the action is executed - and it is the same code like in UI :-) I see no errors in your configuration?!?
Regards/Gruss
Oliver
Reply
#5
Have you checked the changelog? If activated are there any entries regarding the sync? Objects that have changed or added?
Regards/Gruss
Oliver
Reply
#6
(20-05-2021, 10:55 AM)DevOma Wrote: Have you checked the changelog? If activated are there any entries regarding the sync? Objects that have changed or added?

Hello Oliver,

Thank you for your time.

To test this, I created a new VM as well as updated annotatiions on an existing VM, then ran the CLI syncs. After enabling Change log, I made another annotation update, ran the CLI sync, and still object not updated and nothing in Change Log.
Reply
#7
We have tried different setups - but it works for us - so I tried to misconfigure my sync - just set the domain of my assigned credentials to non existing domain name (also username or password can be changed)

And if I sync again via CommandLine I get some error messages that the data couldn't be read - could you please try that too - so we could see if it is running the sync you want - it should report that the sync cancelled with errors!
Regards/Gruss
Oliver
Reply




Users browsing this thread: 1 Guest(s)