For many Connections administration tasks you need to specify which Connections configuration file you want to use by running a WSADMIN command like e.g. execfile(“activitiesAdmin.py”).
If you have more than one Connections node this command will ask you on which node you want the command to run and you need to answer with 1 or 2 etc.
If you want to use these commands in a script, you need to specifiy a variable before running that command to suppress the manual interaction. So you can use
batchMode=1; execfile(“activitiesAdmin.py”)
which automatically runs the command on the first node.
If you want to use a specific node, you can use the following command:
serviceNodeNameActivities=connectionsNode02; execfile(“activitiesAdmin.py”)
For other config files you need to change “Activities” to the corresponding application name.
Many thanks Michael 🙂