Step 1: Configuring 3rd Party Repository
If a repository has not been configured for the application, please configure a repository. If one has already been configured, please locate this repository.
Step 2: Configuring JetPatch
Once your repository is ready, it is time to log into the JetPatch console and create a Task and Workflow. Follow the steps below to create a Task and Workflow:
Creating a Task:
- Go to Systems -> Tasks
- Select 'Create Task'
- Provide a 'Name' and 'Description' for the task
- Under 'Source,' choose 'Command Line' and specify the 'Execution Type'
- Write the command for the update
- Example:
yum update nginx -y
- Example:
- Save the Task
- To check if the Task has been created successfully, please directly run the task on the endpoint. To do this:
- Go to Endpoints -> Management
- Select a specific endpoint by checking the box on the right hand side of the endpoint
- Select 'Actions'
- Select 'Run Tasks'
- Select the task created and run the task on the endpoint
- View the output by going to Endpoints -> Activities
- Move your curser over the task and select the 'eye' icon to view the output
Creating a Workflow:
- Go to System -> Workflows
- Select Create Workflow
- Provide a 'Name,' 'Operating System' and 'Description' for the workflow
- Select the task to be run Pre- or Post- Patching
- Save the workflow
Step 3: Patching and Reporting 3rd Party Applications
When creating a remediation plan, use the above workflow to patch your 3rd party applications automatically with your operating system patches. To view the output of the updates, please follow the steps below:
Viewing Single Output:
- View the output by going to Endpoints -> Activities
- Move your cursor over the task and select the 'eye' icon to view the output (For better viewing, please download the output)
Viewing Multiple Outputs:
- To view the update for all your endpoints, filter on the specific task and remediation plan
- Select the floppy disk icon and download the full activities report
Example Output:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.spd.co.il
* extras: centos.spd.co.il
* updates: centos.spd.co.il
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.16.0-1.el7.ngx will be updated
---> Package nginx.x86_64 1:1.20.2-1.el7.ngx will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
nginx x86_64 1:1.20.2-1.el7.ngx nginx 790 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total download size: 790 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 1:nginx-1.20.2-1.el7.ngx.x86_64 1/2
Cleanup : 1:nginx-1.16.0-1.el7.ngx.x86_64 2/2
Verifying : 1:nginx-1.20.2-1.el7.ngx.x86_64 1/2
Verifying : 1:nginx-1.16.0-1.el7.ngx.x86_64 2/2
Updated:
nginx.x86_64 1:1.20.2-1.el7.ngx
Complete!
Comments
0 comments
Please sign in to leave a comment.