Cisco Systems 4.1 Dust Collector User Manual


 
12-92
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 12 Managing Software Images Using Software Management
Understanding User-supplied Scripts
Understanding User-supplied Scripts
User-supplied scripts are run before and after each device upgrade, for example:
The preupgrade script can check whether the device is accessible.
The preupgrade script can check whether any users are connected to the access server. If the script
finds that some users are connected, it can decide whether to disable the connections before
upgrading.
The post-upgrade script can check whether the upgrade was successful. Depending on the return
value, Software Management either halts or continues with the rest of the upgrade.
The following sections contain:
Script Requirements
Script Parameters
Sample Script
Script Requirements
In the Edit Preferences dialog box (Admin > Software Mgmt > View/Edit Preferences), enter:
Enter the shell scripts (*.sh) on UNIX and batch files (*.bat) on Windows.
On UNIX, the scripts should have read, write, and execute permissions for the owner (casuser)
and read and execute permissions for group casusers. That is, the script should have 750
permission.
On Windows, the script should have read, write, and execute permissions for
casuser/Administrator.
The other users should have only read permission. You must ensure that the scripts contained in
the file has permissions to execute from within the casuser account.
The script files must be available at this location:
On UNIX:
Job Results Select a device to view the complete job result. It displays information on:
The job status, start time and end time.
The job completion status on the devices you have selected. For example, number of successful
devices where the job is executed successfully.
The import/upgrade mode (parallel or sequential)
The protocol order used for image transfer and configuration tasks.
How the job was processed.
Summary[On Job
Complete]
Displays the summary of the completed job
For software distribution jobs, the summary contains details about the device, image type, running image
name, upgrade image name, upgrade storage location, and image distribution status.
For software import jobs, the summary contains details about device, image name, storage location, and
import status of the image.
The Job Summary is not generated for Image Out-Of-Sync Report job.
Page/Folder Description