Push install MSSQL agent on a Windows server
Select
This operation is used to install the MSSQL agent on a server
- application/json
Request Body
taskInfo object
task object
taskTypePossible values: [
IMMEDIATE,SCHEDULE]Default value:
IMMEDIATEsubTasks object[]
subTask object
subTaskType integeroperationType stringDefault value:
INSTALL_CLIENToptions object
adminOpts object
clientInstallOption object
installerOption object
User object
userId integerDefault value:
1userName stringDefault value:
ADMINCommServeHostName string requiredHostname of the commserver
installFlags object
Internal fields required for install
allowMultipleInstances booleanDefault value:
falseinstall32Base booleanDefault value:
falsedisableOSFirewall booleanDefault value:
falseaddToFirewallExclusion booleanDefault value:
trueforceReboot booleanDefault value:
falsekillBrowserProcesses booleanDefault value:
trueignoreJobsRunning booleanDefault value:
falsestopOracleServices booleanDefault value:
falseskipClientsOfCS booleanDefault value:
falserestoreOnlyAgents booleanDefault value:
falseoverrideClientInfo booleanDefault value:
truefirewallInstall object
enableFirewallConfig booleanDefault value:
falsefirewallConnectionType integerportNumber integerclientComposition object[]
components object
componentInfo object[] required
ComponentName stringDefault value:
SQL ServerComponentId integerDefault value:
353osType stringDefault value:
windowssqlAgent object required
instanceAutoDiscovery booleanDefault value:
trueMSSQLCredentialinfo object
Info of the credential record used for SQL impersonation
credentialId integerID of the credential record
clientInfo object
client object
evmgrcPort integercvdPort integerclientDetails object[]
clientEntity object required
clientId integerClient id of the server where MSSQL agent is installed. For new clients, set this to zero
clientName stringClient name
hostName stringHost name of the client
displayName stringName to be displayed on commcell console/command centre
installOSType integerdiscoveryType integerclientAuthForJob object required
Credential record for install
savedCredential object
credentialId integerID of the credential record to sign in to client to perform install
updateOption object
rebootClient booleanDefault value:
trueplan object required
planId integerPlan id of the plan to be associated with client
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
Install Job ID(s)
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 30450,
"jobIds": [
"149481"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid.
Unauthorized
- application/json
- application/xml
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid.
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
Default value:
Access denied - errorCode integer
Default value:
5
<root>
<errorMessage>Access denied</errorMessage>
<errorCode>5</errorCode>
</root>
{
"errorMessage": "Access denied",
"errorCode": 5
}