faq Can I start multiple clusters using a single command in PadoGrid - padogrid/padogrid GitHub Wiki

Can I start/stop multiple clusters using a single command in PadoGrid?

Yes, there are two (2) ways to start/stop multiple clusters using a single command.

Starting multiple clusters

  1. start_workspace

This command starts the entire clusters in a workspace. For example, the following starts the workspace names myworkspace. If the -quiet option is not specified then it prompts for your confirmation before starting the clusters in the workspace.

start_workspace -cluster myworkspace -quiet
  1. start_group

Instead of running the entire clusters in a workspace, you can group the clusters of your choice and use the start_group command to start only the clusters belonging to the specified group. For example, the following command starts the entire clusters belonging to the group named mygroup.

start_group -group mygroup

Before you can use the start_group command, you need to first create a group and add clusters to it. The Running Group section provides details.

:pencil2: PadoGrid uses the group commands to manage Pado's federated data grids.

Stopping multiple clusters

Similarly, you can also stop multiple clusters with a single command as follows.

  1. stop_workspace

    stop_workspace -cluster myworkspace
    
  2. stop_group

    stop_group -group mygroup