/build/static/layout/Breadcrumb_cap_w.png

Migrating K1000 to a new domain

Hi Guys,

We are about to migrate our company to a new domain.

Any best practices on how to migrate the k1 to a new domain.

Do I just change the k1000 name in the "network setting"

with the new domain FQDN....... ? 

What about the agents on all the devices?

I assume I will have to change the URL in the "amp.config" with

the new domain name.

How..... with a script? 

Anyone with a  best way to do this?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Nico_K 4 years ago
Red Belt
1

When I had this issue last time I did the following:
1. update all settings in the appliance
2. making a DNS A record from the old to the new appliance name
3. created a CIR ShellCommandTextReturn(cmd /c more c:\programdata\quest\kace\amp.conf|findstr host) OR ShellCommandTextReturn(cat /var/quest/kace/amp.conf|grep host)
    I use Windows and Linux in my env so I needed to collect both
4. I created a Smart Label which contained all systems with the old host entry (the wizard is sweet for that) The result is something like that (change the ID to the right inventory item and the host string correctly)
SELECT MACHINE.NAME AS SYSTEM_NAME, SYSTEM_DESCRIPTION, MACHINE.IP, MACHINE.MAC, MACHINE.ID as TOPIC_ID FROM MACHINE   WHERE (((not exists  (select 1 from MACHINE_CUSTOM_INVENTORY where MACHINE.ID = MACHINE_CUSTOM_INVENTORY.ID and MACHINE_CUSTOM_INVENTORY.SOFTWARE_ID = ENTERTHECORRECTIDHERE and MACHINE_CUSTOM_INVENTORY.STR_FIELD_VALUE not  like '%ENTERTHENEWDNSHERE%')) ))  
5. I created a report for the host entry
6. I created a script Launch $(KACE_APP_DIR)\AMPTools with params -resetconf host=NEWDNSHERE” The script ran once a day and on the next check in.

All systems went into the smart label during the next checkin and ran then the script soon. This allowed them to checkin into the box with the new DNS name without any interruption and the went out of the smart label.
As soon all machines were updated, the A-record was removed.
If you have multiple licenses you can also run both appliances at the same time and see how the agents pop up in the new appliance.


Comments:
  • Thanks Niko...
    Will give it a try. - akmagnum 4 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ