Automated service archive management
Deploy and undeploy your service archives automatically when you add or remove them from the services directory.
zosConnect-2.0 Applies to zosConnect-2.0.
You can configure IBM® z/OS® Connect to deploy a service archive automatically when you copy your service archive file to the location where your services archives are stored. For example, resources/zosconnect/services. When you remove the service archive file from the services directory, the service is automatically undeployed.
- Read, write, and execute permission to the services location directory.
- Read and execute permission to all parent directories of the services location directory.
- Read, write, and execute permission to the services location directory.
- Read and execute permission to all parent directories of the services location directory.
- Write access to the .sar archive file.
When you copy a service archive file to the services directory, ensure that the service name is
unique within the folder. For example, if test1.sar exists in the folder and
contains a service that is named test, it must be removed before you copy
test2.sar, which also contains a service that is named test.
If both files are present when IBM z/OS Connect
starts, the service that is deployed is that of the first file that is read. When the other file is
read, an error message is returned that the service is already deployed.
To update a service, replace the service archive file in the services directory. The file must have the same name. If the updateTrigger and pollingRate attributes of the zosconnect_services element are set, the service is installed automatically when the folder is polled.
If you copy a service archive to the services directory where a service of the same name is already configured, the new service is not installed. When the server is restarted, the new service might install first, but this is unpredictable.