Skip to main content
A newer release of this product is available.

application modify

Contributors
Suggest changes

(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 (privilege: advanced)

The Vserver hosting the application.

-application <text> - Application (privilege: advanced)

The name of the application to modify.

-application-components <Application Component>,…​ - Application Components (privilege: advanced)

A list of application component names to modify.

[-storage-service <text>] - Storage Service (privilege: advanced)

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 (privilege: advanced)

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