Open Firewall Ports or Change Port Values

You can change firewall port values and open additional ports to support interprocess communications between the various Oracle Analytics Server components.

  1. Create a custom firewall configuration file.
    1. Use your favorite SSH client to connect to the compute instance for Oracle Analytics Server. Log in as the opc user.
      ssh -i path_to_private_key opc@oas_public_ip
    2. Switch to the oracle user.
      sudo su oracle
    3. Navigate to the folder /u01/app/oas-scripts.
    4. Copy the default firewall configuration file /u01/app/oas-scripts/DefaultSingleNodeOASFirewallPorts.xml and name the copy MyOASFirewallPorts.xml or similar.
  2. Configure the required ports in your custom firewall configuration file.
  3. Use the script open_oas_firewall_ports.sh to open the ports configured in your custom firewall configuration file (/u01/app/oas-scripts/<Custom Firewall Configuration XML File>).
    1. Navigate to: /u01/app/oas-scripts/open_oas_firewall_ports.sh
    2. If required, edit the script to include the name of your custom firewall configuration file.
      open firewall port script
    3. Run open_oas_firewall_ports.sh to open the ports in your custom firewall configuration script.