Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Preparations for Writing an RCM Script for an Application

    You need to gather some information before writing an RCM script for applications.

  1. Identify the resources the application uses that would affect the application, which you can potentially remove.

    These are resources that you can potentially remove which would affect the application.

    # cfgadm -al
  2. Identify the application commands for releasing the resource in an orderly fashion.

    Consult your application's documentation for these commands.

  3. Identify the script commands that remove the resource, including those notifying the application that the resource has been removed.

    Refer to the rcmscript(5) man page.

  4. Identify the script commands that would notify the application about the availability of the resource if the resource is replaced, including those that automatically run if the resource removal fails.

  5. Write the RCM script and assign it a name that uses the following format:

    vendor,service
    • vendor – The stock symbol of the vendor that provides the script or any distinct name that identifies the vendor.

    • service – The service that the script represents