Solaris 8 System Administration Supplement

System Administrator RCM Script Tasks

The following table describes the tasks for a system administrator who is creating an RCM script to do site customization.

Table 17–2 System Administrator RCM Script Task Map

Task 

Description 

For Instructions, Go To 

1. Identify Resources to Be Dynamically Removed 

Identify the resources (device names) to be potentially removed by using the cfgadm -l command.

cfgadm(1m) man page

2. Identify Applications to Be Stopped 

Identify the commands for stopping the applications cleanly. 

Application documentation 

3. Identify Commands For Pre- and Post-Removal of the Resource 

Identify the actions to be taken before and after the resource is removed. 

rcmscript(4) man page

4. Write the RCM Script 

 

Tape Backup RCM Script Example

5. Install the RCM Script 

Add the script to the appropriate script directory. 

How to Install an RCM Script

6. 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