A multi-tier application pattern might require a system configuration component. This task creates a standalone service that can disable and stop iptables and ip6tables packet filters.

Procedure

  1. Log in to the vRealize Automation Rainpole portal.
    1. Open a Web browser and go to https://vra01svr01.rainpole.local/vcac/org/rainpole.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      vra-admin-rainpole

      Password

      vra-admin-rainpole_password

      Domain

      rainpole.local

  2. Click New to create a new service.
  3. Under General enter the following values.

    Setting

    Value

    Name

    System Configuration

    Description

    Linux System Level Configuration

    Container

    Machine

  4. Click Next to skip the Properties page.
  5. Set the actions for this service in the Actions pane.
    1. In the Install row, select Bash as the Script Type.
    2. Still in the Install row, select Click Here to edit, paste the following code into the Edit Script text box, and click OK.
      #!/bin/bash
      /sbin/chkconfig iptables off
      /sbin/chkconfig ip6tables off
      /sbin/service iptables stop
      /sbin/service ip6tables stop
  6. Click Next and click Finish.
  7. Select the new service and click Publish.