Howto define addtional arguments for a Hedeby JVM

The Service Domain Manager (project Hedeby) is implemented in java. Hedeby defines the Java Virtual Machines  (jvm) in the global configuration.
Administrators can modify the settings for the jvm in the global configuration of the Hedeby system (settings like -Xmx or -D<system property>=value).  The global configuration can be modified with sdmadm mod_global_config (shortcout mgc). This command opens the global configuration into your preferred editor.

For each JVM the global config defines one JVM section. This section allows the definition of jvmArgs. The following example restricts the max. heap size of the jvm to 128MB and enables the incremental garbage collector.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<common:global name="sdm_prod" ...>
    <common:jvm port="45092"
                user="sdm_admin"
                name="cs_vm">
        <common:component xsi:type="common:MultiComponent"
                          classname="com.sun.grid.grm.executor.impl.ExecutorImpl"
                          name="executor"
                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

        <common:jvmArg>-Xmx128M</common:jvmArg>
        <common:jvmArg>-Xincgc</common:jvmArg>
    </common:jvm>
    <common:jvm ...>
</common:global> 

After modifying the global configuration the administrator has to restart the jvms.

For more details about the jvm configurations please have a look at http://wikis.sun.com/display/GridEngine/SDM+Configuration+Reference#SDMConfigurationReference-JVMsandComponents





Comments:

Post a Comment:
Comments are closed for this entry.
About

rhierlmeier

Search

Archives
« February 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
       
       
Today