Sreeni's Weblog

Application Server Configuration Using N1SPS Plugin's asadmin Component

Wednesday Oct 10, 2007

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

[1] Comments
Comments:

sdfsd

Posted by 125.16.30.178 on March 03, 2008 at 02:55 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed