5.7
Table Of Contents
- Software Content Repository Tool 5.0 Guide
- Contents
- About This Book
- Introduction to the Software Content Repository Tool
- Preparing for SCR Tool Installation
- Installing the Prerequisite Software for the SCR Tool
- Configuring the Red Hat Host Machine
- Managing Patch Content with the SCR Tool
- Troubleshooting the SCR Tool
- Out of Memory Error
- Content Download Network Connection Error
- Cannot Connect to Red Hat Account
- Session Login to Red Hat Fails
- Download from Red Hat Fails
- HP-UX Service Authentication Fails
- Download from HP Fails
- Proxy Server Configuration Fails
- Mismatch in Number of Patches
- OS Vendor Does Not Accept Credentials
- OS Vendor Errors
- Patch Download Errors
- Obsolete Patches Cause the Download to Fail
- HTTP Errors Are Not Marked as SEVERE
- Connection Refused Errors
- Null Pointer Exception Errors
- Index
Schedule Downloads
You can use OS schedulers, such as cron or at, to automate the process to replicate the patchs.
Automating the patch replication process is preferable, because the download process might require you
to run the startup file more than once to retrieve all of the content for a particular vendor.
The SCR Tool does not provide embedded scheduling. If you connect multiple platforms to the same
repository, you must schedule the startup script to run separately for each platform.
Prerequisites
n
Complete at least one replication for each operating system before you add the startup script to a
scheduling service. The initial replication might take longer than one day for each operating system.
Procedure
1. On the SCRTool machine, go to the scr_root/bin directory.
2. Create a file that contains a list of all platforms for which you have a content subscription.
3. Comment out the platforms that are not necessary or for which you do not have a subscription, and
save the file.
4. Use the following command to create a file to schedule the replication download.
vim start_all_nix_replication.sh
5. To replicate all platforms, add the following content to the file, omit entries for unused platforms, and
save the file.
#!/bin/sh
echo Running startup.sh aix-rt
./startup.sh aix-rt
echo Running startup.sh hp-rt
./startup.sh hp-rt
echo Running startup.sh osx-rt
./startup.sh osx-rt
echo Running startup.sh redhat-rt
./startup.sh redhat-rt
echo Running startup.sh solaris-rt
./startup.sh solaris-rt
echo Running startup.sh suse-rt
./startup.sh suse-rt
6. Set the mode of the script to executable.
chmod +x start_all_nix_replication.sh.
7. Change directory to /etc/cron.daily.
8. Use the following command to create a new file.
vim SCR
9. Add the following content to the file to begin the patch replication process, and save the file.
Software Content Repository Tool 5.0 Guide
28
VMware, Inc.