Historique de la page
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Installation
Pour installer le client bm-cli, installer le paquet dédié sur le serveur, disponible à partir de BlueMind 3.5.10 :
FonctionnementLes commandesLes commandes sont passées via un terminal directement sur le serveur, connecté en ssh par exemple. Par exemple, une commande permettant de connaître les carnets d'adresses d'un utilisateur :
Obtenir de l'aide
À tout moment vous pouvez obtenir de l'aide sur une commande, une sous-commande, son usage et ses options au moyen de "help". Par exemple "help maintenance" vous présente la commande maintenance et ses diverses actions possibles :
Pour obtenir plus de détail sur une sous-commande, il vous suffit de taper la sous-commande à son tour, ici pour obtenir l'aide concernant l'opération de consolidation d'index :
Exemples pratiquesAdministration & MaintenanceEffectuer un check&repair globalLa commande suivante permet d'effectuer l'opération "valider et réparer" sur l'ensemble des utilisateurs du domaine en utilisant 4 threads :
Modifier le mot de passe admin0Pour diverses raisons, techniques ou pratiques (en cas de perte, par exemple), il peut être utile de modifier le mot de passe de l'utilisateur admin0 sans avoir à se loguer dans BlueMind. La commande suivante permet de le faire sans connaître l'ancien mot de passe :
Mettre à jour la configuration tickLorsque l'outil de monitoring Bm-Tick est installé, il est possible d'effectuer des tâches d'administration sur celui-ci. Par exemple, vous pouvez redéployer la configuration sur l'ensemble des serveurs du domaine avec la commande suivante :
Gestion des utilisateursSupprimer les utilisateurs archivés (suspendus) du domaine
Les commandes peuvent être couplées afin d'effectuer plusieurs opérations en une seule fois. Par exemple, avec la commande ci-dessous on recherche les adresses emails des utilisateurs suspendus :
Il est alors possible de coupler le retour de cette commande avec une commande "delete" afin de supprimer les utilisateurs retournés :
Appliquer un quota à tous les utilisateurs qui n'en ont pasPour cela, nous avons besoin de plusieurs commande qui seront ensuite regroupées en une seule :
Ainsi, la commande finale pour réaliser cela en une seule ligne de commande :
Opérations sur les calendriersExporterles calendriers de tous les utilisateursl'ensemble des calendriers d'un utilisateurDans le cadre d'un départ en vue de pouvoir les réimporter chez d'autres utilisateurs on veut exporter l'ensemble des calendriers d'un utilisateurs Dans une optique de migration ou de sauvegarde, on souhaite exporter et sauvegarder tous les calendriers de tous les utilisateurs au format ICS. Cette opération n'est pas réalisable en une seule commande, néanmoins il est possible de réaliser une boucle récupérant l'ensemble des utilisateurs du domaine puis en lançant l'export de leurs calendriers :
Opérations sur les contactsExemple de procédure pour nettoyer le carnet des collectés d'un utilisateur puis transférer les contacts vers son carnet personnel (en testant au préalable l'import) :
NB : cette commande est disponible à partir de BlueMind 3.5.13 On pourra ensuite les réimporter soit individuellement, soit en créant une boucle plus complexe sur les calendriers d'un autre utilisateur et le dossier d'export grâce à la commande d'import suivante :
Exporter les calendriers de tous les utilisateursDans une optique de migration ou de sauvegarde, on souhaite exporter et sauvegarder tous les calendriers de tous les utilisateurs au format ICS. Cette opération n'est pas réalisable en une seule commande, néanmoins il est possible de réaliser une boucle récupérant l'ensemble des utilisateurs du domaine puis en lançant l'export de leurs calendriers (voir ci-dessus) :
Opérations sur les contactsExemple de procédure pour nettoyer le carnet des collectés d'un utilisateur puis transférer les contacts vers son carnet personnel (en testant au préalable l'import) :
MaintenanceL'outil bm-cli permet d'effectuer des opérations de maintenance sur les utilisateurs, comme par exemple :
La souscription donnant accès aux mises à jour automatisées de BlueMind, elle donne aussi accès à des opérations supplémentaires du client bm-cli pour celles-ci.
Pour disposer de ces commandes, il est nécessaire d'installer le plugin dédié :
CommandesLa commande supplémentaire "
Procédure de mise à jourPour réaliser une mise à jour de l'installation en ligne de commande au moyen de l'outil bm-cli, la procédure suit le même déroulement que pour une mise à jour classique :
|
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Installation
The bm-cli client is installed through a dedicated package on the server – available from BlueMind 3.5.10:
Using the clientCommandsCommands are passed using a terminal straight onto the server, connected via ssh for instance. For example, the following command can help you find out a user's address books:
Getting help
You can get help on a command, sub-command, how to use it and its options using "help" at any time. E.g. "help maintenance" shows the maintenance command and the actions it can perform:
For more details about a sub-command, type it to get help, e.g. about index consolidation:
Practical examplesAdministration and MaintenancePerforming a domain-wide check&repairThe following command is used to perform a "check and repair" on all domain users using 4 threads:
Changing the admin0 passwordFor multiple reasons – technical or practical, e.g. in case of loss -- you may need to change the admin0 user's password without logging into BlueMind. The following command allows you to do this without knowing the old password:
Updating Tick configurationWhen the Bm-Tick monitoring tool is installed, you can use it to perform administration tasks. E.g. you can roll out the configuration on all domain servers again using the following command:
Operations on usersDeleting archived (suspended) domain users
Commands can be coupled to perform several operations at once. E.g. the command below is used to look for the email addresses of suspended users:
You can then couple this command with a "delete" command to remove all the users it returns:
Operations on calendarsSharing all user calendars with one userIt may be useful for one user to have access privileges on all user calendars without being given an administrator role (e.g. a secretary might be able to view/create events for all other employees). To avoid having to go through each user's page to enable sharing, this can be done in command line. This cannot be done with a single command, but you can create a loop which picks up all domain users and enables sharing for each of them:
Operations on contactsThe procedure below can be used to clean a user's collected address book and transfer their contacts to their personal address book (and testing the import process beforehand):
MaintenanceThe bm-cli tool is used to perform maintenance operations on users, e.g.:
Installation and upgradeThe subscription includes automatic BlueMind updates, as well as the related additional bm-cli client operations.
To access these commands, you need to install the CLI plugin:
CommandsThe additional "
Update procedureTo update the installation in command line using the bm-cli tool, the procedure is the same as for a standard update procedure:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Installation
The bm-cli client is installed through a dedicated package on the server – available from BlueMind 3.5.10:
Using the clientCommandsCommands are passed using a terminal straight onto the server, connected via ssh for instance. For example, the following command can help you find out a user's address books:
Getting help
You can get help on a command, sub-command, how to use it and its options using "help" at any time. E.g. "help maintenance" shows the maintenance command and the actions it can perform:
For more details about a sub-command, type it to get help, e.g. about index consolidation:
Practical examplesAdministration and MaintenancePerforming a domain-wide check&repairThe following command is used to perform a "check and repair" on all domain users using 4 threads:
Changing the admin0 passwordFor multiple reasons – technical or practical, e.g. in case of loss -- you may need to change the admin0 user's password without logging into BlueMind. The following command allows you to do this without knowing the old password:
Updating Tick configurationWhen the Bm-Tick monitoring tool is installed, you can use it to perform administration tasks. E.g. you can roll out the configuration on all domain servers again using the following command:
Operations on usersDeleting archived (suspended) domain users
Commands can be coupled to perform several operations at once. E.g. the command below is used to look for the email addresses of suspended users:
You can then couple this command's return with a "delete" command to remove all the users it returns:
Operations on calendarsSharing all user calendars with one userIt may be useful for one user to have access privileges on all user calendars without being given an administrator role (e.g. a secretary might be able to view/create events for all other employees). To avoid having to go through each user's page to enable sharing, this can be done in command line. This cannot be done with a single command, but you can create a loop which picks up all domain users and enables sharing for each of them:
Operations on contactsThe procedure below can be used to clean a user's collected address book and transfer their contacts to their personal address book (and testing the import process beforehand): Bloc de code | |