Groups

To create a new group, you will use the "group-add" action in a similar manner to the channel addition tool:

rcman -U username group-add [Name of group] [group-alias] --desc=[description of group]

You can update basic group information using the rcman group-update command and the option flags --name and --desc. The name should be a single word consisting of normal characters, and the description a short phrase surrounded by quotation marks to protect its spaces from the shell.

To change group membership, use the command rcman group-addmachine or group-delmachine. For example, to add "workstation1" to the group "Engineering" and then display all machines in the group, you would enter these commands:

rcman group-addmachine Engineering workstation1 rcman group-listmachines Engineering

The machine set is not applicable at the command line, so transactions on groups are slightly different. You will use the rcman group-addtrans command to add groups to a transaction. For example, to have the Engineering group perform the transaction "my-update," you would run:

rcman group-addtrans my-update Engineering