So, you have some OPS files on your test system that don’t match the CPU id or link to a FlexLM server and you have the countdown being displayed!

The solution to this is to replace the following files in /usr3/mao
DONGES.dat
DONGES2.dat
DONGES3.dat
DONGES4.dat
save.cfg (not sure this one is actually required)
save2.cfg (not sure this one is actually required)
The above files need to come from a freshly created blank database with TEL running so if this is the first time you are doing this and you don’t have the files for the version that you are currently running you will have follow the procedure at the end of this document.
Once you have the files saved create folders in tmpd
>mkdir /usr4/tmp/OPS
>mkdir /usr4/tmp/OPS/files
Copy the saved files
>cp (the above files) /usr4/tmp/OPS/files/
Create a file for the bash script
>touch /usr4/tmp/OPS/renewops.sh
Copy the following into the new file using nano
#!/bin/bash
#OPS Reload
echo ” “
echo “OPS Renew”
echo ” “
#Copy Donges
cp /usr4/tmp/OPS/files/*.* /usr3/mao
Change the file to an executable file.
>chmod +x renewops.sh
Once those bits are in place you can edit the cron file for mtcl to add a job to automatically run the script to renew the timer
>crontab -e (and add the following to the end of the file) (this uses vi which is a pain but…)
0 0 1,15 * * /bin/sh /usr4/tmp/OPS/renewops.sh
(the line equates to at midnight on the 1st and 15th of the month run the ‘command’)
Now your LAB system should renew the timer automatically every 15 days.
You can also edit the file as root with nano with the following but I am not sure if it reloads cron.
# nano /var/spool/cron/mtcl
Just remember to back these up prior to patching the system.
Getting the required files.
- Save you DB
- From swinst create a new DB for .as and then reboot without autostart set
- Once rebooted issue RUNTEL from the prompt
- Once TEL has started copy the files from mao to another location (might as well use the tmpd folder that you created or are about to create)
- Reboot
- Restore you saved DB
- RUNTEL
- Switch on autostart (if you wish)