Complete OpenFiler Configuration Tutorial
Master LDAP setup, user management, network ACLs, volumes, and iSCSI LUN configuration for enterprise storage solutions
OpenFiler is a powerful network-attached storage solution that provides enterprise-level storage management capabilities. This comprehensive tutorial continues from our OpenFiler installation guide and covers the essential configuration steps to get your storage system operational.
π Prerequisites: This tutorial assumes you have already installed OpenFiler. If you haven’t completed the installation, please refer to our installation guide first.
What This Tutorial Covers
- LDAP Server Configuration – Set up authentication infrastructure
- User and Group Management – Create accounts for storage access
- Network Access Control Lists – Implement IP-based security
- Volume Management – Create physical and logical volumes
- Network File Shares – Configure SMB/CIFS and NFS protocols
- iSCSI LUN Setup – Deploy storage area network capabilities
Setting Up the OpenFiler LDAP Server
OpenFiler supports two authentication methods: NT/AD Authentication and LDAP Authentication. For this tutorial, we’ll configure the integrated LDAP server, which provides robust user management capabilities.
LDAP Configuration Steps
- Navigate to the Accounts tab at the top of the OpenFiler interface
- Check the box next to “Use LDAP”
- Check the box next to “Use local LDAP Server”
- Configure the Base DN (default:
dc=example,dc=com
) - Set the Root Bind DN with proper syntax
- Enable SMB LDAP Configuration
- Click Submit to apply changes
π‘ Domain Configuration Example: If using domain “everythingvm.com”, enter dc=everythingvm,dc=com
as Base DN and cn=openfiler,dc=everythingvm,dc=com
as Root Bind DN.
After configuration, verify the LDAP service is enabled by checking the Services tab. If LDAP shows as enabled, your server is properly configured.
Creating Users and Groups
With LDAP configured, you can now create user accounts and groups. All users must belong to at least one group for proper access control.
Creating Your First Group
- Click on the Accounts tab
- Click Administration on the right side
- Ensure the Group Administration tab is selected
- Enter the group name (example: “Normal Users”)
- Click Add Group
Adding Users to Groups
- Click on the User Administration tab
- Enter the username (example: “seanp”)
- Enter the password in both Password fields
- Select the primary group from the dropdown
- Click Add User
Setting Up Network Access Control Lists
Network ACLs provide IP address-based access control to your storage system. This adds an essential security layer by restricting access based on client location, making it easier to manage storage access without complex authentication requirements.
Configuring Network ACLs
- Click on the System tab
- Scroll to the bottom of the page
- Enter a descriptive name for your ACL (example: “Servers”)
- Enter the IP Network Address (example: “10.0.0.0”)
- Enter the appropriate Netmask (example: “255.0.0.0”)
- Click Update to save the ACL
π Security Note: Using the example above (10.0.0.0/255.0.0.0) grants access to any computer with an IP address beginning with “10.” Ensure this aligns with your network security policy.
Repeat these steps to create multiple ACLs for different network segments or server groups. You’ll be able to grant or restrict access based on these ACLs when creating shares and LUNs.
Creating and Managing Volumes
Volume management is the foundation of your storage system. We’ll create physical volumes, organize them into volume groups, and then create logical volumes for different storage needs.
Creating Physical Volumes
- Click on the Volumes tab
- Click Create new Physical Volume
- Select the disk you want to use (example: /dev/sdb)
- Scroll down and change partition type to Physical Volume
- Configure starting and ending cylinders for desired size
- Verify the size column shows your target volume size
- Click Create to create the volume
Creating Volume Groups
- Click on Volume Groups on the right side
- Enter the Volume Group name
- Check the box next to the Physical Volume you created
- Click Add Volume Group
Creating Logical Volumes
- Click Add Volume on the right side
- Enter the volume name (example: “MyShare”)
- Use the slider to set the volume size
- Select filesystem type:
- EXT3 or XFS for file shares
- iSCSI for SAN storage
- Click Create to finalize the logical volume
Creating Network File Shares
OpenFiler supports multiple file sharing protocols including SMB/CIFS and NFS. This allows integration with Windows, Linux, and Unix environments seamlessly.
Enable File Sharing Services
- Click on the Services tab
- Click Enable next to SMB/CIFS and/or NFS Server
Create and Configure Shares
- Click on the Shares tab
- Click on the volume you wish to share
- Enter the folder name and click Create sub folder
- Click on the newly created folder
- Click Share, then Make share
- Set Share Access Control mode to Controlled Access
- Configure group permissions (PG = Primary Group, RW = Read/Write)
- Click Update to save group settings
- Configure Host Access by selecting ACL permissions
- Enable protocol access (RW under NFS or CIFS/SMB)
- Click Update to finalize share configuration
π Access Control Options: Choose between Public Guest Access (no authentication required) or Controlled Access (username/password required). Both options can still use Network ACLs for IP-based restrictions.
Creating iSCSI LUNs for SAN Storage
iSCSI transforms OpenFiler from a Network Attached Storage (NAS) device into a Storage Area Network (SAN) solution. This protocol sends SCSI commands over standard Ethernet networks, providing block-level storage access.
π Prerequisites: Before proceeding, ensure you have created an iSCSI volume using the steps in the Volume Management section above.
iSCSI LUN Configuration Steps
- Click on the Services tab
- Click Enable next to iSCSI
- Navigate to the Volumes tab
- Click on iSCSI Targets
- Click Add to create a new target
- Click on LUN Mapping
- Click Map to associate your iSCSI volume
- Click on Network ACL
- Select your desired Network ACL from the dropdown
- Select Allow to grant access
- Click Update to save the configuration
Your iSCSI LUN is now created and ready for client connections. For detailed information on connecting to your storage from various operating systems, refer to our comprehensive guide on connecting to storage systems using iSCSI, NFS, and CIFS protocols.
Configuration Complete: What’s Next?
Congratulations! You have successfully configured OpenFiler with enterprise-grade storage capabilities. Your system now includes LDAP authentication, user management, network security controls, and both NAS and SAN storage options.
Recommended Next Steps
- Test Client Connections – Verify access from different operating systems
- Implement Backup Strategies – Configure data protection and recovery procedures
- Monitor Performance – Set up system monitoring and alerting
- Security Hardening – Review and strengthen security configurations
- Documentation – Document your configuration for future reference
Elevate Your IT Efficiency with Expert Solutions
Transform Your Technology, Propel Your Business
Unlock advanced technology solutions tailored to your business needs. At InventiveHQ, we combine industry expertise with innovative practices to enhance your cybersecurity, streamline your IT operations, and leverage cloud technologies for optimal efficiency and growth.