You can enable firewall in an IBM Storage Scale
System
environment for management server, I/O server nodes, and protocol nodes by using the
firewall subcommand of the essrun command.
By default, any node in an IBM Storage Scale
System cluster has
firewall that is disabled. You can run the firewall subcommand of the
essrun command. This command can be run after the deployment of management server
node or I/O server nodes is complete.
- To access the container, run
the following command:
cd /home/deploy/<extracted .dir>
- If the container is running, connect to the container by running the following
command:
./essmkyml --reconnect
- If the container is not running, restart the container by running the
following:
./essmkyml --restart
- Enable the firewall on IBM Storage Scale
System
nodes.
- To enable the firewall on required nodes, run the following command:
essrun -N <ems1,io1,io2,proto1,...> firewall enable
where:
- ems1
- Specifies a management node.
- io1,io2
- Specify I/O nodes.
- proto1,...
- Specifies protocol nodes.
After the firewall is enabled on the management node, exit
and restart the container.
exit
cd /home/deploy/<extracted .dir>
./essmkyml --restart
If the following message is displayed, type
no.
[INFO] You may want to wipe it out if EMS IP changed or there are wrong entries in the Inventory --
Inventory file exists, do you want to wipe it out? (y/n):

- To check the firewall status on all nodes, run the following
command:
essrun -N <ems1,io1,io2,proto1,...> firewall status
The
system shows the following firewall status:
running
- To check the open ports on specified nodes, run the following command:
essrun -N <ems1,io1,io2,proto1,...> firewall list
- Add firewall ports to nodes.
- To add one or more ports to the firewall, run the firewall-cmd
command with the --permanent and --add-port options.
- To reload the firewall configuration to apply the changes, run the following
command:
- To remove one or more ports from the firewall, use the
firewall-cmd command with the --permanent and
--remove-port options.
- To disable the firewall on nodes, complete the following steps: