Previous Topic: deliverGroupToStage—Deliver Items of Software Group To Scalability ServersNext Topic: listGroups—List Groups


Example

Suppose the items of the software group named "swg_1" should be delivered to all scalability server servers. The command is launched at a domain manager. The swg_1 shows the following contents:

cadsmcmd swlibrary action=listSWG name=swg_1

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Trace mode: Off

Connecting to manager "<default manager>" as user "<default user>" ... ok.
Manager: mymanager
Domain: mydomain
Domain type: Domain
Supporting: CO CCNF USD OSIM 

-------------------------------------------------------------------------------
List members of software group "swg_1" 
-------------------------------------------------------------------------------
tstbase 1.0 <Generic>, <Regular>, 22622(0), CA, http://supportconnect.ca.com/
tstkpk01 1.0 <Generic>, <Regular>, 22752(0), CA, http://supportconnect.ca.com/
tstkpk02 1.0 <Generic>, <Regular>, 22832(0), CA, http://supportconnect.ca.com/
DMS Editor 6.01.0000 <MSI>, <Regular>, 22972(0), CA, http://supportconnect.ca.com/
pg_1 <Procedure group>

Note: The entries of the subgroup pg_1 have been ignored because procedure groups are not valid for delivering products to scalability servers.

SDCMD<A000000>: OK

cadsmcmd swlibrary action=listPG name=pg_1
CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Connecting to manager "wwwww01b" as user "<default user>" ...OK.

-------------------------------------------------------------------------------
List members of procedure group "pg_1" 
-------------------------------------------------------------------------------
remdir (tstbase 1.0 <1>)
setdir (tstbase 1.0 <2>)

SDCMD<A000000>: OK

The following command will provide the delivery:

cadsmcmd swlibrary action=deliverGroupToStage name=swg_1 compgrp="SD scalability servers" 
CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Connecting to manager "wwwww01b" as user "<default user>" ...OK.

A container with the name SD scalability servers [04/10/02 14:26:39.578] was created.
Evaluate group swg_1
Evaluate group swg_1/pg_1
Generate job "tstbase 1.0:delivery proc" : OK.
Generate job "tstkpk01 1.0:delivery proc" : OK.
Generate job "tstkpk02 1.0:delivery proc" : OK.
Generate job "DMS Editor 6.01.0000:delivery proc" : OK.

SDCMD<A000000>: OK

The contents of the generated job container is shown by the following command:

cadsmcmd jobContainer action=listJobs name="SD staging servers [04/10/02 14:26:39.578]" 
CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2014 CA. All rights reserved.

Connecting to manager "wwwww01b" as user "<default user>" ...OK.

-------------------------------------------------------------------------------
Job list of job container "SD scalability servers [04/10/02 14:26:39.578]" 
-------------------------------------------------------------------------------
Job name...............................: tstbase 1.0:delivery proc
..Task.................................: deliver
..Overall state........................: WAITING
..Job order number.....................: 1

Job name...............................: tstkpk01 1.0:delivery proc
..Task.................................: deliver
..Overall state........................: WAITING
..Job order number.....................: 2

Job name...............................: tstkpk02 1.0:delivery proc
..Task.................................: deliver
..Overall state........................: WAITING
..Job order number.....................: 3

Job name...............................: DMS Editor 6.01.0000:delivery proc
..Task.................................: deliver
..Overall state........................: WAITING
..Job order number.....................: 4

-------------------------------------------------------------------------------
Number of jobs read: 4
Number of jobs listed: 4
SDCMD<A000000>: OK