users@glassfish.java.net

Re: Target deployment after domain resource provisioning with asadmin

From: sankara rao bhogi <Sankara.Rao_at_Sun.COM>
Date: Tue, 16 Oct 2007 13:58:14 +0530

glassfish_at_javadesktop.org wrote:
> Hello,
>
> I want to be able to deploy already provisioned resources to a new cluster.
> I know how to do this with the GUI - i use the target tabs to propagate the resources to the new cluster.
>
> Is it possible to do the same from the CLI tool asadmin ?
> For the moment, i saw only creater-esource-xxx and delete-resource-xxx command but no update-resource-xxx command.
>
> Without this possibility - we are unable to script all the deployement in 2 phases :
> - phase1 : provisioning on the domain in the DAS
> - phase 2 : deployement to the cluster
>
create-resource-ref [--terse=false] [--echo=false] [--interactive=true]
[--host localhost] [--port 4849] [--secure|-s=true] [--user admin_user]
[--passwordfile file_name] [--target target(Default server)]
[--enabled=true] reference_name

Should do the job for you.

regards
sankar
> Thanks for your ideas !
> Olivier
> [Message sent by forum member 'omerlin' (omerlin)]
>
> http://forums.java.net/jive/thread.jspa?messageID=240337
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>