Skip to content

/AWS1/CL_OWC=>STARTMAINTENANCE()

About StartMaintenance

Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. The server is in an UNDER_MAINTENANCE state while maintenance is in progress.

Maintenance can only be started on servers in HEALTHY and UNHEALTHY states. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid.

Method Signature

IMPORTING

Required arguments:

IV_SERVERNAME TYPE /AWS1/OWCSERVERNAME /AWS1/OWCSERVERNAME

The name of the server on which to run maintenance.

Optional arguments:

IT_ENGINEATTRIBUTES TYPE /AWS1/CL_OWCENGINEATTRIBUTE=>TT_ENGINEATTRIBUTES TT_ENGINEATTRIBUTES

Engine attributes that are specific to the server on which you want to run maintenance.

Attributes accepted in a StartMaintenance request for Chef

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_OWCSTRTMAINTENANCERSP /AWS1/CL_OWCSTRTMAINTENANCERSP