Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.6.1 cleanup-prf

The cleanup-prf subcommand cleans up the PRF server environment.

Synopsis

asadmin [asadmin-options] cleanup-prf [--nodedir node-dir]
    [--node node-name] prf-name

Storage location

Application Server installation directory\javaee\glassfish\bin

Function

The cleanup-prf subcommand stops the PRF servers that were created on the host running the subcommand, and removes (cleans up) the PRF environment. However, the subcommand does not remove the PRF information from the domain.

Use this command for the PRF servers that are not managed by the domain administration server in situations where the PRF environment remains on the remote node because a domain was recreated when the domain administration server stopped.

This subcommand is supported only in the local mode.

Execution permission

Standard user account

Precondition

The domain administration server does not manage the PRF server of the target node.

Arguments

--nodedir node_dir

Specifies the node directory where the PRF server was created.

Type: String

You can specify the following values:

  • Path of the existing node directory.

Default value: Application Server installation directory/nodes

--node node_name

Specifies the name of a node where a PRF server has been created.

Type: String

You can specify the following values:

  • Existing node name.

Default value: N/A

This option can be omitted if only one node directory exists in the directory specified by the --nodedir option.

prf_name

Specifies the name of the PRF server to be deleted.

Type: String

You can specify the following values:

  • Name of the server where the PRF server exists.

Default value: (None. You must specify a value.)

Examples

The following example removes the PRF environment named PRF1, which belongs to the localhost-domain1 node, and which was built in the /temp/nodes directory.

asadmin cleanup-prf --nodedir /temp/nodes --node localhost-domain1 PRF1

Exit Status

Exit Status

Explanation

0

Normal termination.

1

Abnormal termination.

Notes