Access to a remote machine via acrocmd

Hi!
I am running acronis agent on Ubuntu 20.04.3. I want to execute commands from remote machine. Acronis agent installed in both machines. I want to access vm12 (51.250.14.60) from vm10.
I tried different ways, but nothing worked.
Here is output of list disks command from local vm12 acrocmd call
levdik@vm12:~$ sudo acrocmd list disks --output=raw
Disk 1 13,312 MB PS_GPT 8E70400A-DD3F-443D-95C1-844A5A72302B
1-1 vda1 Pri 1 MB 1 MB None EC0944F8-90A5-4E74-9453-D4D8D03BD53D
1-2 vda2 Pri 2 MB 13,310 MB Ext 4 5AA474F9-767F-4AE4-BF42-D1B1CA657053
The operation completed successfully.
levdik@vm12:~$ hostname
vm12
levdik@vm12:~$ curl ifconfig.me
51.250.14.60
Here is most of my tries acrocmd calls from remote machine vm10
levdik@vm10:~$ sudo acrocmd list disks --host=51.250.14.60 An error occurred while executing the command. Error: 0x1510008 $module = "acrocmd_lxa64_26851" PrintPerformingResult : e:/371/enterprise/command_line/engine/impl/engine.cpp(65) Failed to connect to Acronis Managed Machine Service. Error: 0x1510007 $module = "acrocmd_lxa64_26851" CheckAccessPoint : e:/371/enterprise/command_line/engine/impl/remote_access_impl.cpp(212) SocketError: Connection refused Error: 0x2E50032 Code = 111 (0x6F), $module = "asyncipc_lxa64_26851" OnEvent : e:/371/enterprise/common/async_ipc/async/io_base_libevent.cpp(1210) levdik@vm10:~$ sudo acrocmd list disks --host=10.128.0.12 An error occurred while executing the command. Error: 0x1510008 $module = "acrocmd_lxa64_26851" PrintPerformingResult : e:/371/enterprise/command_line/engine/impl/engine.cpp(65) Failed to connect to Acronis Managed Machine Service. Error: 0x1510007 $module = "acrocmd_lxa64_26851" CheckAccessPoint : e:/371/enterprise/command_line/engine/impl/remote_access_impl.cpp(212) SocketError: Connection refused Error: 0x2E50032 Code = 111 (0x6F), $module = "asyncipc_lxa64_26851" OnEvent : e:/371/enterprise/common/async_ipc/async/io_base_libevent.cpp(1210) # single --address param does not work, I got vm10 disks with Disk 2 (vm12 has the only sidk) levdik@vm10:~$ sudo acrocmd list disks --address=51.250.14.60 Num Partition Flags Start Size Type GUID -------------------- -------------------- -------------------- -------------------- -------------------- -------------------- -------------------- Disk 1 13,312 MB PS_GPT 8E70400A-DD3F-... 1-1 vda1 Pri 1 MB 1 MB None EC0944F8-90A5-... 1-2 vda2 Pri 2 MB 13,310 MB Ext 4 5AA474F9-767F-... Disk 2 20,480 MB PS_MBR Unallocated-2-1 Unallocated 0 MB 1 MB 2-1 vdb1 Pri,Act 1 MB 20,479 MB Ext 4 The operation completed successfully. levdik@vm10:~$ sudo acrocmd list disks --host=51.250.14.60 --service=mms An error occurred while executing the command. Error: 0x1510008 $module = "acrocmd_lxa64_26851" PrintPerformingResult : e:/371/enterprise/command_line/engine/impl/engine.cpp(65) Failed to connect to Acronis Managed Machine Service. Error: 0x1510007 $module = "acrocmd_lxa64_26851" CheckAccessPoint : e:/371/enterprise/command_line/engine/impl/remote_access_impl.cpp(212) SocketError: Connection refused Error: 0x2E50032 Code = 111 (0x6F), $module = "asyncipc_lxa64_26851" OnEvent : e:/371/enterprise/common/async_ipc/async/io_base_libevent.cpp(1210) levdik@vm10:~$ sudo acrocmd list disks --host=51.250.14.60 --service=ams An error occurred while executing the command. Error: 0x1510008 $module = "acrocmd_lxa64_26851" PrintPerformingResult : e:/371/enterprise/command_line/engine/impl/engine.cpp(65) Failed to connect to Acronis Data Protection Cloud Management Server. Error: 0x1510049 $module = "acrocmd_lxa64_26851" CheckAccessPoint : e:/371/enterprise/command_line/engine/impl/remote_access_impl.cpp(201) SocketError: Connection refused Error: 0x2E50032 Code = 111 (0x6F), $module = "asyncipc_lxa64_26851" OnEvent : e:/371/enterprise/common/async_ipc/async/io_base_libevent.cpp(1210)
What am I doing wrong and how can I access remote machine via acrocmd?

Hello, Ekaterina
Thank you for your reply.
However, I didn't get success still. I saw this documentation and tried these ways.
I don't understand what is `ams hostname` or `IP/name of machine with MMS`. I tried to use cloud.acronis-infoprotect.ru as it is my API client datacenter_url and it is address of portal with my account.
Here are my tries with credentials param. When I use --host=cloud.acronis-infoprotect.ru param, my command freezes.
levdik@vm10:~$ sudo acrocmd list disks --host=51.250.14.60 --credentials=levdik-test-user,xxx
An error occurred while executing the command.
Error: 0x1510008
$module = "acrocmd_lxa64_26851"
PrintPerformingResult : e:/371/enterprise/command_line/engine/impl/engine.cpp(65)
Failed to connect to Acronis Managed Machine Service.
Error: 0x1510007
$module = "acrocmd_lxa64_26851"
CheckAccessPoint : e:/371/enterprise/command_line/engine/impl/remote_access_impl.cpp(212)
SocketError: Connection refused
Error: 0x2E50032
Code = 111 (0x6F),
$module = "asyncipc_lxa64_26851"
OnEvent : e:/371/enterprise/common/async_ipc/async/io_base_libevent.cpp(1210)
levdik@vm10:~$ sudo acrocmd list disks --host=cloud.acronis-infoprotect.ru --address=51.250.14.60 --credentials=levdik-test-user,xxx --address=51.250.14.60
^C
levdik@vm10:~$ acrocmd list disks --host=cloud.acronis-infoprotect.ru --credentials=levdik-test-user,xxx --service=ams --address=51.250.14.60
^C
levdik@vm10:~$ acrocmd list disks --host=cloud.acronis-infoprotect.ru --credentials=levdik-test-user,xxx --service=ams --address=vm12
^C
-bash: username: No such file or directory
levdik@vm10:~$ sudo acrocmd list disks --host=51.250.14.60 --credentials=levdik-test-user,xxx --service=ams --address=cloud.acronis-infoprotect.ru
An error occurred while executing the command.
Error: 0x1510008
$module = "acrocmd_lxa64_26851"
PrintPerformingResult : e:/371/enterprise/command_line/engine/impl/engine.cpp(65)
Failed to connect to Acronis Data Protection Cloud Management Server.
Error: 0x1510049
$module = "acrocmd_lxa64_26851"
CheckAccessPoint : e:/371/enterprise/command_line/engine/impl/remote_access_impl.cpp(201)
SocketError: Connection refused
Error: 0x2E50032
Code = 111 (0x6F),
$module = "asyncipc_lxa64_26851"
OnEvent : e:/371/enterprise/common/async_ipc/async/io_base_libevent.cpp(1210)
- Log in to post comments
Best regards,
Ekaterina Surkova | Forum Moderator
Information provided AS-IS with no warranty of any kind.
To contact support, please follow http://www.acronis.com/en-us/support