app_create [-d destsys] -a appname
app_remove [-d destsys] -a appname
app_list [-d destsys]
A LifeKeeper application is a group of related resource types. 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 to 0 if they are successful. Commands exit with a nonzero code and print to standard error if they fail.
The following exit codes could be returned by these commands:
|The operation has succeeded.
|A system call or library call has internally returned failure.
|A user-specified syntax error occurred.
|LifeKeeper internal error.
|A request to perform an operation on an object that already exists.
|An argument specified is illegal.
|A request has been made on an object that does not exist.
|A request was made to delete a resource instance on which another non-deleted resource instance depends.
|An attempt to communicate with another system failed.