This procedure creates and starts a new Application Server instance (as-cluster-inst-ps2) on ps2, which belongs to pscluster.
Run the create—instance command:
# /opt/SUNWappserver/sbin/asadmin create-instance --user admin --host ps1.pstest.com --cluster pscluster --nodeagent na-ps2 --systemproperties HTTP_LISTENER_PORT=80 as-cluster-inst-ps2
When prompted, type the app-server-admin-password.
The response should indicate that you successfully created the instance:
Command create-instance executed successfully.
Run the start—instance command:
# /opt/SUNWappserver/sbin/asadmin start-instance --user admin --host ps1.pstest.com as-cluster-inst-ps2
When prompted, type the app-server-admin-password.
The response should indicate that you successfully started the instance:
Command start-instance executed successfully.