Hello,
we, a team of developers, use RDM to keep track of our servers and to provide easy login (in combination with KeePass).
However, we also have a tool monitoring our processes running on our servers. I came up with the idea, when a process is in error, to click on the process in the tool and it taking us directly to the server using the command line options, in combination with the datasourceid and the sessionid.
Now, to my surprise, it seems all our datasources have a different id!
so for me, the command is (simplified)
"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe" /DataSource:2f1de2ac /Repository:00000000-0000-0000-0000-000000000000 /Session:f57ebc00
but my colleague has
"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe" /DataSource:0216f92e /Repository:00000000-0000-0000-0000-000000000000 /Session:f57ebc00
Is there any way to have a command that will work for both of us? (or a way to make the datasources share the same id?)
Thanks!
Hello,
As you have noticed the "DataSource" is the local instance on your computer. What is shared is the "Database". If you do not know your Database ID, it can be found in the "Entry Information" tab of an entry's properties.
As for your command, instead of using "DataSource" you will need to use "Database" as follows :
"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe" /Database:YourDatabaseID /Repository:00000000-0000-0000-0000-000000000000 /Session:f57ebc00This isn't perfect as you cannot select the specific datasource instance but it is currently the best that can be done if you want something that works on a "database" level.
What I mean by this is that when using the "Database" parameter, if you have 4 datasources targeting the same database (maybe different users), it will pick one of those four datasources for your command (the first one we find) and ignore the other 3.
Please do let us know if this works well enough for your scenarios.
Best Regards,
Michaël Beaudin
Hello,
this seems to work in our case, thanks!
Best regards,
Laurent
Hello,
As you have noticed the "DataSource" is the local instance on your computer. What is shared is the "Database". If you do not know your Database ID, it can be found in the "Entry Information" tab of an entry's properties.
As for your command, instead of using "DataSource" you will need to use "Database" as follows :
"C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe" /Database:YourDatabaseID /Repository:00000000-0000-0000-0000-000000000000 /Session:f57ebc00
This isn't perfect as you cannot select the specific datasource instance but it is currently the best that can be done if you want something that works on a "database" level.
What I mean by this is that when using the "Database" parameter, if you have 4 datasources targeting the same database (maybe different users), it will pick one of those four datasources for your command (the first one we find) and ignore the other 3.
Please do let us know if this works well enough for your scenarios.
Best Regards,
Hello,
how should we go about defining Web Links using the Database ID, instead of the DataSource ID? I'm facing the same issue as the OP, but in our case, we're using Web Links.
Thank you,
Josué
Hello,
It should work if you simply change your web link to use a database ID instead. Here is an example of a regular web link for a datasource ID and one for the database ID.
Regular web link:
rdm://open?DataSource=YourDataSourceID&Repository=YourVaultID&Session=YourEntryIDWeb link with database ID:
rdm://open?Database=YourDataBaseID&Repository=YourVaultID&Session=YourEntryIDPlease do let us know if you still encounter any issues.
Best Regards,
Michaël Beaudin