Automated service archive management
Deploy and undeploy your service archives automatically when you add or remove them from the services directory.
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 named test
, it must be removed before you copy
test2.sar, which also contains a service 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 will not be installed. When the server is restarted, the new service might install first, but this is unpredictable.