Upgrading Program
Following procedure could be used if you are upgrading the control from Rel 10 to latest. These instruction are taken during the upgrade at BRAUN company, they were are Rel10 and we update to the latest. If you are jumping the upgrade from older than Rel10 to latest, please ask and refer to other manual and use this as a refrence.
- Check the disk space to see if they have enough to do update.
- Organize the time and date with the client to upgrade. Don't pick friday or day before holiday because if something goes wrong you can still fix it on next day.
- Tell the customer that nobody should be using CONTROL when we do the update.
- When you are ready to copy the program to customer server, talk to the customer if everything are compiled and if they have done any recent changes.
- Backup Steps
- Backup the company directory with permission,owner and date intact ( #cp -r --preserve COMPANY COMPANY.bak)
- Backup any othe branch folder or anything seems to be crucial.
- Copying program accross using tar command but before that create a unique folder at customer site (eg : cc.10 under /u)
- # tar cvz u/ccdev/std/{binl,binx11,utbinl,utbinx11} | ssh ccc@braun "cd /u/cc.10/; tar xvz"
- Get ready to update the program now
- Comment out all cronjobs of root and ccc.
- Kill all the processes of control and any other things that will effect upgrade. ( eg: ilstr,salstr etc)
- Under std folder there will folder just like you copied over. Go inside the each one of them. You will see program like aleat and so on, if there is previous version there will be backup like aleat.bak or very oldest version aleat.old. You can also check the date by using #ll command. You need to used mv command to change .bak to .old and new to .bak. ( Eg : aleat.bak to aleat.old and aleat to aleat.bak). After that move all .bak command to different folder as backup, in anycase we need to revert back next day or so.
- After everything is moved, it's time to move our newest program from cc.10 directory to specific folder inside std.
- Check the permission of programs under those folder ( binl, binx11,utbinl, utbinx11). It should be atleast 666.
- # chmod 666 *
