cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change Environment to cluster Openshift

JAR
Participant

Hi all.
We have the integration with an Openshift cluster reporting in one environment (PRE), but we want to change it to another environment (DEV). Both environments are in the same Managed tenant.

What would be the best way to do it?
It is necessary to do a new installation?
Or is it enough to edit the dynakube.yaml file?

  • Environment URL
  • Dynatrace Operator token
  • ACtiveGate?
  • ....Something else to keep in mind...


Thanks in advance

 

BR

Jose A

5 REPLIES 5

pahofmann
DynaMight Guru
DynaMight Guru

You mentioned the correct approach, you can just change the relevant entries in the dynakube yaml file.

Not 100% sure if it will redeploy the OneAgent pods automatically or if you have to cycle them once.

 

 

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Thank you very much for the reply pahofmann.

 

To confirm the steps:
1- edit yaml:

    URL environment
    DT operator TOKEn

 

2- redeploy one agent pod:
      How is it done manually?


Thank you very much in advance

 

BR 

joseA

pahofmann
DynaMight Guru
DynaMight Guru

As mentioned, not sure if the second is needed. You can just check after the update if it happens automatically and if not delete the OneAgent Pods yourself. 

 

Now that I think about it, it will probably also require a restart of the deep monitored applications, so the code modules connect to the new environment.

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Sujit
Helper

@JAR Yes, you have to delete it as oneagent deployed as DeploymentSet so when you deleted it will create another OA automatically with updated new environment.

 

Dynatrace Certified Professional

pahofmann
DynaMight Guru
DynaMight Guru

Just realised there even is a documentation page for this: https://www.dynatrace.com/support/help/shortlink/migrate-operator-k8

 

 

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net