Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
INSERT INTO `vcl`.`image`
(`id` ,
`name` ,
`prettyname` ,
`ownerid` ,
`platformid` ,
`OSid` ,
`imagemetaid` ,
`minram` ,
`minprocnumber` ,
`minprocspeed` ,
`minnetwork` ,
`maxconcurrent` ,
`reloadtime` ,
`deleted` ,
`test` ,
`lastupdate` ,
`forcheckout` ,
`maxinitialtime` ,
`project` ,
`size` ,
`architecture` ,
`description` ,
`usage` ,
`basedoffrevisionid`)
VALUES
('78' , 'vmwarewinxplab-base7machine-v1image1', 'NoLab Apps (WinXP vmware)Machine image', '1', '1', '1615', NULL,
'512', '1', '1024', '100', NULL , '5', '0', '0', NOW(), '1', '0', 'vcl', '1500',
'x86', NULL , NULL , '0'
);

Insert information into the imagerevision table. Note 'Lab Machine image' can be what ever you want.

Code Block
INSERT INTO `vcl`.`imagerevision` (
`id` ,
`imageid` ,
`revision` ,
`userid` ,
`datecreated` ,
`deleted` ,
`datedeleted` ,
`production` ,
`comments` ,
`imagename`
)
VALUES (
NULL , '78', '1', '1', NOW(), '0', NULL , '1', NULL , 'vmwarewinxplab-base7machine-v1image1'
)

Insert information into the resource table.

Code Block
INSERT INTO `vcl`.`resource` (
`id` ,
`resourcetypeid` ,
`subid`
)
VALUES (
NULL , '13', '78'
)

7. Set up the image to computer group mappings and grant access.

These next steps will be done using the VCL web interface

  1. Create a new Image group. Manage groups, add a new image resrouce group.
  2. Create a new Computer group.  Manage groups, add a new computer resrouce group.
  3. Add new image (inserted above) to the image group just created in step 1.
  4. Add machines that have vclclientd to the computer group created in step 2.
  5. Assign new computer group to be controlled by management node. Select Management Nodes, Edit Management Node Mapping
  6. Grant access to the new lab image and computer group in the privilege tree.