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.
Answers (2)
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 5 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 5 years ago
-
but yes, you can use a script in the appliance to do so. - Nico_K 5 years ago
-
apply label to the machines and run script against label - SMal.tmcc 5 years ago
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:
-
you are awesome. thank you - Snichols@sco.edu 5 years ago