Hi,
How can I export all RDM URL of my sessions ?
I've created 800 sessions (ssh and rdp), now I need a file with the host (or session name) and the Web Protocol Handler URL, for each session.
The csv export or html export doesn't have the rdm url.
Alternative: have a generic rdm url with the session name as a parameter.
Thanks
I've found a solution for tests purpose but we would very much appreciate a real export for periodic update of the host-url pairs.
Workaround:
1- get one DataSource code from one URL - this part seems constant : please confirm
2- export as rdm all sessions, parse xml to get name & ID pairs
3- build RDM URL, using ID as Session parameter.
rdm://open?DataSource=123456ab-ffcc-4455-99ff-ffcc226688dd&Session=654321cd-5511-4400-9b9b-ffffcc442200
Hi,
We could add a special export to export the web url. Do you think it will help you?
David Hervieux
Thanks for your quick answer and suggestion.
Since we have a long process to accept a new release after tests, I'm trying to find a solution with current 10.6 release (currently being qualified by our company).
Could you confirm that for all sessions RDM URL the DataSource is constant ?
(at least for a given RDM user or maybe a given group of sessions)
Then we could extract the required IDs from xml.
We could also generate our own sessions array xml with custom ID based upon a hash of the session name (or just the hex value of the name padded with some dashes).
And then import this xml with those known/computable IDs.
Does it seems a good idea ?
Hi,
The Session ID will never change for sure. However the data source ID is specific on each machine but if you use a SQL Server data source you can specify the DatabaseID which is constant (sometime it's exactly the same). You can specify the DatabaseID as the DataSource ID parameter and it will work fine.
David Hervieux
OK, now I think we won't need to export any url, instead we are going to set our own Session IDs.
Then we can make the right RDM url handlers with those IDs and the DataSource ID.
Regarding the Datasource ID of the url handler:
We need to use the right DataSource type in our context, moving from a local storage for tests to a centralized and updated source.
Using a SQL Server isn't really an issue for a DBA team, but it might be overkill for us. And our main repository (relevant host names) is in an Oracle Database.
The read-only web source will meet our requirements (xml will be generated daily from our repository, and http served by a shell script).
As we need everyone to have the same RDM url handler for a given host:
How can we set the DataSource ID of the Web data source ?
In the mean time, please consult https://forum.devolutions.net/topic16152-custom-export-to-csv.aspx#post59038 for the Powershell answer
Maurice
It's not possible for now to change the Data Source ID but if you import and exported Data Source configuration (.rdd) file I think that you will all have the same ID.
David Hervieux