Active IQ Unified Manager Discussions

How to update data center and business unit annotation for a Internal volume in OCI

koushikk
4,000 Views

Hi All,

 

Can anyone please let me know How we update data center and Business Unit  annotation for an Internal volume in OCI

Please provide format and few exapmples if possible . Thanks

 

1 ACCEPTED SOLUTION

sbrack
3,885 Views

Hi Kousick,

 

here an example to update Data Center and Business Unit for a Host:

 

File: test.txt

,,Data Center,Business_Unit
Host,hyperv-01,MyBigDataCenter,MyCrazyBusinessUnit

Here the response from the Annotation Import Utility:

java -jar rest-anno-import-utility.jar -uadmin -pthisisasecret -aociserver -ltrue test.txt
RestAnnoImport: 7.3.0.1032
Importing: test.txt
Discovering Annotation Types... done.
Discovering Applications... done.
Discovering Business Entities... done.
Discovering Hosts... done.
done.
Assigning 'Data Center' values to 1 target(s)... done.

Finished C:\temp\rest-anno-import-utility\test.txt in 760 milliseconds
        Annotations Enums created:   0
        Annotations assigned:        1
        Annotations cleared:         0
        Business Entities Created:   0
        Applications created:        0
        Applications updated:        0
        Applications assigned:       1
        Applications cleared:        0

You can always use -ltrue to enable extended logging to get more information if the utility does not work as expected.

 

Regards,

Seb

View solution in original post

3 REPLIES 3

sbrack
3,969 Views

Hi koushikk,

 

there are multiple ways to define your annotations:

 

  • Manually assigning annotations (Assset Page/Queries)
  • Creating annotation rules
  • Importing annotation values (Annotation Import Utility, ...)

 

You can refer to the chapter "Using annotations to monitor your environment" and the appropriate subsections at the OnCommand Insight 7.3 Documentation Center to get more information about each method.

 

Regards,

Seb


 

koushikk
3,899 Views

Hi Sbrack

 

Thanks for your response.

 

Actually i need the format which updates only the Business Unit , Data center annotation using Annotation utility tool.

I've tried the format following the example file import utility tool but getting error.

Can you please expliciltly provide the exact format which needs to be in place to amend BU,DC using anotation import utlity tool.

 

Thanks

Kousick Kadambi

sbrack
3,886 Views

Hi Kousick,

 

here an example to update Data Center and Business Unit for a Host:

 

File: test.txt

,,Data Center,Business_Unit
Host,hyperv-01,MyBigDataCenter,MyCrazyBusinessUnit

Here the response from the Annotation Import Utility:

java -jar rest-anno-import-utility.jar -uadmin -pthisisasecret -aociserver -ltrue test.txt
RestAnnoImport: 7.3.0.1032
Importing: test.txt
Discovering Annotation Types... done.
Discovering Applications... done.
Discovering Business Entities... done.
Discovering Hosts... done.
done.
Assigning 'Data Center' values to 1 target(s)... done.

Finished C:\temp\rest-anno-import-utility\test.txt in 760 milliseconds
        Annotations Enums created:   0
        Annotations assigned:        1
        Annotations cleared:         0
        Business Entities Created:   0
        Applications created:        0
        Applications updated:        0
        Applications assigned:       1
        Applications cleared:        0

You can always use -ltrue to enable extended logging to get more information if the utility does not work as expected.

 

Regards,

Seb

Public