How to execute command on a custom group of servers? or how do i create a list of servers where i would like to execute my command in parallel?

Mexec List feature lets you create your own custom grouping of servers and then  run your commands using Parallel Shell on it.

  1. Create your custom group using the mExec lists feature.

mexec-list-add

 

2. Select server into the custom group 'my-kernel-update-list'

parallel-shell-add-server

 

Note:  For a regular user to access the mExec list, make sure to grant privilege on the parallel shell and view mExec list.

 

Click on the Access control >> user action >> select user, give privilege on the parallel shell and view mExec list.

 

You can add a server in more than one mExec lists groups. ie, server 1 can be in mExec lists group 1 and group 2. 

 

3. Login to the ssh backend interface and navigate to the multi-server menu and you would see the group 'my-kernel-update-list'. Hit enter

parallel-shell-custom-servers

 

4. Enter the command uptime in the command line to get it executed across the server in the group 'my  kernel update list'

 

  

 

 

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Webportals unavailable for user
    Viewed 3444 times since Fri, Dec 8, 2017
    Add custom fields on server add form
    Viewed 943 times since Wed, Mar 27, 2019
    How to export servers ?
    Viewed 3644 times since Sat, Sep 2, 2017
    Adding WebPortal or control panel or datacenter for autologin in jump server
    Viewed 3384 times since Wed, Jun 14, 2017
    Add a server using ssh key pair in ezeelogin
    Viewed 1225 times since Fri, Mar 22, 2019
    How to grant Parallel Shell privilege for a user?
    Viewed 4010 times since Wed, Nov 22, 2017
    How to copy a file to a remote server or group of servers behind the ssh jumphost? Parallel Copy - How to do it?
    Viewed 2263 times since Thu, Apr 12, 2018
    Add / update / delete servers through ezeelogin API
    Viewed 1098 times since Fri, Mar 15, 2019
    How to copy or delete a file in jump server users home directory?
    Viewed 1889 times since Wed, Apr 18, 2018
    Enforcing ssh login shell for ssh gateway users selectively in sshd_config file
    Viewed 67 times since Fri, Sep 4, 2020