Administering Resource Management in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Validate a Configuration Before Committing the Configuration

You can use the –n option with the –c option to test what will happen when the validation occurs. The configuration will not actually be committed.

The following command attempts to validate the configuration contained at /home/admin/newconfig. Any error conditions encountered are displayed, but the configuration itself is not modified.

  1. Become root or assume an equivalent role.
  2. Test the validity of the configuration before committing it.
    # pooladm -n -c /home/admin/newconfig