Solaris 8 System Administration Supplement

Application Developer RCM Script Tasks

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

Table 17–1 Application Developer RCM Script Task Map

Task 

Description 

For Instructions, Go To 

1. Identify Resources Your Application Uses 

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

cfgadm(1m) man page

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) man page

4. Identify Commands If the Resource Removal Fails 

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

rcmscript(4) man page

5. Write the RCM Script 

 

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