Deploy Using HRefresh Without Granting Read/Write Permissions for the Folder
search cancel

Deploy Using HRefresh Without Granting Read/Write Permissions for the Folder

book

Article ID: 264658

calendar_today

Updated On:

Products

CA Harvest Software Change Manager

Issue/Introduction

Is there a way to deploy to Linux/Unix servers in HRefresh without granting read/write permissions to the entire folder?

We do not need Harvest to own an entire folder and its subfolders with their files to deploy a single file.

Environment

CA Harvest Software Change Manager 14.x

Cause

HRefresh executes on FULL VIEW and ACTIVE VIEWS - these are complete views and do not have a provision to limit to a single file.

HRefresh also internally uses hsync to update or deploy the files onto remote machines.

Resolution

  1. Define a new Check out for Browse process which includes the below options - Browse and Synchronize
  2. There are no pre-link or post-link UDPs defined in this NEW process definition which in this example will be called HREFRESH
  3. Provide the access levels as required
  4. Navigate to workbench.  We assume that that since you are working from workbench and need to deploy to agent, that the agent will be already existing on your workbench.  If not, refer to the below step

See the example below on how to connect to an agent from workbench

Once connected the agent will look like this as an example shown below.

5.  This agent may already be connected and used by the workbench process executing the HREFRESH. We will reuse the same location and the same files deployed earlier, but will be able to SYNCHRONISE only 1 file which you intend to deploy onto that machine

6.  Now navigate to the FILE from the workbench which you want to deploy to the remote machine

 

7.  The process 'Check out for Browse' looks like below

8.  The SYNCHRONISE action will sync on the file which has changes.  This will work only on the file you intend to deploy.  The agent name and 'Check out to location' will remain the same as used in the HREFRESH directory.  We are reusing the HREFRESH DEPLOYED FOLDERS and FILES, but will update only ONE intended file through this new process.  The change applies to only one file and the complete FOLDER permissions will not be changed

NOTES:

1.  You can use this process whenever you intend to work on only on a couple of files or a single file and restrict the use

2.  As always, the regular CHECK OUT process calling HREFRESH will be in place