Technical Note 205
From Documentation
Revision as of 06:02, 10 April 2007; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
[edit]
Technical Note
This article recreates Technical Note 205.2, originally posted January 21, 2005.
[edit]
How do I upgrade from COSMOS 3.2.1 to COSmanager 4.2.5
All products, Backup 3.2.x, Duty 3.0, Sentinel 4.2.x and Task 4.1, will run with COSmanager Framework 4.2.5. They will be able to take advantage of context sensitive menus and new look and feel without the need for any modifications.
[edit]
Upgrade process
The upgrade is performed as follows:
- Download COSmanager 4.2.5 distribution for your Operating System from Functional Software Downloads. Save the distribution to /tmp on the target host
- As a COSmanager Manager user run:
- cos
- Config > COSMOS configuration > COSMOS applications, then Application > Install
- Select file, enter filename as downloaded, eg /tmp/cosmos-4.2.5
- When requested whether to share or copy the database, select copy
- Exit COSmanager
- As a COSmanager Manager user, ignoring missing audit trail messages, run:
- cos -u cosmos -v 4.2.5
- Config > COSmanager configuration > Applications
- Select COSmanager 4.2, then Application > Default version
- Config > COSmanager configuration > Other tables
- Select audlist, then Table > Maintain
- Select the audit trail COSMOS, then Maintain > Change
- Change all occurances of COSMOS to COSmanager (in Name, Description, File and Archive directory)
- Save the changes
- Config > COSmanager configuration > Hosts
- Select all entries that are not COSmanager hosts, then Maintain > Remove (you can avoid having to confirm each entry being removed by first File > Confirm actions)
- Then Remote > Allow access
- Then Remote > Get applications
- Exit COSmanager
- Edit /etc/passwd and change the home directory of cosmos to the new installed directory of COSmanager Framework 4.2.5, for example, from /usr/cosmos/COS_3.2 to /usr/cosmos/COS_4.2
- Create new symbolic link to the cos and FSsh program, for example:
- ln -s /usr/cosmos/COS_4.2/bin/cos /bin/cos
- ln -s /usr/cosmos/COS_4.2/bin/FSsh /bin/FSsh
- ln -s /usr/cosmos/COS_4.2/bin/FStcl /bin/FStcl
- From a root shell run:
- cos -u cosmos cosmos -c ksh
- cd ~cosmos/Install
- ./upg_sched
- Some tables should be compared with new default values. These tables are appl_cap, comm_meth, hostclass, hostype, role and table. Run:
- cd ~cosmos/db
- diff <table> ../distrib.db
- If entries in
are superseded or no longer needed, then remove the file < table> from the current directory.