Is there a way to automate moving Agents to another Group, other than importing the Active Directory (AD) Organizational Unit (OU) Structure?
Create a script that does the following:
Stops the agent
Copies the "sylink.xml" file from an agent that is already in the group to one of the agents you wish to move.
Starts the agent
To copy the file, follow the below steps:
Copy the "sylink.xml" file from an agent that is already in the target group to a network share, or to the same folder where you wish to run the script on the agent. Note: The script must point to the correct file path of the sylink.xml file that you wish to transfer.
The "sylink.xml" file is located in: "C:\program files\symantec\SPA\sylink.xml"
The following is a basic example of a batch script you can use to transfer an agent from one group to another using this method:
rem // Copy sylink.xml file to the Symantec Protection Agent (SPA) directory be sure to include the "sylink.xml" file in the same folder as this script or, supply the path to a network share where the "sylink.xml" file has been saved.
Copy sylink.xml c:\program files\symantec\spa
rem // Other examples might be the following:
rem // 1. copy \\
\sylink.xml c:\program files\symantec\spa (network share example)
rem // 2. net use z: \\
rem // copy z:\sylink.xml c:\program files\symantec\spa (mapping to a network share example)
rem // Restart the Agent. It may not be necessary to change the directory (cd) unless you've switched to a mapped drive. "Change Directory" is included for the example.
c: && cd c:\program files\symantec\spa && smc -start
@echo Agent is starting...
ping -n 10 -w 500 184.108.40.206
@echo Verify that the agent has started
When the agent comes up it will check in with the Manager and tell it which group it belongs to based on the information in the "sylink.xml" file. This will change the agent's group to the new group
in the console.
Imported Document ID: TECH103705
Subscribing will provide email updates when this Article is updated. Login is required.