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

Re: Add annotation in message

Did you grep for your command in them?

Honored Contributor
Piku
Posts: 4,046
Registered: ‎06-17-2010
Message 27 of 33 (273 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.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
Honored Contributor
Goran Koruga
Posts: 1,308
Registered: ‎12-05-2002
Message 28 of 33 (268 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,046
Registered: ‎06-17-2010
Message 29 of 33 (264 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.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
Honored Contributor
Goran Koruga
Posts: 1,308
Registered: ‎12-05-2002
Message 30 of 33 (263 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: 258
Registered: ‎05-06-2010
Message 31 of 33 (250 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,046
Registered: ‎06-17-2010
Message 32 of 33 (246 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.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
Honored Contributor
Goran Koruga
Posts: 1,308
Registered: ‎12-05-2002
Message 33 of 33 (238 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.