I4cfg

Aus CATIA-Wiki
Wechseln zu: Navigation, Suche

Allgemeines

Das Tool ist Teil des LUM (IBM License Use Manager). Es konfiguriert LUM auf der lokalen Maschine als Lizenzserver oder -Client. Unter Windows und AIX gibt es zusätzlich zum Konsolen-Befehl eine graphische Oberfläche (Aufruf ohne Optionen), unter UNIX ist eine Script-Version (Text-Menü) verfügbar.

Konsolen-Befehl

Zum Konsolen-Befehl gibt es Optionen, die umfangreiche Funktionen zum LUM-Management zur Verfügung stellen. Beispiele:

i4cfg -start     Startet die LUM-Services
i4cfg -stop      Stoppt alle LUM-Prozesse
i4cfg -service   Interaktive Verwaltung der LUM-Prozesse (Windows)
i4cfg            GUI zur Konfiguration von LUM (Windows, AIX)

Hier die Beschreibung aller Optionen:

i4cfg Version 4.6.8 Windows -- LUM Configuration Tool

Usage : i4cfg  -h  | -d [all|option_string] |
       -start | -stop | -list | -script | -services
     [ -a [ [c,n,s,r]|[C,N,S,R] ], -u user_name, -g group_name, -m machine_name,
       -b [ [network|nodelocked|registry] binding_list | null],
       -e [a|[c,w,t,e,g,v,m,p,s] ], -l logfile_path, -S [a,n,s],
       -R [a,n,s], -t transport_list, n [c|l|g|n], -c [d|a|cell_uuid],
       -r [first|from:host_name], -G [site_list|null] ]

Following are the command line arguments for the Configuration Tool (i4cfg).
The N (Note) column is explained at the end of the list.

N Arg   Option             Function
- ---   ------             --------
 -h                       Display this command help
 -d    all|option_string  Display the current configuration settings for
                          the i4cfg options specified in option_string.
                          Code 'all' to see the current setting
                          of all the options
 -start                   Start all the subsystems you have configured
                          to run on the machine
 -stop                    Stop all the subsystems that are running
                          on your machine
 -list                    Display a list of active subsystems
 -script                  Start the interactive script to configure
                          your machine (UNIX only)
 -service 	            Start the interactive GUI to start or stop the 
 		            services (Windows, AIX only)

 -a  [ [c,n,s,r] | [C,N,S,R] ]
                          Reset (c,n,s,r) or add (C,N,S,R) the machine role:
                          network license client (c,C),
                          nodelocked license server (n,N),
                          network license server (s,S),
                          central registry (r,R)
 -u    user_name          Set this machine user name as user_name.
                          If the user name contains blanks, enclose it within double quotation marks.
 -g    group_name         Set this machine group name as group_name
                          If the group name contains blanks,
                          enclose group_name within double
                          quotation marks (Windows only)

 -b    [binding_list|null]
                          Specify the complete list of direct
                          binding servers this machine needs to talk to.
                          binding_list is a space separated list
                          of entries in the format:
                          [network|nodelocked|registry]

 -e    [a|[c,w,t,e,g,v,m,p,s] ]
                          Set types of events to be logged
 -l    logfile_path       Set log database files path
 -S    [a,n,s]            Enable startup options: automatic startup (a)
                          and/or remote administration for nodelocked  (n)
                          and/or remote administration for network (s)
 -R    [a,n,s]            Disable startup options: automatic startup (a)
                          and/or remote administration for nodelocked  (n)
                          and/or remote administration for network (s)
 -t    transport_list     Specify the list of supported protocols.
                          transport_list is a list of protocols (enclosed
                          within double quotation marks) and port
                          number lists (enclosed within single
                          quotation marks) as follows:
                          "protocol 'netls_port,crls_port,nodls_port'"
                          If you omit a port number it is set to the default
                          For example:
                          "ip '1516,10999,1215"'
                          The only supported protocol is ip this option is
                          used to change the port numbers of the servers
 -n    [c|l|g|n]          Set NCS namespace binding support to
                          be either client only (c) or local location
                          broker (l) or global location broker (g)
                          or none (n) (UNIX)
 -c    [d|a|cell_uuid]    Set the NCS cell which the machine
                          belongs to. It can either be the default (d) 
                          cell or an alternate cell whose uuid is
                          generated by the configuration tool (a)
                          or an alternate cell whose uuid is
                          specified (cell_uuid)
                          If you are configuring NetworkLS as GLB
                          replica specify the NCS cell you want
                          your server to join (UNIX)
 -r    [first|from:family:host_name]
                          Set whether the global location
                          broker must replicate from a given host_name
                          or start as the first of the cell.
                          The family is the protocol used for
                          communication between GLBs of any of the
                          replicatable GLBs of the cell.
                          When using value "from" (replicate)
                          also use keyword -c (NCSCell) to
                          specify the NCS cell you want your
                          server to join
 -G    [site_list|null]   Set the list of glbd host names the client
                          should contact instead of broadcasting on port 135.
                          site_list is a space separated list of entries
                          in the format protocol:address enclosed within
                          double quotation marks.
                          If null is specified the glbd site list is
                          be deleted, that is to say clients must broadcast
                          to find GLBDs (UNIX)

Siehe auch

Weblinks: