Scenario

This TID details a scenario where a company has a requirement for different applications to be delivered to different Workstation Groups using a single Imaging Toolkit project and a single build user.

Procedure

Application delivery is controlled using the Logic Rule "Installer and Workstation". The "Installer" is the build user which must be assigned to the _Installer bundle. The "Workstation" is the Workstation which has the specific applications assigned to it either directly or via a Workstation Group or Folder.

All the bundles that are assigned, either directly or indirectly, to the build user and the Workstation will be evaluated and any that are not assigned to the Workstation will be rejected and not be installed. If bundles are assigned at the Folder level, these will be inherited by the Workstation Groups and Workstations within that Folder.

Variables can be set in Build Console to allow one project to deploy different applications based on site location.

By using this TID as a guideline it should be straightforward to modify the scenario to meet your own specific requirements.

WARNING! Changes should be tested in a non-production environment and all files backed up before making any alterations.


Done Task
 
1. Configuring the Logic Rules in Build Console
 
2. Configuring the Group Membership in Build Console
 
3. Application installation using one _Installer bundle assigned to the build user
 
4. Create and deploy new Ztoolkit image
 
5. Test


  1. Configuring the Logic Rules in Build Console

    • Modify project Applications settings to set the rule

  2. Configuring Group Membership in Build Console

    • Modify project ZENworks Group Membership

  3. Application delivery can be made even more granular by incorporating variables into the project settings, for example, site-specific workgroups can be used. More information on site-specifc customisation is given in TID-2015001 and TID-2015002.


  4. Application installation using one _Installer bundle assigned to the build user

  • The _Installer bundle is configured with every application that could be installed. The _Installer bundle must be assigned to the designated build user.


NOTE: Continue on Failure must be enabled (with the exception of the _LastAppInstalled). We are not expecting all the bundles to be installed on each device, some will be blocked by the build process. If Continue on Failure is not enabled ZCM will detect an action within a bundle has failed and it will stop processing it; this will cause the build to fail.


  • Assign bundles to the Workstation Group


  • ztoolkit.log Analysis (Administration Workstation) example using Installer and Workstation Logic Rule

    Imaging Toolkit identifies the Installer (builduser) and Workstation (ENGL0001). It then checks the Installer, followed by the Workstation, for associated bundles and creates a list of applications to be installed (in this case there are only 5 applications; Libre Office, Visio Viewer, FireFox, Webex Meeting Manager and Adobe Flash Player.)

    Image ./images/tid-2015004-LogAnalysis3.png not found.

  • Create and deploy new Ztoolkit image

    • Launch Build Console

    • Open the project

    • Run the Deployment Wizard

    • Select the option to create Build Process images

    • Select the option to create the Build Process (ztoolkit) image

    • Once complete copy the new Ztoolkit image to the server

  • Test

    Both Zim and the project have now been configured to use the application Logic Rule 'Installer and Workstation'.

    To test everything is working do the following:

    • PXE boot a machine into Zim

    • Select the Restore menu

    • Select the project

    • Continue to restore all images and allow the machine to build

    • Once the machine has built successfully log in and check the correct applications have been installed on the machine

  • If there are issues with the process review both the zim.log and ztoolkit.log to see where / what has failed to happen.
    For more information about the log files review ENGL TID-2013016


If you have any problems or questions about the steps in this TID please contact the ENGL support team