/build/static/layout/Breadcrumb_cap_w.png

I am trying to swap a few machines from our main Kace server to the test Kace server so I can use them for my test environment.

I was thinking of copying amp.conf file and changing the server name in the to server name spots, and then using file synchronizations to distribute it to the specific machines.. So far I found how to setup the file sync (I think) but I know there is a step I am missing. Could someone please point me in the right direction because I have not been able to find what steps i am missing? My Google-Fu is failing me on this one. Thank you in advance.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: KevinG 4 years ago
Red Belt
4

If the Agent is already installed.  You can run AMPTools.exe from the \ProgramFiles..\Quest\KACE with the option host=<SMA Hostname>

No need to copy or edit the amp.conf.


AMPTools.exe host=myappliance



Comments:
  • Would I have to do that on every machine? Or is there a way to have Kace that run script on all 25 machines that I want to put in my test pool? - Snichols@sco.edu 4 years ago
    • That command stops the Agent services, modifies the amp.conf and restarts the Agent services. So yes, you will need to run it on each machine that you would like to have the Agent talk to a different appliance. - KevinG 4 years ago
      • but yes, you can use a script in the appliance to do so. - Nico_K 4 years ago
    • apply label to the machines and run script against label - SMal.tmcc 4 years ago
Posted by: Kiyolaka 4 years ago
Third Degree Green Belt
1

Top Answer

Create an online script that does the following.


Windows

On Success, Launch a program..

Directory - $(KACE_APP_DIR)

File - AMPTools.exe

Parameters - host=[yourserveraddress]


Make sure that Wait for completion is not checked as the agent will be swapping servers and unable to report back success after the command has ran.


Task is similar for OSX with the exception that .exe is removed from the end of AMPTools

Create a companion script on your test server for moving systems back to the production appliance once done with testing.


Comments:

Don't be a Stranger!

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

Sign up! or login

View more:

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