Create-association operation
The create-association operation associates one or more clients with a schedule. You must assign a client node to the policy domain to which a schedule belongs. Client nodes process operations according to the schedules associated with the nodes.
The following table describes the elements for the adapter request:
Adapter request elements for the create-association operation
The following figure shows a sample adapter request for the create-association operation:
Sample adapter request for the create-association operation
<tsm-request>
<operation-name>create-association</operation-name>
<command-request>
<timeout-secs>30</timeout-secs>
<command-options>
<domain-name>standard</domain-name>
<schedule-name>schedule00001</schedule-name>
<nodes-name>Anne,john</nodes-name>
</command-options>
<command-arguments />
</command-request>
</tsm-request>
<operation-name>create-association</operation-name>
<command-request>
<timeout-secs>30</timeout-secs>
<command-options>
<domain-name>standard</domain-name>
<schedule-name>schedule00001</schedule-name>
<nodes-name>Anne,john</nodes-name>
</command-options>
<command-arguments />
</command-request>
</tsm-request>
The following figure shows the adapter response for the sample request:
Sample adapter response for the create-association operation
<tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>dsmadmc -id=admin -password=admin define association standard schedule00001 Anne,john</command>
<line-count>9</line-count>
<execution-milliseconds>379</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index = "1">IBM Tivoli Storage Manager</line>
<line index = "2">Command Line Administrative Interface - Version 5, Release 5, Level 0.0</line>
<line index = "3">(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.</line>
<line index = "4">Session established with server SERVER1: Linux/i386</line>
<line index = "5">Server Version 5, Release 5, Level 0.0</line>
<line index = "6">Server date/time: 10/09/2009 11:34:38 Last access: 10/09/2009 11:26:26</line>
<line index = "7">ANS8000I Server command: 'define association standard schedule00001 Anne,john'</line>
<line index = "8">ANR2510I Node Anne,john associated with schedule SCHEDULE00001 in policy domain STANDARD.</line>
<line index = "9">ANS8002I Highest return code was 0.</line>
</output>
</command-output>
</commands-output>
</tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>dsmadmc -id=admin -password=admin define association standard schedule00001 Anne,john</command>
<line-count>9</line-count>
<execution-milliseconds>379</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index = "1">IBM Tivoli Storage Manager</line>
<line index = "2">Command Line Administrative Interface - Version 5, Release 5, Level 0.0</line>
<line index = "3">(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.</line>
<line index = "4">Session established with server SERVER1: Linux/i386</line>
<line index = "5">Server Version 5, Release 5, Level 0.0</line>
<line index = "6">Server date/time: 10/09/2009 11:34:38 Last access: 10/09/2009 11:26:26</line>
<line index = "7">ANS8000I Server command: 'define association standard schedule00001 Anne,john'</line>
<line index = "8">ANR2510I Node Anne,john associated with schedule SCHEDULE00001 in policy domain STANDARD.</line>
<line index = "9">ANS8002I Highest return code was 0.</line>
</output>
</command-output>
</commands-output>
</tsm-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*