Previous Topic: Command File FormatNext Topic: Modify LDAP Values with Conversion Expressions


Example Command file: Machine import

Example CSV Command File

1

REM Add new gateways

2

newgateway,GW-MILAN,CMS-HARDY

3

newgateway,GW-NAPOLI,CMS-HARDY

4

REM Add clients to new gateways

5

newclient,UNI-TAYLOR,GW-MILAN

6

newclient,UNI-KEEGAN,GW-MILAN

7

newclient,UNI-VENABLES,GW-NAPOLI

8

newclient,UNI-HODDLE,GW-NAPOLI

9

REM Add new secondary gateway

10

newgateway,GW-ROMA,GW-MILAN

11

newclient,UNI-RAMSEY,GW-ROMA

12

newclient,UNI-REVIE,GW-ROMA

13

movemachine,UNI-ROBSON,GW-NAPOLI

Resulting Actions:

Lines 1: Adds a comment.

Lines 2-3: Adds new GW-MILAN and GW-NAPOLI gateways, parented to the CMS.

Line 4: Adds a comment.

Lines 5-8: Adds new clients, parented to the new gateways.

Line 9: Adds a comment.

Line 10: Adds new GW-ROMA gateway, parented to GW-MILAN.

Lines 11-12: Adds new clients, parented to GW-ROMA.

Line 13: Moves existing client machine to a new parent gateway.

Import Results for Example Command File

Before importing:

After importing:

machine import BEFORE

machine import AFTER

 

The newly imported gateways and client machines are initially represented by ‘disconnected’ icons. After CA DataMinder has been installed on these machines, they will revert to ‘normal’ icons.