Auto-Provision Internal Services
This topic applies to both Appliance and Software Gateways.
gateway83
This topic applies to both Appliance and Software Gateways
.You can auto-provision certain internal services on a
CA API Gateway
that has no services or policies created. On a new Gateway node, you normally auto-provision internal services after auto-provisioning the license.Auto-provisioning is currently supported for the following internal services:
Gateway Management Service
Gateway REST Management Service
For more information about these services, see "Understanding Internal Services" within Publish Internal Service.
To auto-provision an internal service
:- Open a privileged shell.
- Run this command to create the following directory on theAPI Gateway:# mkdir -p /opt/SecureSpan/Gateway/node/default/etc/bootstrap/services
- Run this command to set the appropriate permissions:# chmod -R 775 /opt/SecureSpan/Gateway/node/default/etc/bootstrap/
- Navigate to the above directory and then run the appropriate command for the internal service to provision:
- For the Gateway Management Service:# touch wsman
- For the Gateway REST Management Service:# touch restmanThis creates an empty file named "wsman" or "restman" within the directory created above.Note:Do not edit these files.
- Run this command to restart the Gateway service:# service ssg restart
- (Optional) Once the internal service is auto provisioned, you may remove the "bootstrap" directory created in step 2:# rm -rf /opt/SecureSpan/Gateway/node/default/etc/bootstrapThe internal service is now published.