Enterprise Manager - Instance Manager
Centrally manage individual ColdFusion server instances in enterprise deployments
Overview
The Instance Manager in ColdFusion Enterprise Manager provides centralized control for creating, configuring, and managing individual ColdFusion server instances across your enterprise deployment. Enterprise Manager enables administrators to manage multiple server instances from a single interface, streamlining configuration, monitoring, and maintenance tasks.
This feature is available only in ColdFusion Enterprise Edition and enables organizations to efficiently manage large-scale ColdFusion deployments with consistent configurations and centralized oversight.
Instance Creation
Configure and deploy new ColdFusion server instances.
Instance Name
prod-api-01, dev-web-02)prod-app-01, staging-api-02).HTTP Port
JVM Arguments
-Xms2048m -Xmx4096m (heap size), -XX:MaxMetaspaceSize=512m- Set initial heap (-Xms) equal to maximum heap (-Xmx) to prevent resize overhead
- Allocate 50-75% of server RAM to JVM heap (leave room for OS and other processes)
- Monitor garbage collection and adjust based on application behavior
- Use G1GC for heaps larger than 4GB:
-XX:+UseG1GC
Instance Directory
{CF_HOME}/cfusion/instances/{instance_name}Instance Lifecycle Management
Control instance states and manage running instances.
Start Instance
- Purpose
- Launch the ColdFusion instance and make it available for requests
- Startup Time
- Typically 30-90 seconds depending on applications and configurations
- Verification
- Check instance status in Enterprise Manager or access administrator URL
Monitor logs during startup to identify initialization issues or slow-loading applications.
Stop Instance
- Purpose
- Gracefully shutdown the instance
- Shutdown Time
- Allows active requests to complete (default 30-second timeout)
- Best Practice
- Remove from load balancer before stopping to avoid user disruption
Always stop instances gracefully rather than force-killing to prevent data corruption.
Restart Instance
- Purpose
- Stop and start instance to apply configuration changes
- When Required
- JVM changes, certain administrator settings, application updates
- Best Practice
- Schedule restarts during maintenance windows
Some settings take effect immediately; others require restart. Check documentation for specific settings.
Delete Instance
- Purpose
- Permanently remove instance and its configuration
- Warning
- Cannot be undone - all instance data will be deleted
- Before Deleting
- Back up configuration, logs, and any custom files
Remove instance from clusters and load balancers before deletion to prevent routing errors.
Instance Registration
Remote Instance Registration
- Provide remote instance hostname/IP and administrator port
- Enter administrator username and password
- Verify network connectivity and firewall rules
- Test connection before finalizing registration
Instance Authentication
Configuration Management
Centralized Configuration
Configuration Archive (CAR) Files
- Maintain CAR files in version control for configuration history
- Create separate CAR files for each environment (dev, staging, production)
- Test CAR imports in non-production before applying to production
- Document any manual configuration steps not captured in CAR files
- Exclude sensitive data (passwords) from version-controlled CAR files
Instance Monitoring
Instance Status
- States
- Running, Stopped, Starting, Stopping, Error
- Monitoring
- Real-time status updates in Enterprise Manager dashboard
- Alerts
- Configure notifications for instance state changes
Monitor instance status regularly to detect and respond to failures quickly.
Resource Utilization
- Metrics
- CPU usage, memory consumption, active requests, thread pool status
- Thresholds
- Set alerts for high resource usage
- Trends
- Historical data for capacity planning
Track resource trends to identify performance issues before they impact users.
Request Statistics
- Data
- Request count, average response time, slowest requests
- Analysis
- Identify performance bottlenecks and optimization opportunities
- Alerting
- Notify on slow requests or request queue buildup
Use request statistics to optimize application performance and user experience.
Log Access
- Logs
- Application logs, exception logs, mail logs, server logs
- Access
- View and download logs from Enterprise Manager interface
- Integration
- Export to centralized logging systems (ELK, Splunk)
Centralize logs for easier troubleshooting and security analysis across instances.
Common Issues & Solutions
Instance Won't Start
- Check instance logs for error messages (
coldfusion-out.log,coldfusion-error.log) - Verify HTTP port is not already in use by another process
- Ensure sufficient disk space for temporary files and logs
- Check JVM memory settings are appropriate for available RAM
- Verify file permissions on instance directory
- Review recent configuration changes that may have caused issue
Cannot Connect to Remote Instance
- Verify network connectivity between Enterprise Manager and remote instance
- Check firewall rules allow traffic on administrator port (default 8500)
- Confirm remote instance is running and accessible
- Test administrator credentials (username/password) are correct
- Verify remote instance administrator port in configuration
- Check for network proxy or NAT issues
Configuration Changes Not Applied
- Restart instance to apply changes (many settings require restart)
- Verify configuration was saved successfully (check for error messages)
- Check that instance is not using per-application settings that override administrator settings
- Review Application.cfc for settings that may override administrator configuration
- Confirm Enterprise Manager has latest instance status (refresh/sync)
- Check instance logs for configuration errors or warnings