#
Activating Features on Selected Clients
The module activation override configuration enables the activation of features on specific clients.
Apply the configurations shown in the Open iT server.
In the module activation configuration file, add an
override
subobject after the value. The override node changes the active/inactive values written in the main node or submodule node depending on the architecture, operating system, or host.If the main node has active value set to false, but the override is set to true, the feature will still be activated.
It has seven child options:
Module Activation Override Child Options
The
arch
,os
, andhost
follow this format:<arch|os|host> : <value> : <true|false>
Exampleoverride { type=list os:.*:true arch:.*:false host:mnl.*:false }
If the machine's
os
,host
, orarch
matches the specified regex pattern, then the active value of the main node will be set to the value configured on this override node.If the child options have different Boolean values, the last one to match the regex will be the active value. In the example above, the
os
has a regex pattern of.*
and its value is set totrue
, while thehost
has pattern ofmnl.*
and a value offalse
, then the active value will still be false if the hostname starts withmnl
.The
exclude-arch
,exclude-os
, andexclude-host
follow this format:<exclude-arch|exclude-os|exclude-host> : <value>
Exampleoverride { type=list exclude-os:win.* exclude-arch:.*64.* exclude-host:(?i)mnl.* }
If the machine's
exclude-os
,exclude-host
, orexclude-arch
matches the specified regex pattern, then the active value of the main node will be excluded.For example, you want to activate DSLS Autoconfigurator on all hostnames starting with mnl, except on RHEL machines and mnl1555win:
license_analyzer.conf31| dsls 32| { 33| display=DSLS 34| description=Job for autoconfigurating DSLS License Servers. 35| active 36| { 37| type=bool 38| value=true 39| override 40| { 41| type=list 42| host:(?i)mnl.*:true 43| exclude-os:rhel.* 44| exclude-host:mnl1555win 45| } 46| }
Another example, you want to activate FreezeMonitor on all machines with Windows 64-bit operating systems:
license_optimizer.conf12| standalone 13| { 14| display=Optimizer Agent 15| description=Job to log, suspend, or terminate idle application 16| active 17| { 18| type=bool 19| value=true 20| override 21| { 22| type=list 23| os:win.*:true 24| arch:64-bit:true 25| } 26| }
Save the changes in the module activation configuration file.
To immediately reflect the changes on the client machine, delete the
dist-config
folder anddist-config.[platform].tar.gz
file in the temp directory, which is by default inC:\Program Files\OpeniT\Core\Log\temp
. Then, follow the instructions in the Manual File Distribution to a Client section.
In the module activation configuration file, add an
override
subobject after the value. The override node changes the active/inactive values written in the main node or submodule node depending on the architecture, operating system, or host.If the main node has active value set to false, but the override is set to true, the feature will still be activated.
It has seven child options:
Module Activation Override Child Options
The
arch
,os
, andhost
follow this format:<arch|os|host> : <value> : <true|false>
Exampleoverride { type=list os:.*:true arch:.*:false host:mnl.*:false }
If the machine's
os
,host
, orarch
matches the specified regex pattern, then the active value of the main node will be set to the value configured on this override node.If the child options have different Boolean values, the last one to match the regex will be the active value. In the example above, the
os
has a regex pattern of.*
and its value is set totrue
, while thehost
has pattern ofmnl.*
and a value offalse
, then the active value will still be false if the hostname starts withmnl
.The
exclude-arch
,exclude-os
, andexclude-host
follow this format:<exclude-arch|exclude-os|exclude-host> : <value>
Exampleoverride { type=list exclude-os:win.* exclude-arch:.*64.* exclude-host:(?i)mnl.* }
If the machine's
exclude-os
,exclude-host
, orexclude-arch
matches the specified regex pattern, then the active value of the main node will be excluded.For example, you want to activate DSLS Autoconfigurator on all hostnames starting with mnl, except on RHEL machines and mnl1555win:
license_analyzer.conf31| dsls 32| { 33| display=DSLS 34| description=Job for autoconfigurating DSLS License Servers. 35| active 36| { 37| type=bool 38| value=true 39| override 40| { 41| type=list 42| host:(?i)mnl.*:true 43| exclude-os:rhel.* 44| exclude-host:mnl1555win 45| } 46| }
Another example, you want to activate FreezeMonitor on all machines with Windows 64-bit operating systems:
license_optimizer.conf12| standalone 13| { 14| display=Optimizer Agent 15| description=Job to log, suspend, or terminate idle application 16| active 17| { 18| type=bool 19| value=true 20| override 21| { 22| type=list 23| os:win.*:true 24| arch:64-bit:true 25| } 26| }
Save the changes in the module activation configuration file.
To immediately reflect the changes on the client machine, delete the
dist-config
folder anddist-config.[platform].tar.gz
file in the temp directory, which is by default in/var/opt/openit/temp
. Then, follow the instructions in the Manual File Distribution to a Client section.