RE: [cciug] Automated way to disconnect/stop all running views on a client?
1. dir/b M:\ endviews.bat 2. in endviews.bat , add cleartool endview at the beginning of each line 3. run endviews.bat Run help for from the command line: for /f %i in ('dir /b m:\') do @cleartool endview %i * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. 118 To unsubscribe, send email to [EMAIL PROTECTED] and put these words in the message body: unsubscribe cciug
Re: [cciug] Automated way to disconnect/stop all running views on a client?
Thanks :) I should have been more clear, in that we store all views on a central view server. I only want to disconnect the view reference on the client machine, but not end the processed running on server-side. Therefore I believe the cleartool endview tag command would most likely be what i'm looking for. If I could do something like this, it would likely do the trick: 1. dir/b M:\ endviews.bat 2. in endviews.bat , add cleartool endview at the beginning of each line 3. run endviews.bat However, it would require each user manually creating and editting the batchfile, which is not a good solution :)tks On 6/8/06, Kathy Messina [EMAIL PROTECTED] wrote: Can't you parse the output of cleartool lsview -host? From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Paul NSent: Thursday, June 08, 2006 10:59 AMTo: [EMAIL PROTECTED]Cc: CCIUGSubject: Re: [cciug] Automated way to disconnect/stop all running views on a client? hi, I believe this is a manual procedure, as it would require the user to type this command for each view, separately, once they can get the list of the views. I'm trying to find a scripted (or an existing command) method to automate the process. thanks! On 6/8/06, Joe Wildish [EMAIL PROTECTED] wrote: cleartool endview -server tag ? Probably needs to be done as a user inthe albd account if you're a windoze shop. JoeOn Thu, 8 Jun 2006, Paul N wrote: Hi all, Using CC SR5, Win2k - we are migrating to new servers shortly, and want to ensure all users stop their views before-hand. Is there an easy way (or a script you may have :) that would allow each user to easily stop or disconnect all currently running views on their client hosts? It would be nice if CC had such a feature built in, but I gather that is not the case :( thanks! -- --Paul A Nusbaum, CM Tools Admin - Ottawa,ON --Paul A Nusbaum, CM Tools Admin - Ottawa,ON-- -- --Paul A Nusbaum, CM Tools Admin - Ottawa,ON--
Re: [cciug] Automated way to disconnect/stop all running views on a client?
If you are doing this because of introducing new hardware (presumably you are migrating your views to a new box), you will need to run endview -server anyway ... however, I assume you are trying to ensure the end-users do not experience too much difficulty with the switch over, hence wanting to end their views? My advice would be to notify all Windows users and get them to reboot their machines before using ClearCase, once the migration is done. Despite the ClearCase registry allowing for resources (views and VOBs) to retain the same tag if it is moved, I have noticed the Windows clients often don't like this (despite the UUID etc remaining consistent). At least with a reboot, persistent views and VOBs will restart (I think it's done on the basis of tag, so it detects the change). Joe On Thu, 8 Jun 2006, Paul N wrote: Thanks :) I should have been more clear, in that we store all views on a central view server. I only want to disconnect the view reference on the client machine, but not end the processed running on server-side. Therefore I believe the cleartool endview tag command would most likely be what i'm looking for. If I could do something like this, it would likely do the trick: 1. dir/b M:\ endviews.bat 2. in endviews.bat , add cleartool endview at the beginning of each line 3. run endviews.bat However, it would require each user manually creating and editting the batchfile, which is not a good solution :) tks On 6/8/06, Kathy Messina [EMAIL PROTECTED] wrote: Can't you parse the output of cleartool lsview -host? -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Paul N *Sent:* Thursday, June 08, 2006 10:59 AM *To:* [EMAIL PROTECTED] *Cc:* CCIUG *Subject:* Re: [cciug] Automated way to disconnect/stop all running views on a client? hi, I believe this is a manual procedure, as it would require the user to type this command for each view, separately, once they can get the list of the views. I'm trying to find a scripted (or an existing command) method to automate the process. thanks! On 6/8/06, Joe Wildish [EMAIL PROTECTED] wrote: cleartool endview -server tag ? Probably needs to be done as a user in the albd account if you're a windoze shop. Joe On Thu, 8 Jun 2006, Paul N wrote: Hi all, Using CC SR5, Win2k - we are migrating to new servers shortly, and want to ensure all users stop their views before-hand. Is there an easy way (or a script you may have :) that would allow each user to easily stop or disconnect all currently running views on their client hosts? It would be nice if CC had such a feature built in, but I gather that is not the case :( thanks! -- --Paul A Nusbaum, CM Tools Admin - Ottawa,ON-- -- --Paul A Nusbaum, CM Tools Admin - Ottawa,ON-- -- --Paul A Nusbaum, CM Tools Admin - Ottawa,ON-- To unsubscribe, send email to [EMAIL PROTECTED] and put these words in the message body: unsubscribe cciug