-
Notifications
You must be signed in to change notification settings - Fork 8
Defined type jboss::domain::servergroup
This defined type simplifies creation and removal and updating JBoss domain server group that can enforce same configuration (profile, deployments and JVM settings) across multiple servers on multiple host controllers. This is only possible in domain mode.
include jboss
jboss::domain::servergroup { 'app-group':
ensure => 'present',
profile => 'full-ha',
heapsize => '2048m',
maxheapsize => '2048m',
jvmopts => '-XX:+UseG1GC -XX:MaxGCPauseMillis=200',
system_properties => {
'java.security.egd' => 'file:/dev/urandom',
}
}
Parameters for jboss::domain::servergroup
:
This type uses JBoss module standard metaparameters
Standard Puppet ensure parameter with values present
and absent
This parameters configures JVM PermGen minimal size, By default it is equal to 32m
This parameters configures JVM PermGen maximal size, By default it is equal to 256m
This parameters configures JVM Heap minimal size, By default it is equal to 256m
This parameters configures JVM Heap maximal size, By default it is equal to 1303m
This parameter configure profile to be active on all servers within this group. By default it is equal to value of $::jboss::profile
.
This parameter indicates that server instances within this group should use value of it as socket binding group, By default it is set to full-sockets
.
This parameter indicates offset on JBoss ports, defined by socket binding group. It will shift ports up or down by amount described. The format is simply n
or -n
, for example: 120
will shift all ports by 120 up making standard http port being now 8080 + 120 = 8200
. By default it is equal to 0
.
This parameter can be used to set system properties that will be passed to server instance java process as -D
parameters. It's empty by default.
This property can be set to configure additional JVM options to be passed to server instances in addition to standard memory configuration.