Kategorie:IES-Admin (commandline): Unterschied zwischen den Versionen

Aus SiteparkWiki
Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 39: Zeile 39:
  
 
==Direkte Kommandos==
 
==Direkte Kommandos==
   backup            backup all data of an client
+
   [[iesadmin backup|backup]]             backup all data of an client
   benchmark          removes data inconsistencies
+
   benchmark          removes data inconsistencies (ab Version 2.12)
 
   clean              removes data inconsistencies
 
   clean              removes data inconsistencies
   compile            compile client templates
+
   [[iesadmin compile|compile]]           compile client templates
 
   crop              removes versions, older than the given date, from articles and templates
 
   crop              removes versions, older than the given date, from articles and templates
 
   exec              execute a java class in iesadmin context
 
   exec              execute a java class in iesadmin context
Zeile 48: Zeile 48:
 
   ies1toies2        convert from ies1 to ies2
 
   ies1toies2        convert from ies1 to ies2
 
   license            print license
 
   license            print license
   recover            recover data of an client
+
   [[iesadmin recover|recover]]           recover data of an client
 
   reindex            rebuild client indexes
 
   reindex            rebuild client indexes
 
   reload-config      reload ies configuration
 
   reload-config      reload ies configuration
   snapshot          snapshot all data of an client
+
   [[iesadmin snapshot|snapshot]]           snapshot all data of an client
 
   status            print status
 
   status            print status
 
   undelete          recover deleted objects
 
   undelete          recover deleted objects
   update            ies update
+
   [[iesadmin update|update]]             ies update
 
   version            ies version
 
   version            ies version
  
 
==Gruppen Kommandos==
 
==Gruppen Kommandos==
 
===channel (Kommandos für Publikations-Kanäle)===
 
===channel (Kommandos für Publikations-Kanäle)===
   generate          generate articles
+
   [[iesadmin channel generate|generate]]           generate articles
   sync              synchronize file-publisher directory
+
   [[iesadmin channel sync|sync]]               synchronize file-publisher directory
 +
 
 
===client (Kommandos für Mandanten)===
 
===client (Kommandos für Mandanten)===
 
   [[Iesadmin client copy|copy]]              copy client into another client
 
   [[Iesadmin client copy|copy]]              copy client into another client
Zeile 66: Zeile 67:
 
   disable            disable clients
 
   disable            disable clients
 
   [[Iesadmin client enable|enable]]            enable clients
 
   [[Iesadmin client enable|enable]]            enable clients
   list              list clients
+
   list              list clients (ab Version 2.12)
 
   remove            remove client
 
   remove            remove client
 
   reset              Clear all data of client
 
   reset              Clear all data of client
Zeile 73: Zeile 74:
 
   backup            Backup database
 
   backup            Backup database
 
   check              Check database
 
   check              Check database
   clear              Delete all tables
+
   clear              Delete all tables (ab Version 2.12)
 
   create            Create new Database with user and privileges
 
   create            Create new Database with user and privileges
 
   drop              Create new Database with user and privileges
 
   drop              Create new Database with user and privileges
   fix-table-names    Fix Windows-Lower-Case Tables
+
   fix-table-names    Fix Windows-Lower-Case Tables (ab Version 2.12)
 
   info              Show all managed databases
 
   info              Show all managed databases
 
   init              Initialize database (create tables, ...)
 
   init              Initialize database (create tables, ...)
   optimize          Repair database
+
   optimize          Repair database (ab Version 2.12)
   recreate          Drop and recreate a Database
+
   recreate          Drop and recreate a Database (ab Version 2.12)
   reindex            Reindex database
+
   [[iesadmin db reindex|reindex]]           Reindex database
   repair            Repair database
+
   repair            Repair database (ab Version 2.12)
 
   restore            Restore database
 
   restore            Restore database
 
   set                Set database connection
 
   set                Set database connection
   set-root-access    Set root-access for database server
+
   set-root-access    Set root-access for database server (ab Version 2.12)
 
   update            Update database
 
   update            Update database
 +
 
===module (Kommandos für Module)===
 
===module (Kommandos für Module)===
 +
  available          show available modules
 
   disable            disable modules
 
   disable            disable modules
 
   enable            enable modules
 
   enable            enable modules
   install            install modules
+
   install            install modules (ab Version 2.12)
   list              list all installed modules
+
   list              list all installed modules (ab Version 2.12)
   remove            remove modules
+
   remove            remove modules (ab Version 2.12)
   versions          show available versions for a module
+
   versions          show available versions for a module (ab Version 2.12)
  
 
<noinclude>
 
<noinclude>
 
[[Kategorie:Administration| 500]]
 
[[Kategorie:Administration| 500]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 6. Februar 2015, 17:17 Uhr


Für die Administration der IES auf der Konsole steht das Kommandozeilen-Werkzeug

iesadmin

zur Verfügung. Das Kommando muss unter Linux als root und unter Windows als Administrator ausgeführt werden. Es sollte nach der Installation im Pfad eingetragen sein, so das aus aus jedem Verzeichnis aus aufrufbar ist.

Das iesadmin-Kommando stellt eine Vielzahl von Kommandos bereit die direkt oder über Kommando-Gruppen ansprechbar sind.

Direkte Kommandos können über

iesadmin command [options] [arguments]

aufgerufen werden.

Aufgrund der vielen Kommandos die auch immer erweitert werden, gibt es eine Struktur-Ebene mit der thematisch zusammengehörige Kommandos in einer Kommando-Gruppe zusammengefasst werden.

Kommandos von Kommando-Gruppen können über

iesadmin command-group command [options] [arguments]

aufgerufen werden.

Es hat sich gezeigt, das es notwendig ist Kommandos nachträglich in Kommando-Gruppen einzuordnen. Auf Basis von iesadmin erstellte Skripte verlassen sich aber auf bestimmte Kommando-Aufrufe. Um Abwärts-kompatibel Anpassungen an den Kommandos vornehmen zu können, gibt es noch Aliases, die 'alte' Kommando-Aufrufe auf die 'neuen' mappen.

Alias-Kommandos könnne über

iesadmin alias [options] [arguments]

aufgerufen werden


Hilfe

Alle verfügbaren direkten Kommandos, alle Kommando-Gruppen und alle Aliases werden mit dem Aufruf

iesadmin

ohne Kommando, Optionen oder Argumente ausgegeben.

Alle Kommandos einer Kommando-Gruppe werden über

iesadmin command-group

ohne Kommando, Optionen oder Argumente ausgegeben, wobei command-group durch den Namen der entsprechenden Kommando-Gruppe ersetzt wird.

Hilfe zu den Optionen und Argumenten der einzelnen Kommandos können über

iesadmin command --help
iesadmin command-group --help
iesadmin alias --help

Direkte Kommandos

 backup             backup all data of an client
 benchmark          removes data inconsistencies (ab Version 2.12)
 clean              removes data inconsistencies
 compile            compile client templates
 crop               removes versions, older than the given date, from articles and templates
 exec               execute a java class in iesadmin context
 home               print ies home
 ies1toies2         convert from ies1 to ies2
 license            print license
 recover            recover data of an client
 reindex            rebuild client indexes
 reload-config      reload ies configuration
 snapshot           snapshot all data of an client
 status             print status
 undelete           recover deleted objects
 update             ies update
 version            ies version

Gruppen Kommandos

channel (Kommandos für Publikations-Kanäle)

 generate           generate articles
 sync               synchronize file-publisher directory

client (Kommandos für Mandanten)

 copy               copy client into another client
 create             create client
 disable            disable clients
 enable             enable clients
 list               list clients  (ab Version 2.12)
 remove             remove client
 reset              Clear all data of client

db (Kommandos für Datenbanken)

 backup             Backup database
 check              Check database
 clear              Delete all tables (ab Version 2.12)
 create             Create new Database with user and privileges
 drop               Create new Database with user and privileges
 fix-table-names    Fix Windows-Lower-Case Tables (ab Version 2.12)
 info               Show all managed databases
 init               Initialize database (create tables, ...)
 optimize           Repair database (ab Version 2.12)
 recreate           Drop and recreate a Database (ab Version 2.12)
 reindex            Reindex database
 repair             Repair database (ab Version 2.12)
 restore            Restore database
 set                Set database connection
 set-root-access    Set root-access for database server (ab Version 2.12)
 update             Update database

module (Kommandos für Module)

 available          show available modules
 disable            disable modules
 enable             enable modules
 install            install modules (ab Version 2.12)
 list               list all installed modules (ab Version 2.12)
 remove             remove modules (ab Version 2.12)
 versions           show available versions for a module (ab Version 2.12)