Self-Solve Knowledge Search

Minimize Maximize
How to solve the error "(conf-482) No policy selection. Specify a valid policy s...
Title :
How to solve the error "(conf-482) No policy selection. Specify a valid policy selection."
Document ID :
KM00818305
Product - Version:
operations manager for windows 8.10 8.16 9.00 ;
OS :
Updated :
Wed May 07 07:02:45 GMT 2014
Summary :
To change the policy onwer in a managed the followimg command can be used: ovpolicy -setowner <owner> [-no-notify -host <hostname> [-targetid [<id>]...]] [-ovrg <ov_res_group>] [-targetovrg <ov_res_group>] <SELECTION> Operations Manager for Windows OMW 8.10 Operations Manager for Windows OMW 8.16 Operations Manager for Windows OMW 9.00
Problem

When issuing the command with the following syntax the error below will be shown:

C:\Program Files\HP\HP BTO Software\support>ovdeploy -cmd "ovpolicy -setowner swvm557.bgr.hp.com" -ovrg server -host swvm560.bgr.hp.com
ERROR:   (depl-86) Unable to execute command 'ovpolicy -setowner
         swvm557.bgr.hp.com' on node 'swvm560.bgr.hp.com'.
          (depl-400) Message returned from the target node:
         (depl-86) Unable to execute command 'ovpolicy -setowner
         swvm557.bgr.hp.com' on node 'swvm560.bgr.hp.com'.
          (depl-301) Command 'C:\Windows\system32\cmd.exe /C "ovpolicy
         -setowner swvm557.bgr.hp.com' terminated with an error:

         ERROR:   (conf-482) No policy selection. Specify a valid policy.

image text

Cause

This is caused by a missing attribute.  The correct syntax is:

C:\Program Files\HP\HP BTO Software\support>ovdeploy -cmd "ovpolicy -setowner swvm557.bgr.hp.com -all" -ovrg server -host swvm560.bgr.hp.com
       * Set owner to all policies on host 'localhost'.INFO:    Set owner operation completed successfully.

image text