Managing applications
In the StorONE system, an application is a logical namespace for grouping virtual storage containers (VSCs, also referred to as volumes within the user interfaces and documentation). Using the command line interface (CLI), you can list, create, edit, and delete applications using the applications
command.
Listing applications
To list application instances, use the applications list
command.
Usage
applications list [--application=<name>] [--desc] [--cg] [--vols]
Options
Options and arguments | Description |
---|---|
--application=<name> |
List information from the specified application. Replace <name> with the application you want to list. |
--desc |
Show application descriptions. |
--cg |
Show consistency groups within each application. |
--vols |
List volumes within each application. |
Examples
-
To list all applications and their descriptions, run:
applications list --desc
-
To list all applications and their descriptions, as well as the volumes within each application, run
applications list --desc --vols
-
To display the description, consistency groups, and volumes for only the
sales
application, runapplications list --application sales --desc --cg --vols
Creating an application
You can create an application instance using the application create
command. You cannot create VSCs or use any of the other features of the applications
commands without creating at least one application instance. An application instance is a namespace for volumes. Within the application instance, volume names must be unique. However, volumes with the same name may exist in different application namespaces..
Usage
applications create --application=<name> [--template=<template>] [--description=<description>]
Options
Options and arguments | Description |
---|---|
--application=<name> |
Specifies the application name. Replace <name> with a name of your choice. |
--template=<template> |
Creates the application from a template. Replace <template> with the template name. |
--description=<description> |
Provide a description for the application. If the description contains spaces, surround it with double quotes (for example, --description "VDI volumes for HR" ). |
Examples
-
To create a new application instance
sales
with a description, runapplications create --application sales --description "Application for the sales team."
-
To create application instance
HR
from a templatestandard-app-inst
with a description, runapplication create --application HR --template standard-app-inst --description "For our HR team"
Editing an application
To edit an application, use the applications edit
command. Because applications are just logical namespaces for volumes, the only attributes to edit are the name and description.
Usage
applications edit --application=<name> [--newname=<new_name>] [--description=<new_description>]
Options
Options and arguments | Description |
---|---|
--application=<name> |
Specify the name of the application you want to edit. |
--newname=<new_name> |
Specify the new name for the application. Replace <new_name> with a name of your choice. |
--description=<new_description> |
Provide a new description for the application. If the description contains spaces, surround it with double quotes (for example, --description "File shares for Sales and Engineering" ). |
Examples
-
To change the description of application instance
sales
, runapplications edit --application sales --description "We are the most powerful sales team in the universe."
-
To change the name of the application instance
sales
tosuper-sales
; runapplication edit --application sales --newname super-sales
-
To change the name of the application instance
HR
tohuman-resources
and to change the description, runapplication edit --application HR --newname human-resources --description "VSCs for the HR department"
Deleting an application
To delete an application instance, use the applications delete
command.
Usage
applications delete --application=<name> [--force]
Options
Options and arguments | Description |
---|---|
--application=<name> |
Specify the name of the application to delete. |
--force |
Delete the application without prompting for approval. |
Examples
-
To delete application instance
HR
; runapplications delete --application HR
-
To delete application instance
HR
without getting prompted for approval, runapplications delete --application=HR --force
No Comments