Name
mkpgrp — Creates a new peergroup
Synopsis
mkpgrp [-ddoc] [-p ] [-mservice]name
Description
mkgrp
creates a
new peergroup using the supplied peergroup advertisement. If no
advertisement is provided, the command will create a clone of the
NetPeerGroup peergroup. In either case, the peergroup is assigned a
name.
The
PG#
group name
environment variable is created to store the new group information.
The new peergroup is advertised in the NetPeerGroup. By default,
mkpgrp remotely publishes the newly created group;
to skip remote publishing, specify the -p option.
Options
-
-ddoc Creates the group from the information in the given peergroup advertisement
-
-mservice Specifies a service to be used as the membership service
-
-p Prevents remote publishing of the new peergroup advertisement
-
name Assigns the peergroup the given name
Example
JXTA>mygroupadv = mkadv -gJXTA>mypgrp = mkpgrp -d mygroupadv mygroup
This creates a new peergroup with the name
mygroup. Before you can do anything with the
group, you must join it by using the join command.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access