Sample Smart Assist programEdit online These topics provides a sample Smart Assist program, based on the General Application Smart Assist (GASA). OverviewThe General Application Smart Assist (GASA) is a pre-installed Smart Assist that comes with PowerHA® SystemMirror®. Its intended purpose is for configuring applications that do not already have a target Smart Assists, but can be easily managed via start and stop scripts. Installing the sample programThe General Application Smart Assist is installed via the cluster.es.assist.common fileset, several files are copied to the local filesystem.Deinstalling the sample programThe Smart Assist component entries added via the claddsa command need to be removed during deinstallation. Call the clrmsa command to remove the entries.Command to discover Smart Assist componentsRecall that the DISCOVERY_COMMAND is per Smart Assist per component. For the GASA Smart Assist there is only one component, and therefore only one command to execute.Add application instance functionalityThere are two pieces to constructing a Smart Assist that allow users to add new instances of an application to the PowerHA® SystemMirror® configuration, the SMIT component, which include the dialog and smit fields, and the script that performs the add operation.Modify application instance functionalityThe modify functionality is similar to the add functionality. The user selects a particular application instance to modify, based on the application instance Smart Assist identifier and component identifier.Deleting application instancesAll of the operations required to remove an application instance from the cluster configuration are self contained within the Smart Assist framework. No additional code is required to simply remove the instance. SMIT general application Smart Assist add stanzasThis section lists the commented SMIT add stanzas for the GASA Smart Assist.SMIT general application Smart Assist modify stanzasThis section lists the commented SMIT Modify stanzas for the GASA Smart Assist.Parent topic: Developing Smart Assist applications for PowerHA SystemMirror