CADSMCMD Command Line Interface › cadsmcmd Commands › templategroup—Software Template Commands › Template Groups: Item Management › addItem—Add Item to a Software Template › Example
Example
Assume a product "prod" of version "1.0/00" and a software template "tg". The product is considered as being assigned to the software template for installation by the install routine named "inst". The install order should meet the following requirements:
- The delivery of the package has to meet the time frames given by the calendar "DelCal".
- The installation on the targets should be started as soon as possible.
- Before the installation starts the user should be logged off.
- During the installation, any user logon is rejected.
- The installation runs offline from the server.
- Calendars assigned to the targets will be ignored for the installation schedule.
- After installation the system should be rebooted, but this can be delayed until all jobs of the related job container have been processed.
- The product has to be delivered to the software libraries of those scalability servers related to the addressed targets.
- The job will be timed out after 24 hours.
The following command will assign the required job to the specified software template.
cadsmcmd templateGroup action=addItem name=tg item=prod version=1.0/00 procedure=inst calendarname=DelCal after=exacttime preaction=logoff offline PreventLogon nocalendar postaction=rebootAtEnd stagingServer JobTimeout=1.0
Copyright © 2014 CA Technologies.
All rights reserved.
|
|