You can change the temporary location of the patch install directory for Agent Controllers on Oracle Solaris OS.
Note:
This procedure is not applicable for versions greater than Oracle Solaris 10.
Use one of the following methods to change the temporary location of the patch install directory:
/usr/lib/scn/update-agent/bin/.uce.rc
directory on each agent manually:
( all ) ( invisible.directories.__pkg.extraction_tmp_dir, "/var/tmp/" );
After the configuration changes, restart the Agent Controller.
Perform the following steps to create an operational profile and plan and launch the deployment job:
Expand Plan Management in the Navigation pane, then click Operational Profiles.
Click Create Profile.
Name the new profile and add a description.
Select a subtype from the list to identify the type of target for this profile. Click Next.
Specify the type of script as Remote Shell.
Add the below script in the Script field.
#!/bin/bash UCE_BIN=/usr/lib/scn/update-agent/bin if [ -f $UCE_BIN/.uce.rc ]; then grep -v 'extraction_tmp_dir' $UCE_BIN/.uce.rc > $UCE_BIN/.uce.rc.tmp mv $UCE_BIN/.uce.rc $UCE_BIN/.uce.rc.bk mv $UCE_BIN/.uce.rc.tmp $UCE_BIN/.uce.rc echo '( all ) ( invisible.directories.__pkg.extraction_tmp_dir, "'${UCE_TMP_DIR}'" );' >> $UCE_BIN/.uce.rc /usr/lib/cacao/bin/cacaoadm restart -i scn-agent fi
Specify the number of minutes or seconds that the script can run. The default is 60 minutes. Click Next.
In the Reboot Policy field, select Success on Reboot policy from the drop-down list to direct the action of the script when the system reboots.
(Optional) To add environment variables to either type of script, click the Add icon, then specify the variable’s name, value, whether input is required at execution and a hint for that input. Add the following variables:
Variable Name: UCE_TMP_DIR
Input at Execution: Required
Value: /var/tmp/ (or other)
Hints: extraction tmp dir
Click the View Script button to review. Click Next.
Review the entire profile, then click Finish.
To launch the deployment job, Select Plan Management from the Navigation pane.
Click Operational Plans and select the new plan created for the new profile.
Click Apply Operational Plan.