dbTalk Databases Forums  

moving a universe distributed file

comp.databases.pick comp.databases.pick


Discuss moving a universe distributed file in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matt Harting
 
Posts: n/a

Default moving a universe distributed file - 03-23-2006 , 07:48 AM






We are in the middle of migrating to a new server. Our old server (NT4
- UV 9.5.1.1f) had accounts/files spread over 2 drives. We are moving
to a new server (W2K3 - UV 10.1.11) that has one large RAID array. On
the old system we had a distributed file that was on a drive G. On the
new system, there is no drive G only an F. Whenever I try to access
the distributed file, it returns the following error:

Error initializing Distributed File "DFILE".
Unable to open file "G:\ACCOUNTS\acctx\DFILE.ONE".
Unable to open "DFILE" file.

I have tried to redefine the file using DEFINE.DF, but it returns the
same error as above as well. Any ideas on how to correct this problem?

Thanks.

Matt Harting


Reply With Quote
  #2  
Old   
Richard Wilson
 
Posts: n/a

Default Re: moving a universe distributed file - 03-23-2006 , 08:10 AM






cheat

create a directory under F: called g_drive
copy your ACCOUNTS directory to F:\G_DRIVE\ACCOUNTS
login into the UV account
DOS /C SUBST G: F:\G_DRIVE
you now have a virtual G drive

note: you have to start in the UV account each time for the G drive to work
I think some type of new command environment is create

you will also need to create an item in UV.ACCOUNTS for ACCOUNTS

Rich

Matt Harting wrote:

Quote:
We are in the middle of migrating to a new server. Our old server (NT4
- UV 9.5.1.1f) had accounts/files spread over 2 drives. We are moving
to a new server (W2K3 - UV 10.1.11) that has one large RAID array. On
the old system we had a distributed file that was on a drive G. On the
new system, there is no drive G only an F. Whenever I try to access
the distributed file, it returns the following error:

Error initializing Distributed File "DFILE".
Unable to open file "G:\ACCOUNTS\acctx\DFILE.ONE".
Unable to open "DFILE" file.

I have tried to redefine the file using DEFINE.DF, but it returns the
same error as above as well. Any ideas on how to correct this problem?

Thanks.

Matt Harting



Reply With Quote
  #3  
Old   
martin.kent@postrelational.co.uk
 
Posts: n/a

Default Re: moving a universe distributed file - 03-24-2006 , 03:54 AM



I am assuming that you have a file called DFILE and this has various
parts called DFILE.ONE, DFILE.TWO etc. You will also need to know the
distribution algorithm before you can add/remove parts from the
partfile.

First of all, amend the VOC pointer for DFILE and ensure that the
pathname is correct for both parts. Ensure that you can type LIST DICT
DFILE and get a list of the dictionary for that file.

Next, amend the VOC entries for each of the parts of the part file. At
the moment these will read something like;

DFILE.ONE
<1> F
<2> G:\ACCOUNTS\acctx\DFILE.ONE
<3> D_DFILE

Change attribute 2 to the new pathname e.g. F:\ACCOUNTS\acctx\DFILE.ONE

Once you have done this, you should be able to list each of the parts.

There is also a file called &PARTFILES& in the 'uv' directory which
contains the full path to each of the parts in the distributed file .
If you've copied your universe directory from your old machine,
&PARTFILES& will contain entries to the old pathname, so you will need
to remove a part then add it back in ONE AT A TIME - when you remove
the last part from the distribution, it deletes the dictionary and I'm
sure you don't want that.

If you've reloaded universe from scratch, you don't need to worry about
&PARTFILES& and you can add the parts back in using DEFINE.DF


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.