Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove invalid license keys in OVSD ?

Highlighted
izad
Honored Contributor

How to remove invalid license keys in OVSD ?

Hi Experts,

Could anyone tell me how to remove invalid (expired) license keys from OVSD 5.0 on HP-UX ?

I cant see those keys in "Remove license keys" option of OvSdLic.sh.

I removed those keys from /var/opt/OV/HPOvLIC/LicFile.txt, but surprisingly this file is getting updated dynamically and those keys comes in again automatically !

I was looking to remove the keys from REP_LICENSES, but not sure how to identify the licenses in those rows.

Any help is highly appreciated. Points guarenteed :)

Thanks
I hate quotations. Tell me what you know !
5 REPLIES
Ruth Porter
Honored Contributor

Re: How to remove invalid license keys in OVSD ?

Hi there,

As far as I am aware, if you stop the services, you can remove all rows in REP_LICENSES and when you restart it will pick up what is left in LicFile.txt.

Hope this helps, Ruth
http://www.teamultra.net
izad
Honored Contributor

Re: How to remove invalid license keys in OVSD ?

Hi Ruth,

Thanks for the quick response.

But I cant modify the LicFile.txt. It is reverting back to old contents after few minutes. I wonder from where it takes the data.

or is it like edit LicFile.txt and immedietly stop services and then remove all rows from REP_LICENSES ?

regards,
I hate quotations. Tell me what you know !
Ruth Porter
Honored Contributor

Re: How to remove invalid license keys in OVSD ?

Hi there,

The DB table and licFile.txt seem to feed each other: so if you do the following:

1. Stop all services (ovc -stop and then stop services)

2. Remove lines form DB

3. Remove lines form file (take a back up just in case)

4. Restart services

Then I think you wills ee the invalid licenses have gone.

Hope this helps, Ruth
http://www.teamultra.net
izad
Honored Contributor

Re: How to remove invalid license keys in OVSD ?

Thanks Ruth,

Will check this and come back :)
I hate quotations. Tell me what you know !
izad
Honored Contributor

Re: How to remove invalid license keys in OVSD ?

Thanks very much Ruth. I did the following and it looks fine now, without restarting the services.

1. Deleted rows from REP_LICENSES;
2. Deleted invalid keys from LicFile.txt

Regards,
Isadh
I hate quotations. Tell me what you know !
//Add this to "OnDomLoad" event