Sun Java System Portal Server 7.1 Command Line Reference

psadmin redeploy

Description

Redeploys a Portal Server to a web container instance. if there's more than one Portal Server instance, this command will deploy the Portal application to all instances. If --allwebapps option is given, this command will re-deploy all web apps which are deployed with the Poral Server web application in the same web container instance.

Syntax

Long Format

psadmin redeploy --adminuser uid --passwordfile password-filename --portal portal-name [--instance portal-instance] [--allwebapps]

Short Format

psadmin redeploy -u uid -f password-filename -p portal-name [-i portal-instance] -W

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name (dn), or user ID (uid).

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--portal | -p] portal-name

Specifies the name of the portal that the instance belongs to.

The following option is optional:

[--allwebapps | -W]

Use of this flag will cause the web container to redeploy all web applications that were deployed for the Portal. It is recommended that this operation is done during off hours or non-production time. Also, depending on the number of web applications, it might take a while to complete the redeployment.

[--instance | -i]

Specifies the identifier of the Portal Server Instance. If not specified, the portlet application is deployed to all Portal Server Instances.


Note –

If you are in the cluster environment, be sure to specify the portal instance id which is installed on the cluster using this option. However, if you are not in the cluster environment, it is recommended to use this option ONLY in a development environment, since using this option will cause inconsistency between Portal Server Instances.