Moab Workload Manager

20.2 VPC Commands

20.2.1 List Profiles

mschedctl

$ mschedctl -l vpcprofile

VPCPROFILE[private] ------- 
Description:  'Private cluster access'
ReqSetAttrs:  nodefeature=dedicated,acl=group=administrators 
Flags:        autoaccess

20.2.2 Querying for Resources

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 

20.2.3 Creating VPCs

Use the mschedctl -c vpc command to create the virtual private cluster.

$ mschedctl -c vpc -a resources=367 
 
vpc.79

20.2.4 Listing Current VPCs

mschedctl

$ 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

20.2.5 Modifying VPCs

mschedctl

mschedctl -m vpc:<vpcid> <attribute>=<value>

20.2.6 Destroying VPCs

Destroy (cancel) VPCs via the mschedctl -d vpc command.

$ mschedctl -d vpc:vpc.82 

Example: Delete all VPCs

$ mschedctl -d vpc:ALL 

See Also