* Moving the mast CDS server
@ 1994-03-10 9:24 Ernoe Kovacs
1994-03-14 17:51 ` Greg Brail
1994-03-15 12:41 ` Phil_Hirsch
0 siblings, 2 replies; 4+ messages in thread
From: Ernoe Kovacs @ 1994-03-10 9:24 UTC (permalink / raw)
Hello,
this may be a FAQ, but for variouse reasons we have to move our
CDS server from one host to the other without losing its content.
I didn't find the answer to my questions in the documentations
I have (OSF, IBM, and Transarc), maybe someone on the net can help
me out:
1) Is there a way to backup the content of the master CDS server,
to shutdown the server, to restart it on another host and to
reload the old content? Most files that store CDS information
seems to contain the name of the associated clearinghouse
(*_ch.checkpointnnnnnnnnn
*_ch.tlognnnnnnn
*_ch.version
cds_cache.nnnnnn
cds_cache.version
)
Maybe I can just move the files and rename them to the appropriate
clearinghouse name?
2) To understand the term master CDS server. This is the
server that holds the master replica of the root of the
local namespace.
3) Another question: Giving two replicas of a directory,
A being master and B being a replica. Is it possible to change
the roles, resulting in B being master and A being replica?
Maybe my understanding of clearinghouses, directorys, masters
and replicas is something missing, maybe the required operations
are not possible. Any suggestion are welcome.
Thank you in advance
Ernoe
===============================================================================
Office: Institut fuer Parallele und Verteilte Hoechstleistungsrechner (IPVR)
Universitaet Stuttgart, IPVR, Breitwiesenstr. 20-22,D-70565 Stuttgart
Room: 2.016 Phone: (+49) 711/7816-251, Fax: (+49) 711/7816-424
E-mail: (SMTP) Ernoe.Kovacs@informatik.uni-stuttgart.de
(X.400) Ernoe.Kovacs@ipvr.informatik.uni-stuttgart.dbp.de
===============================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Moving the mast CDS server
1994-03-10 9:24 Moving the mast CDS server Ernoe Kovacs
@ 1994-03-14 17:51 ` Greg Brail
1994-03-15 4:42 ` Bruce Beare
1994-03-15 12:41 ` Phil_Hirsch
1 sibling, 1 reply; 4+ messages in thread
From: Greg Brail @ 1994-03-14 17:51 UTC (permalink / raw)
In article <CMFzHF.8ty@news.informatik.uni-stuttgart.de>,
Ernoe Kovacs <kovacs@orgel.informatik.uni-stuttgart.de> wrote:
>this may be a FAQ, but for variouse reasons we have to move our
>CDS server from one host to the other without losing its content.
>I didn't find the answer to my questions in the documentations
>I have (OSF, IBM, and Transarc), maybe someone on the net can help
>me out:
>
>1) Is there a way to backup the content of the master CDS server,
>to shutdown the server, to restart it on another host and to
>reload the old content?
I'd like to know this, too. Most DCE vendors now provide some sort of
script to back up and restore the CDS and security servers, but these
seem to be platform-dependent solutions. What if I want to move my
primary CDS and security server from an HP to a Sun? If this isn't
easily possible, has anyone proposed this to OSF? Ideally, DCE cell
information will last longer than any particular OS or DCE version. If
there's no way to do this, does anyone want to write an RFC?
>3) Another question: Giving two replicas of a directory,
>A being master and B being a replica. Is it possible to change
>the roles, resulting in B being master and A being replica?
I don't know how to do this, but I wish I did. Anyone?
greg
--
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com
"All seven million Austrians and half the cows in Switzerland can
ski faster than the U.S. Ski Team."
-- Sports Illustrated, before the Winter Olympics
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Moving the mast CDS server
1994-03-14 17:51 ` Greg Brail
@ 1994-03-15 4:42 ` Bruce Beare
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Beare @ 1994-03-15 4:42 UTC (permalink / raw)
In article <2m287a$gt6@ftn.ftn.us-ny.citicorp.com>, gjb@fig.citib.com (Greg
Brail) wrote:
> In article <CMFzHF.8ty@news.informatik.uni-stuttgart.de>,
> Ernoe Kovacs <kovacs@orgel.informatik.uni-stuttgart.de> wrote:
>
> >this may be a FAQ, but for variouse reasons we have to move our
> >CDS server from one host to the other without losing its content.
> >I didn't find the answer to my questions in the documentations
> >I have (OSF, IBM, and Transarc), maybe someone on the net can help
> >me out:
> >
> >1) Is there a way to backup the content of the master CDS server,
> >to shutdown the server, to restart it on another host and to
> >reload the old content?
>
> I'd like to know this, too. Most DCE vendors now provide some sort of
> script to back up and restore the CDS and security servers, but these
> seem to be platform-dependent solutions. What if I want to move my
> primary CDS and security server from an HP to a Sun? If this isn't
> easily possible, has anyone proposed this to OSF? Ideally, DCE cell
> information will last longer than any particular OS or DCE version. If
> there's no way to do this, does anyone want to write an RFC?
>
>
> >3) Another question: Giving two replicas of a directory,
> >A being master and B being a replica. Is it possible to change
> >the roles, resulting in B being master and A being replica?
>
> I don't know how to do this, but I wish I did. Anyone?
>
> greg
>
On post 1.0.2 versions of DCE, you can pretty much consider the Master
CDS server to be 'the cds server that has the master replica of the
root directory'. In order to move the master CDS server, you need only
replicate all of the directories to a secondary CDS server, and change the
master for the directories to the slave. At this point, the machine
that had been the slave is now the 'Master'. You should be able to
do a 'cdscp delete clearinghouse /.:/XXX_ch', and then deconfig
the machine.
Note: Not all vendors fully support the above -- your mileage may vary. Be
sure
that both servers are at least at 1.0.2 before trying this.
Bruce Beare
Pyramid Technology
bjb@pyramid.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Moving the mast CDS server
1994-03-10 9:24 Moving the mast CDS server Ernoe Kovacs
1994-03-14 17:51 ` Greg Brail
@ 1994-03-15 12:41 ` Phil_Hirsch
1 sibling, 0 replies; 4+ messages in thread
From: Phil_Hirsch @ 1994-03-15 12:41 UTC (permalink / raw)
> 3) Another question: Giving two replicas of a directory,
> A being master and B being a replica. Is it possible to change
> the roles, resulting in B being master and A being replica?
"cdscp set directory to new epoch" does this. On my system (Transarc's
DCE for Solaris), "man set_directory_epoch" yields the relevant man page.
- Phil Hirsch Transarc Corp. pdh@transarc.com 412-338-4470
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-03-15 12:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-10 9:24 Moving the mast CDS server Ernoe Kovacs
1994-03-14 17:51 ` Greg Brail
1994-03-15 4:42 ` Bruce Beare
1994-03-15 12:41 ` Phil_Hirsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox