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

OneAgent migration repointing to another SaaS tenant

Sahil23
Participant

Hello everyone!
I was trying to migrate repoint oneagent from one SaaS tenant to another.
Is it possible to do this using API?
I know it is possible using oneagentclt command. (https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-oneagent-communication-settings) but I dont want to log into servers and perform this activity 🙂

Thanks, in adv!

8 REPLIES 8

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I think that is not possible from API, waiting for another answer.

Anyway, do you use some orchestrator as Ansible / Puppet?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Strange thing is, that API endpoint https://docs.dynatrace.com/managed/ingest-from/bulk-configuration#bulk-configuration-oa-communicatio... on Managed can do this. So I can move agents from one managed tenant to another or to a Saas tenant. But then I'm stuck with oneagentctl. Or is this a glitch in the docs?

Dynatrace Master, Appmon Master

@TorstenHellwig yes, it's possible to do that Managed -> SaaS using UI (and API).
It's also possible to have a SaaS -> SaaS, but you need to raise a support ticket for this. It's unfortunately disabled for security reasons. I stumbled upon this at first (why ??) but then understood the reasons. Ask for enabling SaaS to SaaS migration feature flags. 

What kind of migration do you need?

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Hi @JuliusLoman , it is a Saas PoC where we moved a few non-prod agents from Managed to the PoC tenant and now want to go back. And I was sure it's the same convenient way. The customer has a hosted data center and can't access the monitored systems himself.

@TorstenADAC  - Oh, not sure if you will be able to do SaaS to Managed. Most likely, you are left with oneagentctl on the hosts. If I remember how it looked like, it was SaaS to SaaS only. Unless you have 200+ agents, I'd do this using oneagentctl  + ansible (or automation tool you/customer prefers).

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Looks like that's what they have to do. It's just some dozens of hosts. 

PacoPorro
Dynatrace Leader
Dynatrace Leader

Agree with Anton, you should take into consideration an orchestation tool like Ansible/Puppet/Rundeck/Chef 

Sahil23
Participant

Thanks for the suggestion @PacoPorro and @AntonPineiro  🙂

Featured Posts