![]() | LUI GroupingWorking with groups LUI now allows you to define groups of machines & resources to simplify repetitive operations. By using groups, instead of issuing 9 allimr commands to allocate 3 resources to 3 clients, you can do it in just one. For example: Define a machine group with the 3 machines thor1,thor2,thor3: mklimg -t machine -g mgroup -m thor1,thor2,thor3Define a resource group with the 3 resources thorrpm,thorroot,thorboot: mklimg -t resource -g rgroup -m thorrpm,thorroot,thorbootFinally, allocate the resources in rgroup to the machines in mgroup: allimr -r rgroup -g mgroupThere are also commands to list groups and delete groups: Display all defined groups: lslimg Machine Groups: mgroup Resource Groups: rgroupNow, display the contents of rgroup: lslimg -g rgroup Group: rgroup thorboot thorrpm thorrootTo delete thorrpm from the resource group rgroup: dellimg -g rgroup -m thorrpmTo delete the entire resource group rgroup: dellimg -g rgroupGrouping is available on all LUI commands except for mklimm & mklimr. As a side benefit, the commands that now support grouping can also support comma delimited lists of nodes or resources. For example: lslimr -n thorboot,thorrpm |