Creating an efficient Service Catalog presents a number of challenges, including providing all needed services without increasing the catalog size to the point where it’s difficult for users to locate what they need. One way you can address this issue is to provide a base image of an operating system, and empower users to customize the deployed VMs using single-click commands in the Service Portal.
This article demonstrates the end-to-end configuration of a such a service. Following the procedures below, you can add a default install of Windows 2008 R2, which portal users can customize by installing Microsoft’s Internet Information Services web server.
When you offer baseline templates and permit users to customize them with Command Workflows, it’s a good idea to include an indication of whether a service is generic or customized within the catalog. You have several options for doing so, including the use of service descriptions, categories, and icons. Follow the procedure below to create a such a service.
- Login to vCommander as superuser and browse to Configuration > Service Request Configuration.
- Switch to the Service Catalog tab.
- Click Add.
- On the Service Description page add a meaningful Name and Description.
- Choose a relevant icon from those available.If you wish to add a new icon to further distinguish the generic service from others in the catalog, click Manage Icons. From the management dialog, click Add and choose an icon from your local computer. and click Open. Click OK.
- Choose one or more relevant categories from those available.If you wish to add new categories, click Manage Categories. Enter the category name and click Add. Repeat until you have all the desired entries, then click OK.
- Complete the wizard as normal. Make sure you select as components that are pristine default installs of the operating system.
The next activity is to create a Command Workflow which can be used as a command on the Service Portal. This will provide the one-click experience to customization. Download the required script file here.
- Browse to Configuration > Command Workflows. Click Add.
- Enter a Name such as Add Role – IIS.
- Choose a relevant icon from those available.If you wish to add a new icon to further distinguish the command from others available, click Manage Icons. From the management dialog, click Add and choose an icon from your local computer. and click Open. Click Close.
- Click Next.
- Click Add and choose Guest OS > Run Program.
- Choose Credentials with permission to add a role to the deployed VMs. If no suitable permissions are listed, click Add Credentials to enter account details you know will succeed.
- Enter the command line:
- Click Next.
- On the Permissions page, choose Allow these specific users/groups to access this workflow and use the controls to provide access to appropriate users, groups or organizations. Otherwise, leave Allow everyone to access this workflow.
- Check Prompt user for confirmation before running this workflow and Display this workflow as a command for users with permission on the Service Portal command bar. Click Next.
- On the Summary page, review your choices and click Finish.
In order to access the Command Workflow as a command in the Service Portal, the portal user’s role must include the permission Run Command Workflows.
Users with this permission will see the Command workflow as a command in the portal.