|
|||
1. Managing Removable Media (Overview) 2. Managing Removable Media (Tasks) 3. Accessing Removable Media (Tasks) 4. Writing CDs and DVDs (Tasks) 5. Managing Devices (Overview/Tasks) 6. Dynamically Configuring Devices (Tasks) Dynamic Reconfiguration and Hot-Plugging SCSI Hot-Plugging With the cfgadm Command (Task Map) SCSI Hot-Plugging With the cfgadm Command How to Display Information About SCSI Devices How to Unconfigure a SCSI Controller How to Configure a SCSI Controller How to Configure a SCSI Device How to Disconnect a SCSI Controller SPARC: How to Connect a SCSI Controller SPARC: How to Add a SCSI Device to a SCSI Bus SPARC: How to Replace an Identical Device on a SCSI Controller SPARC: How to Remove a SCSI Device How to Resolve a Failed SCSI Unconfigure Operation PCI or PCIe Hot-Plugging With the cfgadm Command (Task Map) PCI or PCIe Hot-Plugging With the cfgadm Command How to Display PCI Slot Configuration Information How to Remove a PCI Adapter Card 7. Using USB Devices (Overview) 9. Using InfiniBand Devices (Overview/Tasks) 11. Administering Disks (Tasks) 12. SPARC: Adding a Disk (Tasks) 13. x86: Adding a Disk (Tasks) 14. Configuring Solaris iSCSI Targets and Initiators (Tasks) 15. Configuring and Managing the Solaris Internet Storage Name Service (iSNS) 16. The format Utility (Reference) 17. Managing File Systems (Overview) 18. Creating UFS, TMPFS, and LOFS File Systems (Tasks) 19. Mounting and Unmounting File Systems (Tasks) 20. Using The CacheFS File System (Tasks) 21. Configuring Additional Swap Space (Tasks) 22. Checking UFS File System Consistency (Tasks) 23. UFS File System (Reference) 24. Backing Up and Restoring File Systems (Overview) 25. Backing Up Files and File Systems (Tasks) 26. Using UFS Snapshots (Tasks) 27. Restoring Files and File Systems (Tasks) 28. UFS Backup and Restore Commands (Reference) 29. Copying UFS Files and File Systems (Tasks) |
Reconfiguration Coordination Manager (RCM) Script OverviewThe Reconfiguration Coordination Manager (RCM) is the framework that manages the dynamic removal of system components. By using RCM, you can register and release system resources in an orderly manner. You can use the new RCM script feature to write your own scripts to shut down your applications, or to cleanly release the devices from your applications during dynamic reconfiguration. The RCM framework launches a script automatically in response to a reconfiguration request, if the request impacts the resources that are registered by the script. You can also release resources from applications manually before you dynamically remove the resource. Or, you can use the cfgadm command with the -f option to force a reconfiguration operation. However, this option might leave your applications in an unknown state. Also, the manual release of resources from applications commonly causes errors. The RCM script feature simplifies and better controls the dynamic reconfiguration process. By creating an RCM script, you can do the following:
What Is an RCM Script?
What Can an RCM Script Do?You can use an RCM script to release a device from an application when you dynamically remove a device. If the device is currently open, the RCM script also closes the device. For example, an RCM script for a tape backup application can inform the tape backup application to close the tape drive or shut down the tape backup application. How Does the RCM Script Process Work?You can invoke an RCM script as follows: $ script-name command [args ...] An RCM script performs the following basic steps:
The RCM daemon runs one instance of a script at a time. For example, if a script is running, the RCM daemon does not run the same script until the first script exits. RCM Script CommandsYou must include the following RCM commands in an RCM script:
You might include some or all of the following RCM commands:
For a complete description of these RCM commands, see rcmscript(4). RCM Script Processing EnvironmentWhen you dynamically remove a device, the RCM daemon runs the following:
|
||
|