When we install large number of fixes using Command central composite template, installation might fail due to timeout as the default time is not always enough to install fixes.
CCE waits for 10 minutes to verify whether the target SPM is started or not [If we are using 10.3 Fix 4 and above CCE will be 30 minutes]. We can increase this time using either command central UI or using composite template.
Using Command Central UI:
While bootstrapping command central we need to add below configuration to increase SPM waiting time.
1. In Command Central navigate to CCE -> Configuration page.
2. In Java System properties, add configuration: com.softwareag.platform.management.client.template.composite.node.check.online.poll.timeout.miliseconds=<miliseconds>
3. Restart Command Central.
Example for 60 minutes:
com.softwareag.platform.management.client.template.composite.node.check.online.poll.timeout.miliseconds=3600000
Using Composite Template:
Clone the sagdevops-cc-server git-hub project:
- git clone https://github.com/SoftwareAG/sagdevops-templates.git
- Open templates/sag-cc-tuneup/template.yaml file
- Edit configuration for timeout.status.node.seconds
Example: timeout.status.node.seconds = 3600 - Navigate to %CCEInstallationDir%/CommandCentral/client/bin folder and run below commands:
- sagcc exec templates composite import -i /home/svtuser/sagdevops-templates/templates/sag-cc-tuneup/template.yaml
- sagcc exec templates composite apply sag-cc-tuneup
- Restart Command central