Appendices
This section contains reference materials, quick guides, and supplementary information for the EPMware Agent.
Reference Materials
-
Appendix A - Port Requirements
Network ports and firewall configuration reference -
Appendix B - Security Checklist
Comprehensive security configuration checklist -
Appendix C - Agent Commands
Complete command reference for agent operations -
Appendix D - Error Codes
Error code reference and resolution guide
Quick Reference Guides
File Locations
Common file paths for reference:
Windows Paths
Installation: C:\cygwin64\home\[username]\
Configuration: C:\cygwin64\home\[username]\agent.properties
Logs: C:\cygwin64\home\[username]\logs\
Service Script: C:\cygwin64\home\[username]\ew_target_service.sh
Linux Paths
Installation: /home/[username]/
Configuration: /home/[username]/agent.properties
Logs: /home/[username]/logs/
Service Script: /home/[username]/ew_target_service.sh
Systemd Service: /etc/systemd/system/epmware-agent.service
Configuration Parameters
Essential configuration parameters:
| Parameter | Description | Example |
|---|---|---|
ew.portal.server |
EPMware server name | epmware1.company.com |
ew.portal.url |
EPMware URL | https://epmware.company.com |
ew.portal.token |
REST API token | UUID-format-token |
agent.interval.millisecond |
Polling interval | 30000 |
agent.root.dir |
Agent directory | /home/epmadmin |
Common Commands
Frequently used commands:
Start/Stop Operations
# Start agent
./ew_target_service.sh
# Stop agent
pkill -f epmware-agent
# Check status
ps aux | grep epmware-agent
# View logs
tail -f logs/agent.log
Testing and Validation
# Test connection
java -jar epmware-agent.jar --test
# Validate configuration
java -jar epmware-agent.jar --validate-config
# Check version
java -jar epmware-agent.jar --version
Network Requirements
Standard port requirements:
| Direction | Port | Protocol | Purpose |
|---|---|---|---|
| Outbound | 443 | HTTPS | EPMware Cloud |
| Outbound | 8080 | HTTP | EPMware On-Premise |
| Outbound | 19000 | TCP | HFM |
| Outbound | 19000 | TCP | Planning |
| Outbound | 1423 | TCP | Essbase |
System Requirements Summary
Minimum requirements checklist:
- [ ] CPU: 2+ cores x64
- [ ] Memory: 16 GB RAM
- [ ] Storage: 60 GB available
- [ ] Java: Version 1.8+
- [ ] Network: 10 Mbps+
- [ ] OS: Supported version
Security Requirements
Security configuration checklist:
- [ ] Dedicated service account
- [ ] Restricted file permissions
- [ ] Encrypted password files
- [ ] Regular token rotation
- [ ] Firewall rules configured
- [ ] Audit logging enabled
Environment Variables
Commonly used environment variables:
# Java Configuration
JAVA_HOME=/usr/java/latest
PATH=$JAVA_HOME/bin:$PATH
# Agent Configuration
EPMWARE_HOME=/home/epmadmin
EPMWARE_TOKEN=your-token-here
EPMWARE_ENV=production
# Proxy Configuration (if needed)
HTTP_PROXY=http://proxy:8080
HTTPS_PROXY=http://proxy:8080
NO_PROXY=localhost,127.0.0.1
Log File Reference
Understanding log entries:
Log Levels
| Level | Description | Example |
|---|---|---|
TRACE |
Detailed debug info | Method entry/exit |
DEBUG |
Debug information | Variable values |
INFO |
Normal operations | Deployment started |
WARN |
Warning conditions | Retry attempt |
ERROR |
Error conditions | Connection failed |
FATAL |
Fatal errors | Agent crash |
Log File Rotation
# Default rotation settings
log.file.max-size=10MB
log.file.max-history=30
log.file.total-size-cap=1GB
Troubleshooting Quick Reference
Problem Diagnosis Flow
graph TD
A[Problem Detected] --> B{Agent Running?}
B -->|No| C[Check Prerequisites]
B -->|Yes| D{Connecting?}
C --> E[Java/Config/Permissions]
D -->|No| F[Network/Token/URL]
D -->|Yes| G{Deploying?}
F --> H[Fix Configuration]
G -->|No| I[Application Access]
G -->|Yes| J[Check Logs]
Critical Files to Check
agent.properties- Configurationagent.log- Main activity logagent-poll.log- Polling activityew_target_service.sh- Service script
Performance Tuning Reference
JVM Settings
# Memory Settings
-Xms1024m # Initial heap
-Xmx2048m # Maximum heap
-XX:MaxMetaspaceSize=256m
# Garbage Collection
-XX:+UseG1GC
-XX:MaxGCPauseMillis=200
-XX:G1HeapRegionSize=8m
# Debugging
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/log/epmware
System Tuning
# File Descriptors
ulimit -n 65536
# Process Limits
ulimit -u 32768
# Network Tuning
sysctl -w net.core.rmem_max=134217728
sysctl -w net.core.wmem_max=134217728
Maintenance Schedule Template
Suggested maintenance activities:
Daily
- [ ] Check agent status
- [ ] Review error logs
- [ ] Monitor deployments
- [ ] Verify polling activity
Weekly
- [ ] Archive old logs
- [ ] Clean temp files
- [ ] Review performance metrics
- [ ] Test connectivity
Monthly
- [ ] Rotate credentials
- [ ] Update documentation
- [ ] Review security settings
- [ ] Capacity planning
Quarterly
- [ ] Agent updates
- [ ] Security audit
- [ ] Performance review
- [ ] DR testing
Support Information
Collecting Diagnostic Information
When contacting support, gather:
# System information
uname -a > diagnostics.txt
java -version >> diagnostics.txt
df -h >> diagnostics.txt
free -h >> diagnostics.txt
# Agent information
cat agent.properties | grep -v token >> diagnostics.txt
tail -1000 logs/agent.log >> diagnostics.txt
ps aux | grep epmware >> diagnostics.txt
# Network information
netstat -an | grep ESTABLISHED >> diagnostics.txt
Support Contact Information
EPMware Support - Email: support@epmware.com - Phone: 408-614-0442 - Portal: support.epmware.com - Hours: Monday-Friday, 8 AM - 6 PM PST
Version Information
Track version details:
# Agent version
java -jar epmware-agent.jar --version
# Java version
java -version
# OS version
cat /etc/os-release # Linux
ver # Windows
Glossary
Common terms and acronyms:
| Term | Definition |
|---|---|
| Agent | EPMware on-premise component |
| EPM | Enterprise Performance Management |
| HFM | Hyperion Financial Management |
| PCMCS | Profitability and Cost Management Cloud Service |
| REST | Representational State Transfer |
| Token | Authentication credential |
| UUID | Universally Unique Identifier |
Useful Scripts
Backup Script
#!/bin/bash
# backup_agent.sh
BACKUP_DIR="/backup/epmware/$(date +%Y%m%d)"
mkdir -p $BACKUP_DIR
cp agent.properties $BACKUP_DIR/
cp ew_target_service.sh $BACKUP_DIR/
tar -czf $BACKUP_DIR.tar.gz $BACKUP_DIR
Health Check Script
#!/bin/bash
# health_check.sh
if pgrep -f epmware-agent > /dev/null; then
echo "✓ Agent running"
else
echo "✗ Agent not running"
fi
Log Cleanup Script
#!/bin/bash
# cleanup_logs.sh
find logs/ -name "*.log" -mtime +30 -delete
find logs/ -name "*.gz" -mtime +90 -delete
find temp/ -type f -mtime +7 -delete
Change Log Template
Document configuration changes:
## Change Log
### 2023-11-15
- **Change**: Updated polling interval to 30 seconds
- **Reason**: Improve deployment responsiveness
- **By**: Admin Name
- **Tested**: Yes, in development
### 2023-11-01
- **Change**: Generated new REST token
- **Reason**: Quarterly rotation
- **By**: Admin Name
- **Tested**: Yes, connection verified
Compliance and Audit
Audit Requirements
Track for compliance:
- Access Logs - Who accessed the agent
- Configuration Changes - What was changed
- Deployment History - What was deployed
- Error Logs - What failed
- Token Usage - Authentication events
Compliance Checklist
- [ ] Passwords encrypted
- [ ] Tokens rotated regularly
- [ ] Audit logs retained
- [ ] Access controls implemented
- [ ] Security patches applied
- [ ] Documentation current
Living Document
These appendices are living documents that should be updated as your environment changes. Regular reviews ensure accuracy and usefulness.
Quick Access
Bookmark these appendices for quick reference during operations and troubleshooting.
Next Steps
Explore specific appendices:
- Port Requirements - Network configuration
- Security Checklist - Security hardening
- Agent Commands - Command reference
- Error Codes - Error resolution