Networker

Re: [Networker] moving an index

2002-09-17 08:28:02
Subject: Re: [Networker] moving an index
From: ForgetS AT DFO-MPO.GC DOT CA
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 17 Sep 2002 08:24:02 -0400
Hello Networker uers,

This process is explained in the Networker Administration manual, and I have
had to do it many times for various reasons.  Here are the steps I used on
TRU64:

To move a client file index to a new location on the same machine, follow
these steps:

1. Log in as root user on the NetWorker server.

2. Shut down all the NetWorker daemons and processes by running the
nsr_shutdown command:

# nsr_shutdown -a

3. Go to the NetWorker index directory, which is usually /nsr/index.

4. Enter the following uasm command to make an exact copy of the client file
index directory in the new target directory:

# uasm -s -i client-index-dir | (cd /target-dir; uasm -rv)

Replace client-index-dir with the name of the client file index directory in
/nsr/index.  Replace /target-dir with the complete pathname of the new
directory to contain the client file index directory.  After running this
uasm command, the new directory /target-dir/client-index-dir will be an
exact copy of /nsr/index/client-index-dir.  The uasm command preserves the
ownership, time, and other UNIX system attributes of all the copied files.

5. Verify that the contents of the client file index directory were copied
properly to the target directory location.

6. Delete the original client index directory in /nsr/index.

7. Use the following command to create a symbolic link between the old and
new locations:

# ln -s /target-dir/client-index-dir /nsr/index/client-index-dir

The last step is to restart Networker of course.  =8-)

Cheers,

   Serge Forget

Systems Operation
    DFO-MPO


-----Original Message-----
From: Craig Faller [mailto:craig.faller AT HP DOT COM]
Sent: September 16, 2002 11:42 PM
Subject: Re: moving an index


why not just make it nice and neat, modify each specific client config, and
where it states "Index Path", enter the exact location of the client
index....via the GUI, go into detailed mode, and just under the list of
Administrators is the "Index Path"....

or just keep your symbolic links as you have done, so at unix level you can
see where each of your indexes are hiding....

--
Note: To sign off this list, send a "signoff" command via email to
listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can also view
and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>