$ mschedctl -l vpcprofile VPCPROFILE[private] ------- Description: 'Private cluster access' ReqSetAttrs: nodefeature=dedicated,acl=group=administrators Flags: autoaccess
Use the mshow -a command to show available resources for the VPC, and to obtain a transactionID.
$ mshow -a -i -x -o --flags=tid,future,summary -p example1 -w minnodes=1,duration=3000 Partition Tasks Nodes Duration StartOffset StartDate --------- ----- ----- ------------ ------------ -------------- ALL 2 1 00:50:00 00:00:00 13:53:15_02/24 TID=367 ALL 2 1 00:50:00 1:27:28 15:20:43_02/24 TID=368 ALL 2 1 00:50:00 2:17:28 16:10:43_02/24 TID=369
Use the mschedctl -c vpc command to create the virtual private cluster.
$ mschedctl -c vpc -a resources=367 vpc.79
$ mschedctl -l vpc VPC vpc.81 (completed) --------- Owner: user:user1 Available Time: 16:20:58_03/02 (-21:35:48) Available Duration: 2:46:40 Provision Start Time: 16:21:07_03/02 (-21:35:39) Cleanup End Time: 19:07:38_03/02 (-18:49:08) PurgeTime: 19:07:38_03/03 VPC Profile: DBCLIENT
mschedctl -m vpc:<vpcid> <attribute>=<value>
Destroy (cancel) VPCs via the mschedctl -d vpc command.
$ mschedctl -d vpc:vpc.82
Example: Delete all VPCs
$ mschedctl -d vpc:ALL