Historique de la page
Sv translation | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
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 :
Mettre à jour BlueMindÀ partir de BlueMind 4.1, si la souscription le permet et que les paquets adéquats sont installés, la mise à jour de BlueMind peut se faire complètement en ligne de commande, sans passer par l'exécution de l'assistant via navigateur :
Gestion des utilisateursSupprimer les utilisateurs archivés (suspendus) du domaineLes 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 :
Opérations sur les calendriersPartager les calendriers de tous les utilisateurs vers un utilisateurIl peut s'avérer utile qu'un utilisateur ait des droits d'accès sur les calendriers de tous les autres utilisateurs sans pour autant qu'il soit désigné administrateur (par exemple une secrétaire devant pouvoir voir/créer des événements pour l'ensemble des collaborateurs). Afin d'éviter la tâche laborieuse de passer sur toutes les fiches d'administration des utilisateurs pour activer un partage, il est possible de réaliser cela en ligne de commande. 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 activant un partage pour chacun d'eux :
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) :
|
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):
|