Name

nnmseeddelete.sh — Remove seed from the NNM topology database

SYNOPSIS

nnmseeddelete.sh -help | -f seedFile | -seed <seed> [-u <username> -p <password>] [-jndiHost <hostName> Default: localhost] [-jndiPort <port> Default: 1099]

DESCRIPTION

nnmseeddelete.sh removes a seed from the system.

Parameters

nnmseeddelete.sh supports the following options:

-seed <seed>

The seed to delete. A seed can be a host name or an IP address and must match exactly as listed in the seed list.

-f seedFile

Specify a text file to read the seeds from.

-u <username>

Supply the NNMi administrator username to run the script.

-p <password>

Supply the NNMi administrator password to run the script.

-jndiHost <serverName>

The server JNDI host; default is localhost.

-jndiPort <port>

The server JNDI port; default is 1099.

EXAMPLES

nnmseeddelete.sh -u username -p password -seed 10.1.2.3

Removes the seed 10.1.2.3. (You must provide an NNMi administrator username and password.)

nnmseeddelete.sh -f /tmp/seeds_to_delete.txt

Removes each seed listed in the file.

Diagnostics

nnmseeddelete.sh returns the following exit codes:

0

Operation was successful.

1

Seeds were deleted.

2

An error occured; see error message for details.

-help

Prints the usage statement.

AUTHOR

nnmseeddelete.sh was developed by Hewlett Packard Enterprise.

FILES

$NMS_BIN/nnmseeddelete.sh

SEE ALSO

nnmloadseeds.sh(1M)

Return to Reference Pages Index