RE: [cciug] .pid within the storage directory

From: Batlin, Alex (alex.batlin@nomura.co.uk)
Date: Tue Jan 11 2000 - 07:39:06 EST


It appears so. I have done further testing and if the server process is
restarted, it does over-write it. However, this proves to me that for
scripting purposes it is still best to tuse the ps pid rather than the .pid
file pid.

Many thanks,

Alex.

 
----------------------------------------------------------------------------
--------
 Alex Batlin | alex.batlin@nomura.co.uk
 Nomura International plc, Nomura House | Phone: +44 (0)20 7521 3728
 1 St. Martin's-le-Grand, London EC1A 4NP | Fax: +44 (0)20 7521 3686
 
----------------------------------------------------------------------------
--------
 The information contained in this message is intended for the named
recipients
 only. If you are not an intended recipient of this message, you must not
copy,
 distribute or take any action in reliance on it and you should notify the
sender
 immediately. E-mail transmission cannot be guaranteed to be secure or
error-free
 as information could be intercepted, corrupted, lost, destroyed, arrive
late or
 incomplete, or contain viruses, and Nomura International plc excludes
liability for
 (1) any errors or omissions in the contents of this message which arise as
a result
 of e-mail transmission and (2) the transmission of any viruses. If
verification is
 required please request a hard-copy version. Nomura International plc is
regulated
 by the Securities and Futures Authority Limited and is a member of the
London
 Stock Exchange.
 
----------------------------------------------------------------------------
--------

-----Original Message-----
From: Henne, Heinz [mailto:Heinz.Henne@nectech.co.uk
Sent: 11 January 2000 11:52
To: CCIUG (E-mail); 'Batlin, Alex'
Subject: RE: [cciug] .pid within the storage directory

I would imagine that on starting the vob_server if it finds an existing .pid
it would just overwrite it - the key being that the vob_server is being
started from scratch. We've had problems when our IT department restored
some views from backup but didn't ct endview -server them first - the views
use a similar .pid file too, which obviously screwed things big time.

Heinz

---
Heinz Henne
ClearCase Administrator
NEC Technologies (UK) Ltd.
Tel: +44 (0) 118 9654535
Email: Heinz.Henne@nectech.co.uk

> ---------- > From: Batlin, Alex[SMTP:alex.batlin@nomura.co.uk > Sent: 11 January 2000 11:43 > To: CCIUG (E-mail) > Subject: RE: [cciug] .pid within the storage directory > > > OK, a follow up. We have the main server and a contingency server. I was > checking the pid's on the contingency server. The vob was copied over from > the main server, which also copies the .pid, which I think then confuses > clearcase in the continegency registry. I checked the pid's on the main > server and tried to see if the ps -e output pid would match the .pid. It > does. > > I tried this little thing in ksh: > > $ ps -e -o pid -o args | grep vob_server | grep -i export | while read > proc; > do > > print $(cat $(print $proc | nawk '{ print $3}')./pid) $proc > > done > > Does this mean that one should rm .pid when moving the vob to another > server? > > Any thoughts? > > > -------------------------------------------------------------------------- > -- > -------- > Alex Batlin | alex.batlin@nomura.co.uk > Nomura International plc, Nomura House | Phone: +44 (0)20 7521 3728 > 1 St. Martin's-le-Grand, London EC1A 4NP | Fax: +44 (0)20 7521 3686 > > -------------------------------------------------------------------------- > -- > -------- > The information contained in this message is intended for the named > recipients > only. If you are not an intended recipient of this message, you must not > copy, > distribute or take any action in reliance on it and you should notify the > sender > immediately. E-mail transmission cannot be guaranteed to be secure or > error-free > as information could be intercepted, corrupted, lost, destroyed, arrive > late or > incomplete, or contain viruses, and Nomura International plc excludes > liability for > (1) any errors or omissions in the contents of this message which arise > as > a result > of e-mail transmission and (2) the transmission of any viruses. If > verification is > required please request a hard-copy version. Nomura International plc is > regulated > by the Securities and Futures Authority Limited and is a member of the > London > Stock Exchange. > > -------------------------------------------------------------------------- > -- > -------- > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > http://clearcase.rational.com/cciug/mailing_list.html > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:23 EDT