head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 98.09.09.04.04.25; author horton; state Exp; branches; next ; desc @ OpenView database copying (method) @ 1.1 log @Initial revision @ text @
Object_Id : 245 Title : OpenView database copying (method) Node_Type : Production Format : text Address : see abstract! Keywords : ovwdb Abstract : (Assuming both versions are the same. I don't know if 3.31->5.01 would work). (Moving from server1 (HP-UX B.10.20) to cooloola (SunOS 5.5) ) (The actual procedure I used copied /var/opt/OV/share and then I created a merged /var/opt/OV/share.{cooloola,server1} from server1's databses subdirectory and rest from cooloola. Below is what I should have done the first time!) server1# ovstop cooloola# ovstop server1# find /var/opt/OV/share/databases -print | cpio -ovcdm > /scratch1/tmp/380/server1.cpio cooloola# cd /var/opt/OV/share cooloola# mv databases databases.cooloola cooloola# cpio -ivcdum < /scratch1/tmp/380/server1.cpio cooloola# vi /var/opt/OV/share/databases/ovwdb/ovserver change "server1" to "cooloola" cross fingers, shake bones, close eyes, pray, etc cooloola# ovstart and for good measure :- server1# ovstart In the future when everything is determined to be running correctly cooloola# rm -rf /var/opt/OV/share/databases.cooloola cooloola# rm -f /scratch1/tmp/380/server1.cpio Date_Entry_Created : 22/01/98 Entry_Created_By : horton Date_Entry_Last_Modified: 22/01/98 Entry_Last_Modified_By : mailto:horton@@citr.com.au Asset_Qualification : useful / does the job Other_Opinions : Contact_Person : mailto:horton@@citr.com.au IP_or_Copyright_Owner : CiTR Support_re_Ownership : Done as support work for NEC project. Date_Item_Created : 22/01/98 Usage_Conditions : Support_re_Usage_Condns : Authors_and_Contributors: David Horton Projects_Used_In : NC380.6 Obtained_From : Derived_From : Related_Items : Context_or_When_To_Use : Ensure backup steps are done. Existing databases on target are lost! Procedure_Number : NC380.6-3.1.1302 Authorisation_for_Use : Additional_Info :