Configuration file location
The Server module is configured in a single file named config.xml that can be found in WEB-INF/classes/conf/config.xml file into the nodecollector war.
Configuration file contents
- abicloud: common information about the release.
- version: The release version
- distribution: The distribution operating system.
- configClass: The class that will manage the module configuration.
- timeout: Max time to process the requests.
- dbDataSource: Database connection string.
- sessionTimeout: Session timeout in minutes.
- maxNumSessions: Max number of sessions by user.
- virtualCpuForCore: Default number of virtual CPUs for each physical machine.
- resourceAllocationLimit: Default soft and hard limits for control the infrastructure resources.
- cpu: CPU limits.
- ram: Memory limits.
- hd: Hard disk limtis.
- eventSinkAddress: Where the event sink is listening for subscribed events.
- sanityTime: Interval between Sanity check executions.
- healthTime: Interval (in minutes) between health check executions.
- Networking
- vlanPerSwitch: Max VLAN number supported by edge switch.
- vlanPerVDC Max VLAN number per Virtual DataCenter.
- NRSQ: Networking Resource Security quotient (in %), it's the VLAN percentage that will not be allocated by the Networking scheduler.
- publicVLANtag: All the public networks will be tagged with this VLAN tag
- mail: Mail system configuration.
- server: The IP address of the mail server.
- user: The username used to send mails.
- password: The password.
- apiLocation: The location of the Abiquo API module.
- repositorySpace: Optionally specify the default repository space for all the enterprises.
Important considerations
- Your installed tomcat should have a $TOMCAT_HOME/conf/Catalina/localhost/server.xml with the database connection values. The resourceName should match with the dbDataSource value. Please refer to a common server.xml configuration in the last part of this page. The mysql-connector-java-$version.jar should also be copied into the $TOMCAT_HOME/lib folder.
- The eventSinkAddress must never be configured as localhost. Always must contain the domain name or IP address of the server. This is necessary because this value will be sent to the Nodes/Hypervisors to let they know where to send the subscribed events (power on , power off, ...). If this value is set to localhost the nodes will send the event to themselves.
- Configure the bpmMonitorAddress according to its location.
- Configure the applianceManagerAddress according to its location.
- Don't forget to configure the mail server according with its configuration.
- We strongly recommend to leave the rest of configuration files like the default config.xml file.
Default configuration file contents
config.xml
server.xml

