Configuring Local Properties for the SAE (SRC CLI)
Use the following configuration statements to configure local properties for the SAE:
real-portal-address real-portal-address ;
java-runtime-environment java-runtime-environment ;
java-min-heap-size java-min-heap-size ;
java-heap-size java-heap-size ;
java-min-new-size java-min-new-size ;
java-new-size java-new-size ;
java-min-heap-size-percentage java-min-heap-size-percentage ;
java-heap-size-percentage java-heap-size-percentage ;
java-min-new-size-percentage java-min-new-size-percentage ;
java-new-size-percentage java-new-size-percentage ;
java-garbage-collection-options java-garbage-collection-options ;
port-offset port-offset ;
snmp-agent;
shared shared ;
To configure local properties on the SAE:
From configuration mode, access the SAE RADIUS configuration. This configuration is under the slot 0 hierarchy.
[edit]user@host# edit slot 0 sae(Optional) If you store data in the directory in a location other than the default, o=umc, change this value.
[edit slot 0 sae]user@host# set base-dn base-dnConfigure the interface on the SAE that the SAE uses to communicate with the router.
[edit slot 0 sae]user@host# set real-portal-address real-portal-address(Optional) Configure the percentage of total memory that should be allocated to the minimum heap memory size of SAE process.
[edit slot 0 sae]user@host# set java-min-heap-size-percentage java-min-heap-size-percentageNote You cannot configure the java-min-heap-size option manually. This option is automatically configured based on the value set to the java-min-heap-size-percentage option.
(Optional) If you encounter problems caused by lack of memory, change the percentage of total memory that should be allocated to the maximum heap memory size of SAE process.
[edit slot 0 sae]user@host# set java-heap-size-percentage java-heap-size-percentageNote You cannot configure the java-heap-size option manually. This option is automatically configured based on the value set to the java-heap-size-percentage option.
Configure the percentage of total memory that should be allocated to the minimum young generation size of SAE process.
[edit slot 0 sae]user@host# set java-min-new-size-percentage java-min-new-size-percentageNote You cannot configure the java-min-new-size option manually. This option is automatically configured based on the value set to the java-min-new-size-percentage option.
Configure the percentage of total memory that should be allocated to the maximum young generation size of SAE process.
[edit slot 0 sae]user@host# set java-new-size-percentage java-new-size-percentageNote You cannot configure the java-new-size option manually. This option is automatically configured based on the value set to the java-new-size-percentage option.
Note SAE restart is required if the java-min-heap-size-percentage, java-heap-size-percentage, java-min-new-size-percentage, or java-new-size-percentage option is changed. When upgrading from SRC 4.11 or earlier versions, if the heap value set to java-min-heap-size, java-heap-size, java-min-new-size, or java-new-size is less than 1 percent of total memory, then the java-min-heap-size-percentage, java-heap-size-percentage, java-min-new-size-percentage, or java-new-size-percentage value will be set to 1%, respectively. If the heap value is greater than the total memory, then the percentage value will be set to 100%.
Configure the garbage collection functionality of the Java Virtual Machine.
[edit slot 0 sae]user@host# set java-garbage-collection-options java-garbage-collection-optionsIf you install multiple instances of the SAE on the same host, set a port offset for SAE instances.
[edit slot 0 sae]user@host# set port-offset port-offset(Optional) Enable the SRC SNMP agent to communicate with the SAE.
[edit slot 0 sae]user@host# set snmp-agent(Optional) Configure an SAE group configuration.
[edit slot 0 sae]user@host# set shared shared(Optional) Verify your configuration.
[edit slot 0 sae] user@host# show base-dn o=UMC; real-portal-address 10.10.4.24; java-runtime-environment ../jre/bin/java; java-heap-size 20527m; java-heap-size-percentage 85; java-min-heap-size 1932m; java-min-heap-size-percentage 8; java-min-new-size 241m; java-min-new-size-percentage 1; java-new-size 966m; java-new-size-percentage 4; java-garbage-collection-options "-Xbatch -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=80 -XX:+UseParNewGC -XX:SurvivorRatio=1 -XX:InitialTenuringThreshold=8 -XX:MaxTenuringThreshold=10 -XX:TargetSurvivorRatio=90 -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0 -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled"; port-offset 0; snmp-agent; shared /SAE/REGION-1;