You are here: Administration > Man Pages > LCDI-applications(1M)

LCDI-applications(1M)

NAME

LCDI-applications(1M) — access information on applications

SYNOPSIS

app_create [-d dest] -a appname

app_remove [-d dest] -a appname

app_list [-d dest]

DESCRIPTION

A LifeKeeper application is a group of related resource types. For example, the scsi application includes resource types for defining disks, new devices, and host adapters. When an application is removed, all resource types installed under it are also removed.

These programs provide an interface for generating new applications in the configuration database and removing existing ones. All commands exit 0 if successful. On failure, they return a non-zero code (see EXIT CODES section) and print to stderr.

SYNTAX

app_create [-d dest] -a appname

Creates a new application. The application is tied to system dest, using the name called appname. If dest is not supplied, the application is created locally.

app_remove [-d dest] -a appname

Removes the given application from the configuration database set of known applications. All resource types, resource instances, and equivalences relating to this application are also removed. Failure can occur because the application is not known to the configuration database. If dest is not specified, the current system is assumed.

app_list [-d dest]

This command prints to stdout a list of applications that have installed software to work with LifeKeeper on the system dest. If dest is not specified, the current system is assumed.

EXIT CODES

The following exit codes could be returned by these commands:

0

The operation has succeeded.

1

A Unix system call or library call has internally returned failure.

2

A user-specified syntax error occurred.

3

LifeKeeper internal error.

4

A request to perform an operation on an object that already exists.

5

An argument specified is illegal.

6

Index out-of-range.

7

A request has been made on an object that does not exist.

8

A request was made to delete a resource instance on which another non-deleted resource instance depends.

9

An attempt to communicate with another system failed.

NOTES

The location of this utility, LKROOT, is defined in the default file /etc/default/LifeKeeper.

FILES

/etc/default/LifeKeeper

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.