System Administration Guide: Devices and File Systems

Application Developer RCM Script (Task Map)

The following task map describes the tasks for an application developer who is creating an RCM script.

Task 

Description 

For Instructions 

1. Identify resources your application uses 

Identify the resources (device names) your application uses that you could potentially dynamically remove. 

cfgadm(1M)

2. Identify commands to release the resource 

Identify the commands for notifying the application to cleanly release the resource from the application. 

Application documentation 

3. Identify commands for post-removal of the resource 

Include the commands for notifying the application of the resource removal. 

rcmscript(4)

4. Identify commands if the resource removal fails 

Include the commands for notifying the application of the available resource.  

rcmscript(4)

5. Write the RCM script 

Write the RCM script based on the information identified in the previous tasks. 

Tape Backup RCM Script Example

6. Install the RCM script 

Add the script to the appropriate script directory. 

How to Install an RCM Script

7. Test the RCM script 

Test the script by running the script commands manually and by initiating a dynamic reconfiguration operation. 

How to Test an RCM Script