Starting and stopping target groups

When you create a target group, its targets are initially stopped. You can start them with the vstorage-target tg-start command. For example:

# vstorage-target tg-start -id 3d8364f5-b830-4211-85af-3a19d30ebac4

This command starts all targets in the group with the ID 3d8364f5-b830-4211-85af-3a19d30ebac4.

All targets in a group can either be running or stopped. So if you add targets to a group of running targets, the new targets will be started automatically.

To stop a target group, use the vstorage-target tg-stop command. For example:

# vstorage-target tg-stop -id 3d8364f5-b830-4211-85af-3a19d30ebac4

This command stops all targets in the group with the ID 3d8364f5-b830-4211-85af-3a19d30ebac4.