Application Server Configuration Using N1SPS Plugin's asadmin Component

Configuration of the Application Server is done mostly using the predefined components under the 'Configuration Tasks Node' of Application Server Plugin Navigation Menu. For details, please refer to Prashant's blog on the Plugin Tasks. It is also possible to configure the Application Server using Generic asadmin component under 'Other Tasks'. This blog will explain the use of generic asadmin component for configuring Application Server. Here are the steps for configuring maximum heap size, steps are similar for configuring other options as well.

01. Determine the current Value

Determine the current value corresponding to maximum heap size JVM Options using admin console.
 

From the above image, we can see that the current value is "-Xmx512m" which we would like to increase to 1024m (1 GB).
 

02. Delete the existing JVM option

The equivalent asadmin command for deleting the jvm option is 'asadmin delete-jvm-options -- -Xmx512m'.
 

Select 'Other Tasks' from the Plugin navigation menu and 'Remote Command' on the right.
 

Provide the values for host, select 'Edit Variable Set' and define new variable set called 'delete_heap_512m' as shown below.
 

Click on 'Save' and 'Run' on the main window.
 

03. Create new JVM option

The equivalent asadmin command for creating the jvm option is 'asadmin create-jvm-options -- -Xmx1024m'.
Select 'Other Tasks' from the Plugin navigation menu and 'Remote Command' on the right.
 

Provide the values for host, select 'Edit Variable Set' and define new variable set called 'create_heap_1024m'.

Click on 'Save' and 'Run' on the main window.
 

04. Verify the new Value

Determine the new value corresponding to maximum heap size JVM Options using admin console.
 


 

For additional resources, please refer to Application Server N1SPS Plugin - Blogs and Resources

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

msreddy

Search

Categories
Archives
« April 2014
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
29
30
   
       
Today