application modify

(DEPRECATED)-Modify properties of an application

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

Note: This command is deprecated and may be removed in a future release of Data ONTAP. Use the REST interface instead.
This command modifies properties of an application. The user must specify the names of one or more existing application components of an existing application and properties to apply to those application components. The command fails and the application remains in its initial state unless all of the application components can be modified at once.

Parameters

-vserver <vserver name> - Vserver
The Vserver hosting the application.
-application <text> - Application
The name of the application to modify.
-application-components <Application Component>, ... - Application Components
A list of application component names to modify.
[-storage-service <text>] - Storage Service
The new storage service to use for the listed application components. The storage-service show command displays the available storage services.
If the current aggregates hosting the application components can accommodate the requested storage service, the application components are modified to use the new storage service.
If the current aggregates hosting the application components cannot accommodate the requested storage service, the command fails and all the specified application components continue with their existing storage services.
Modifying the storage service of application components results in modifying the associated QoS policies to reflect the new storage service. The contents of the application components continue to remain on the same storage elements.
[-foreground {true|false}] - Execute in the Foreground
A boolean value that determines if the application modification executes synchronously at the command prompt in the foreground or asynchronously in the background. If this parameter is not supplied, it defaults to true and the application modification is executed synchronously at the command prompt.

Examples

The following command modifies application app1 in Vserver vs1 based on the BasicModify application template. Application components component1 and component2 are modified to use the extreme storage service.
cluster1::> application modify -vserver vs1 -application app1 -application-components component1,component2 -storage-service extreme
The following command modifies application app1 in Vserver vs1 based on the BasicModify application template. Application component component1 is modified to use the value storage service and application component component2 is modified to use the extreme storage service.
cluster1::*> application modify -vserver vs1 -application app1 -application-template BasicModify -parameters application-components[0].name:component1,application-components[0].storage-service:value,application-components[1].name:component2,application-components[1].storage-service:extreme