rhpctl set tags

Sets the listed tags for each Oracle FPP entity.

Syntax

rhpctl set tags -tags tag_list -targettype DB|SITE 
-targets <<site1:db1,db2,..>::<site2:db1,db2,...>...>|<id1,id2...>

Parameters

Table A-69 rhpctl set tag Command Parameters

Parameter Description
-tags tag_list

Comma-separated list of the Oracle FPP tags.

-targettype {DB|SITE} Oracle FPP target for which you want to set the tag.
-targets <<site1:db1,db2,..>::<site2:db1,db2,...>...>|<id1,id2...>

A list of target IDs, which include site names for Oracle Database IDs.

Examples

To set tag for a site:

rhpctl set tags -tags tag1,tag2 -targettype SITE -targets site1

To set tag for a database:

rhpctl set tags -tags tag1,tag2 -targettype DB -targets dbwc4