To setup your machine to allow to run Java Services without using an hypervisor, you can use the native mode which basically runs the services on the operating system directly. Add native virtualization You need to configure IMS to allow for native services by issuing the
$WS_HOME/appserver/distributions/glassfish/glassfish3/glassfish/bin/asadmin add-virtualization --type Native
Templates There are no real templates in native mode although we will support registering zip files (glassfish installations for instance) at some point. Also the packaging of native applications providing services like Oracle providing the Database services will be resolved later. Adding a template so far assumes that the template customizer will be able to resolve the software installations and starting/stopping. Example
$WS_HOME/appserver/distributions/glassfish/glassfish3/glassfish/bin/asadmin add-virtualization --type Native
$WS_HOME/appserver/distributions/glassfish/glassfish3/glassfish/bin/asadmin create-server-pool --subnet 10.132.181.0/24 --portName "en0" --virtName Native cloud
$WS_HOME/appserver/distributions/glassfish/glassfish3/glassfish/bin/asadmin create-template --indexes ServiceType=JavaEE,VirtualizationType=Native Native
$WS_HOME/appserver/distributions/glassfish/glassfish3/glassfish/bin/asadmin create-template --indexes ServiceType=Database,VirtualizationType=Native DBNative
|