Manage AAA sources
Configure multiple Authentication, Authorization, and Accounting (AAA) sources for redundancy and enable manual failover between sources.
Overview
Platform supports one active AAA source at a time. If the active AAA source becomes unavailable, users cannot log in to Platform.
Solution: Configure multiple AAA sources and manually switch between them when the primary source fails.
Use cases:
- LDAP server failure - Switch to backup LDAP server
- Active Directory maintenance - Switch to Local AAA temporarily
- External AAA outage - Switch to alternative authentication provider
AAA sources cannot be federated by enabling multiple simultaneously. Enabling multiple AAA adapters with the aaa broker simultaneously may prevent users from logging in.
Before you begin
- Administrator access to Platform
- All AAA adapters configured and tested
- Understanding of profile system (Platform 2023.2) or configuration methods (Platform 6)
- Documented failover procedures for operations team
How AAA source management works
AAA adapters and brokers
Adapters handle communication with external systems. AAA adapters (Local AAA, LDAP, Active Directory, RADIUS) authenticate users.
Brokers deliver requests to adapters. The aaa broker delivers authentication requests to AAA adapters.
Key requirement: Only one AAA adapter should have the aaa broker configured at a time.
Profile-based management
Profiles designate which services (applications and adapters) are enabled on Platform.
Strategy:
- Configure multiple AAA adapters
- Create separate profiles, each enabling one AAA adapter
- Switch active profile to change AAA source
Configure AAA adapters
Configure all AAA adapters you plan to use before creating profiles.
Test each AAA adapter thoroughly before using it for production authentication. Verify users can authenticate and authorization works correctly.
Platform 6: Manage AAA sources
Platform 6 uses environment variables and properties files for primary configuration.
Configuration hierarchy (Platform 6)
Platform 6 configuration priority:
- Environment variables (highest priority) -
ITENTIAL_* - Properties file -
/opt/itential/platform/server/dev/local.properties - Profile document (lowest priority) - MongoDB
iap_profilescollection
Method 1: Environment variables (recommended)
Use environment variables for dynamic AAA source switching without file changes.
Configure in systemd service file:
Add environment variables:
Switch AAA source:
Method 2: Properties file
Configure active AAA source in properties file.
Edit properties file:
Set active adapter:
Switch AAA source and restart:
Method 3: Profiles (fallback)
Use profiles when environment variables and properties file are not configured.
Follow Platform 2023.2 profile procedures below.
Platform 2023.2: Manage AAA sources
Platform 2023.2 uses profile-based configuration exclusively.
Create profiles
Create separate profiles for each AAA source by cloning the default profile.
Example profiles:
LDAP-Primary- Primary LDAP serverLDAP-Backup- Backup LDAP serverLocalAAA-Emergency- Local AAA for emergencies
Configure profiles
Enable the appropriate AAA adapter in each profile.
Example configuration:
LDAP-Primary profile:
- ✅ LDAP Adapter (enabled)
- ❌ Local AAA (disabled)
- ❌ Active Directory (disabled)
LocalAAA-Backup profile:
- ❌ LDAP Adapter (disabled)
- ✅ Local AAA (enabled)
- ❌ Active Directory (disabled)
Switch between profiles
Change the active profile to switch AAA sources.
In some Platform versions, multiple AAA adapters with the aaa broker can prevent proper loading. Ensure only one AAA adapter has the aaa broker configured.
Emergency failover (all versions)
If AAA source failure prevents UI access, edit the configuration file directly.
Platform 6
Edit properties file:
Or edit environment variables:
Platform 2023.2
Edit properties.json:
Example properties.json:
High availability considerations
Cluster-wide changes
In HA deployments with multiple Platform servers:
Platform 6:
- Environment variables: Update service file on each server
- Properties file: Sync properties file to all servers
- Profiles: Restart all Platform servers after profile change
Platform 2023.2:
- Profiles stored in MongoDB are cluster-wide
- Restart all Platform servers after profile change
- All servers must restart for changes to take effect
Coordinated failover
Plan failover procedure:
- Document current active AAA source
- Identify backup AAA source to use
- Coordinate restart timing to minimize downtime
- Verify authentication works on each server after restart
Rolling restart (recommended):
- Restart servers one at a time
- Verify authentication works before restarting next server
- Reduces total downtime during failover
Best practices
Configuration
- Test all AAA adapters before creating profiles
- Use descriptive names for profiles indicating AAA source
- Document AAA source priority (primary, secondary, emergency)
- Keep Local AAA configured as emergency backup
- Verify broker configuration - only one
aaabroker active
Operations
- Document failover procedures for operations team
- Test failover regularly in non-production environment
- Monitor AAA source health to detect failures early
- Maintain user accounts in backup AAA sources
- Communicate changes to users before switching sources
Security
- Limit profile changes to administrator users only
- Audit AAA source changes in change management system
- Test permissions after switching AAA sources
- Verify authorization works correctly with each source
- Monitor failed authentication attempts after switching
High availability
- Restart all servers in cluster after profile changes
- Coordinate restart timing to minimize downtime
- Test failover in staging before production changes
- Verify cluster health after AAA source changes
- Document AAA topology including all sources and failover paths
Troubleshooting
Cannot log in after switching profiles
Symptom: Authentication fails after activating new profile
Solutions:
- Verify correct profile is active
- Check AAA adapter enabled in profile
- Verify only one AAA adapter has
aaabroker - Test AAA adapter connectivity independently
- Check Platform logs for authentication errors
- Verify Platform restarted after profile change
Multiple AAA adapters causing issues
Symptom: Authentication inconsistent or failing
Solutions:
- Verify only one AAA adapter enabled per profile
- Check
brokersarray in each adapter configuration - Ensure only one adapter has
aaain brokers array - Disable unused AAA adapters
- Restart Platform after changes
Profile changes not taking effect
Symptom: AAA source doesn’t change after profile switch
Solutions:
- Verify Platform restarted after profile change
- Check active profile in Admin Essentials
- For HA: Restart all Platform servers in cluster
- Verify profile configuration saved successfully
- Check Platform startup logs for errors
Emergency failover not working
Symptom: Cannot access Platform after AAA failure
Solutions:
Platform 6:
- Verify properties file path correct
- Check environment variables in service file
- Verify Local AAA adapter configured
- Check file permissions on properties file
Platform 2023.2:
- Verify properties.json path correct:
/opt/pronghorn/current/properties.json - Check profile name matches exactly (case-sensitive)
- Verify MongoDB accessible
- Check Local AAA adapter configured in backup profile
HA cluster not synchronized
Symptom: Some servers authenticate, others don’t
Solutions:
- Verify all servers restarted after profile change
- Check all servers reading from same MongoDB database
- Verify profile settings synchronized across cluster
- Check network connectivity between servers
- Review Platform logs on each server
Verify AAA source
After switching AAA sources, verify authentication works: