Uploading PatchesEvery patch is uploaded into the database with the help of Vanguard. Following are the two different actions that Vanguard performs during launch as part of patch upload. · Once you start Vanguard, it checks for the available patches through the patch folder path available in the Web.config file of Vanguard. · Continuously monitors the patch folder path for new patches. If found, it waits for a given duration mentioned in the Web.config file to allow the patch to get copied completely. To upload a patch:
Once the received patch is saved in the Patch Path folder, Vanguard locates Client Path folder hierarchy, mentioned in the web.config file, within the PatchFiles.zip. It then searches for individual component folders within. For each component folder found with files, Vanguard zips them and creates a zip folder for the patch, within the Zip Path mentioned in the Web.config file. Any existing folder for the same patch is deleted and created again. All the component .zip files that are created and then, saved in the zip folder. The functionality verifies the size of each .zip file as per the value set in the Web.config file. If the .zip file does not exceed the maximum size mentioned, Vanguard uploads the component .zip files into the database; else, the .zip file is not uploaded. If the zip file doesn’t get created in the Zip Path mentioned in the Web.config file, you need to provide access to the patch-upload folder to Vanguard IIS Application Pool. To provide access: 1. Right click the patch-upload folder 2. Click Properties > Security > Edit. The Permissions for patch-upload window appears. 3. Click Add 4. The Select User, Computers, Service Accounts or Group window appears. Click Locations, select your server system name and then, click OK. Your server system name should appear in the From this Location field. 5. Enter IIS AppPool\<Your IIS Vanguard Application Pool Name> in the Enter the Object Name to select field. 6. To know your Vanguard application pool, open IIS Manager > Application Pool and search your Vanguard pool name. 7. For example, during installation, if you entered your site name as AssistEdgeSite, your Vanguard application pool is AssistEdgeSite-Vanguard-Pool, and you need to enter IIS AppPool\AssistEdgeSite-Vanguard-Pool in the Enter the Object Name to select field. 8. Click Check Names. 9. Click OK. 10. In the Permissions for patch-upload window, select the Vanguard application pool, and grant Full control 11. Click Apply, and then click OK to close the window. Along with the .zip files, an upload.log file is also created within the zip folder for the patch to track the upload status of each component, the size of created .zip file, and the path for each component within the patch. Below are the various status messages that are received in the log file:
An example of a created upload.log file is shown below: ![]()
|
Related Topics |