Provisioning with an existing installation of GlassFish V2
By bloggerprashanth on Oct 22, 2007
We have seen from other blogs with regards to how to manage the remote installations of Sun Java System Application Server 9.1 (productized version of GlassFish V2) using the N1SPS plugin for Application Server.
In this blog I will show you how to identify and absorb an existing installation of GlassFish V2 on a remote machine and manage it with N1SPS plugin.
This is particularly useful with GlassFish V2 which doesn't have a silent installer that could be used inline with N1SPS to do a remote installation. In order to get over this limitation, you need to either use the Sun Java System Application server 9.1 (Again the productized version of GlassFish V2) or do a manual install of the GlassFish V2 itself and then follow the below instructions.
Please see my blog on how to do an Application Server installation using the N1SPS Plugin. In order for the N1SPS to identify an existing installation of Application Server (which was earlier installed manually), you need to do a markOnly installation of the Application Server from the N1SPS Plugin. Lets see how we can do this.
markOnly Installation of Application Server1) Drop down the tree in the left pane under 'Manage Applications' until you see 'Application Server'. Click on 'Installation Tasks' and Select 'Install (markOnly)' on the right pane.
2) Select the 'Target Host', the RA machine where the Application server is already installed.
3) You need to additionally create a variable set for this component. Click on the 'New Variable Set' and fill in the fields as below ('installDirectory' and 'installDataServerConfigDirectory'), you dont need to enter the sourceImage directory as this is 'markOnly' installation.
4) Click on 'Run' to do the markOnly installation of the Application server on selected target hosts. You will see the progress bar until the markOnly installation is complete.
5) You can verify if the installation is successful, by going into the 'View Activity Log' where you view all the executed plans.
6) Now you can proceed to use this 'host' for other tasks, just like any other regular(complete) Application Server installations performed using the N1SPS plugin.