Add annotation in message (995 Views)
Reply
Honored Contributor
Goran Koruga
Posts: 1,324
Registered: ‎12-05-2002
Message 26 of 33 (303 Views)

Re: Add annotation in message

Did you grep for your command in them?

Honored Contributor
Piku
Posts: 4,128
Registered: ‎06-17-2010
Message 27 of 33 (299 Views)

Re: Add annotation in message

Sorry could not get you.
If there are files then grep will show the same results.

Thanks
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Honored Contributor
Goran Koruga
Posts: 1,324
Registered: ‎12-05-2002
Message 28 of 33 (294 Views)

Re: Add annotation in message

Hello.

 

What do these commands show:

 

cd /etc/opt/OV/share/conf/OpC/mgmt_sv/templates/utf8/ux_compress

grep UNIX95 *

for a in *.Z; do uncompress -c "$a" | grep UNIX && echo $a; done

 

 

    Goran

Honored Contributor
Piku
Posts: 4,128
Registered: ‎06-17-2010
Message 29 of 33 (290 Views)

Re: Add annotation in message

output of 'grep UNIX95 *' is null
I executed command after moving to this directory.

But there are file like *.Z, *_header.xml and *_data

Thanks,
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Honored Contributor
Goran Koruga
Posts: 1,324
Registered: ‎12-05-2002
Message 30 of 33 (289 Views)

Re: Add annotation in message

Yes, the second command will check the compressed files - does it show any filenames?

 

Goran

HP Expert
tobias_m
Posts: 268
Registered: ‎05-06-2010
Message 31 of 33 (276 Views)

Re: Add annotation in message

Hello,

 

It is really strange that the policy isn't distributed although other policies are.

 

I would try this and see if that helps:

- Run opcdbidx as follows:

# opcdbidx -config -flags

 

- Try and distribute again

 

- After you get the successfully distributed message, check if UNIX95 is now in one of the policy files:

# grep UNIX95 /var/opt/OV/datafiles/policies/*/*_data

 

Best regards,

Tobias

 

Honored Contributor
Piku
Posts: 4,128
Registered: ‎06-17-2010
Message 32 of 33 (272 Views)

Re: Add annotation in message

Hi ,

Wil this command distribute policy on all pending node or restart fro all police for all node.
I am cautious becoz this is production.

thanks,
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
Honored Contributor
Goran Koruga
Posts: 1,324
Registered: ‎12-05-2002
Message 33 of 33 (264 Views)

Re: Add annotation in message

Hello.

 

It doesn't distribute things - it makes changes in the database. So you still need to distribute it manually after the command is ran.

 

Regards,

    Goran

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.