Skip to Content

Parallel Shell - How to use it?

Parallel shell allows the ssh gateway users to execute command on multiple servers simultaneously. Commands can be executed on different server groups that the ssh gateway user has access to or the user can run the command on all servers that  the user has access to or the user can create custom group of servers (mExec lists)  where the user want to run the command.

Ensure that the ssh gateway user has been granted the privilege to use parallel shell. By default, its only available for the admin user alone and this privilege has to be granted explicitly to other users. Refer Grant Parallel Shell Privilege

  To access the Parallel Shell, logon to the ezsh shell, and click on the shortcut  which is usually f7 or * to access the parallel shell in the backend (Help Menu in the ezsh shell). Once you have mexec group listing, navigate to the group of servers where you would like to execute the command. In the example, below  ’All Servers’ group has been selected. 

parallel shell menu 

 

 Press the enter key on keyboard and type the command uptime and press enter again to execute the command on the server group ’All servers

parallel shell command