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 
Layer7 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
:
  1. Open a privileged shell.
  2. Run this command to create the following directory on the 
    Layer7 API Gateway
    :
    # mkdir -p /opt/SecureSpan/Gateway/node/default/etc/bootstrap/services
  3. Run this command to set the appropriate permissions:
    # chmod -R 775 /opt/SecureSpan/Gateway/node/default/etc/bootstrap/
  4. 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 restman
      This creates an empty file named "wsman" or "restman" within the directory created above. 
      Note:
       Do not edit these files.
  5. Run this command to restart the Gateway service:
    # service ssg restart
  6. (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/bootstrap
    The internal service is now published.