NFS audit clients are granted access to an audit share based on their IP address. Grant access to the audit share to a new NFS audit client by adding its IP address to the audit share.
Before you begin
- You must have the Passwords.txt file with the root/admin account password (available in the SAID package).
- You must have the Configuration.txt file (available in the SAID package).
- The audit client must be using NFS Version 3 (NFSv3).
Steps
- From the service laptop, log in to the primary Admin Node:
- Enter the following command: ssh admin@primary_Admin_Node_IP
- Enter the password listed in the Passwords.txt file.
- Enter the following command to switch to root: su -
- Enter the password listed in the Passwords.txt file.
When you are logged in as root, the prompt changes from $ to #.
- Start the NFS configuration utility: config_nfs.rb
-----------------------------------------------------------------
| Shares | Clients | Config |
-----------------------------------------------------------------
| add-audit-share | add-ip-to-share | validate-config |
| enable-disable-share | remove-ip-from-share | refresh-config |
| | | help |
| | | exit |
-----------------------------------------------------------------
- Enter: add-ip-to-share
A list of NFS audit shares enabled on the Admin Node is displayed.
The audit share is listed as: /var/local/audit/export
- Enter the number of the audit share: audit_share_number
- When prompted, enter the audit client’s IP address or IP Address range for the audit share: client_IP_address
IP address ranges must be expressed using a subnet mask in CIDR notation (form such as 192.168.110.0/24).
The audit client is added to the audit share.
- When prompted, press Enter.
The NFS configuration utility is displayed.
- Repeat from step 3 for each audit client that should be added to the audit share.
- Optionally, verify your configuration: validate-config
The services are checked and displayed.
- When prompted, press Enter.
The NFS configuration utility is displayed.
- Close the NFS configuration utility: exit
- If the StorageGRID Webscale deployment is a single site, go to step 11.
— or —
Optionally, if the
StorageGRID Webscale deployment includes Admin Nodes at other sites, enable these audit shares as required:
- Remotely log in to a site’s Admin Node:
- Enter the following command: ssh admin@grid_node_IP
- Enter the password listed in the Passwords.txt file.
- Enter the following command to switch to root: su -
- Enter the password listed in the Passwords.txt file.
- Repeat steps 2 through 9 to configure the audit shares for each Admin Node.
- Close the remote secure shell login to the remote Admin Node: exit
- Log out of the command shell: exit