• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Eric S. · Jun 20, 2013 at 04:34 PM ·

dtmigration does not migration roles

Upgrading from 4.2 to 5.5 using dtmigration, and it appears that none of our roles have been migrated. The 4.2 server/conf/user.permissions.xml has:

<role description="Default role for developers" name="Developer">
<permissions>
<permission id="AnalyzeIncident" />
<permission id="com.dynatrace.diagnostics.ci.changeAssignment" />
<permission id="com.dynatrace.diagnostics.server.shared.analyzer:com.dynatrace.diagnostics.ria.BrowserServerSideAnalyzer" />
<permission id="AnalyzeGUIControls" />
...

While the 5.5 server/conf/user.permissions.xml has no role called "Developer".

Is this a known issue with dtmigration, or is there some other method that must be used to migrate roles from one version to the next?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Santiago G. · Jun 20, 2013 at 05:59 PM

We recently migrated to 5.5.0. When you used the dtmigration tool, it should have created user.permissions.xml.toBeMigrated file. This file I believe contains your previous configuration. This file should be same location as the user.permission.xml file.
Have you checked and see if that one has the roles that you are missing?

Regards

Comment

People who like this

0 Show 6 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Eric S. · Jun 20, 2013 at 06:01 PM 0
Share

Nope, that file was not created as part of the migration. The only '.toBeMigrated' files we have are:

server/conf/keystore.jks.toBeMigrated
dtcollector.ini.toBeMigrated
dtanalysisserver.ini.toBeMigrated
dtserver.ini.toBeMigrated

avatar image Anita E. Eric S. · Jun 21, 2013 at 10:25 AM 0
Share

Hi Eric,

as already mentioned by Palacios, the 4.2 server/conf/user.permissions.xml should have been copied to 5.5 server/conf/user.permissions.xml.toBeMigrated. Only if there is no 5.5 server/conf/user.permissions.xml existing, it's copied without renaming.

Could it be that this happened here?

Regards,
Anita

avatar image Eric S. Anita E. · Jun 21, 2013 at 01:53 PM 0
Share

No, as I pointed out above, there was no user.permissions.xml.ToBeMigrated, and the 5.5 user.permissions.xml file did not have out roles in it. The migration program appears to have a bug in it where it is not migrating this file.

avatar image Santiago G. Eric S. · Jun 21, 2013 at 04:32 PM 0
Share

Hi Eric,

Do you still have the user.permissions.xml file from 4.2? I am not sure how different the file is from 5.0, but if you still have it, what I did in an environment I created for personal use (5.0 migrating to 5.5) is just copy that permissions piece from one file to another. This worked for me. Just make sure you have a backup of the files in case you need to revert.

Santiago

avatar image Razib R. Eric S. · Jun 24, 2013 at 06:55 PM 0
Share

Just want to confirm that we faced the same issue when migrating from 5.0 to 5.5 using the dtmigration tool.

avatar image Razib R. Razib R. · Jul 03, 2013 at 02:30 PM 0
Share

Another update, we upgraded a different environment and we found if we restarted the dynaTrace server twice, the roles did indeed show up. 

 

 

Details:

Initially, we checked the user.permissions.xml and they did have the roles to be moved over.  We started the dynaTrace server and found that the roles did not show up properly in the client.  We then restarted the server again with no changes made, and the user roles populated as expected. 

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A