Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

usage: ecgroup -add [-m, --member <group members>] [-t, --type <group type>] <group name>| -delete <group name> | -list <group name>

This command enables you to add, delete or list pico groups of EC/ECSAs.

-add

Use ecgroup -add to add a new EC group:

Example - Adding an EC group

$ mzsh mzadmin/<password> ecgroup -add --member ec1 ec2 --type ec ecgroup1
OptionDescription
[-m, --member <members>]

The name of the EC/ECSAs that to add to the group.


[-t, --type <type>]The type of group, i e ec or ecsa.

-delete

Use ecgroup -delete to delete an EC group:

Example - Deleting an EC group

$ mzsh mzadmin/<password> ecgroup -delete ecgroup1

-list

Use ecgroup -list to view a specific ecgroup or all EC groups:

Example - Listing EC groups

$ mzsh mzadmin/<password> ecgroup -list ecgroup1
$ mzsh mzadmin/<password> ecgroup -list

Return Codes

Listed below are the different return codes for the ecgroup command:

CodeDescription
0Will be returned if the command was successful.
1Will be returned in case of an illegal argument.
2Will be returned in case of communication error.
11Will be returned if you try to add a group that already exists.
12Will be returned if the group could not be added.
13Will be returned if the group could not be added because the group member you have have tried to add does not exist.
14Will be returned if the group could not be added because the group name was invalid.
15Will be returned if the group could not be added because the EC type was invalid.
16Will be returned if the group could not be added because the group member was of an invalid type.
20Will be returned if the group could not be deleted because the group does not exist.
21Will be returned if the group could not be deleted. 
  • No labels