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

Re: Add annotation in message

Did you grep for your command in them?

Please use plain text.
Honored Contributor
Piku
Posts: 3,687
Registered: ‎06-17-2010
Message 27 of 33 (137 Views)

Re: Add annotation in message

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

Thanks
Please use plain text.
Honored Contributor
Goran Koruga
Posts: 1,271
Registered: ‎12-05-2002
Message 28 of 33 (132 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

Please use plain text.
Honored Contributor
Piku
Posts: 3,687
Registered: ‎06-17-2010
Message 29 of 33 (128 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,
Please use plain text.
Honored Contributor
Goran Koruga
Posts: 1,271
Registered: ‎12-05-2002
Message 30 of 33 (127 Views)

Re: Add annotation in message

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

 

Goran

Please use plain text.
HP Expert
tobias_m
Posts: 197
Registered: ‎05-06-2010
Message 31 of 33 (114 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

 

Please use plain text.
Honored Contributor
Piku
Posts: 3,687
Registered: ‎06-17-2010
Message 32 of 33 (110 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,
Please use plain text.
Honored Contributor
Goran Koruga
Posts: 1,271
Registered: ‎12-05-2002
Message 33 of 33 (102 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

Please use plain text.
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