RE: [cciug] stopping network operatins from command line

From: Echlin, Jamie (jechlin@SPSS.COM)
Date: Thu Jan 06 2000 - 05:01:42 EST


Presumptious of me to assume that Greg is referring to my post, but just in
case he is... Greg has summed it up almost perfectly but I wanted to clarify
something. The login script has a line that "call"s the user's own
"autoexec", which is situated in their home directory. The reason that the
services are not started from within the common login script is most people
in the company do not use clearcase, yet we all use the same login script.

I provide the basic autoexec (to clearcase users) which starts the clearcase
services. They can then customise it further to start a view and mount vobs.
I tell people to never use the restart/remount at logon options otherwise
you always get error messages when disconnected. Also, if you don't start
the services then you don't need to do the "disable network operations" reg
hack.

With Windows 2000 you can stop and start the LAN exactly like dialup
connections - this removes the need for hardware profiles. Therefore, I
would implement my solution rather than setting the services to not start in
the undocked profile, as nobody will be using these profiles when they
upgrade to W2K.

Not sure if it makes a difference but the services are set to "manual", not
start on demand.

jamie

PS: This is the line of the login script that calls the user's autoexec:
if exist m:\autoexec.bat m:\autoexec.bat

In our case it's at the end of the script. m:\ is mapped to the user's home
directory. You set both the net logon script and the home directory mapping
in user manager or equivalent.

PPS: Here is a sample user autoexec...
@echo off

rem Start ClearCase services
net start albd
net start lockmgr

rem Instantiate a view
rem If you only use snapshot views comment out this section
net use w: \\view\jechlin_view

rem Mount vobs
rem Add a line like below for each vob you want mounted at startup
rem cleartool mount -a
rem cleartool mount \tmp_misc

rem Substitute a drive letter for the root of a snapshot view
rem If you only use dynamic views leave this section
subst z: d:\work\views\jechlin_snp

rem Microsoft NetMeeting
rem start d:\Programs\NetMeetingNT\conf.exe background

> -----Original Message-----
> From: Greg Dickie [mailto:greg@discreet.com
> Sent: 05 January 2000 20:42
> To: John_Falasco@hyperion.com
> Cc: cciug@Rational.Com
> Subject: RE: [cciug] stopping network operatins from command line
>
>
>
>
> Someone had posted a really neat solution to this a while
> ago.Basically they
> always set the srvices as "start on demand" and then
> explicitly did a "net
> start albd" and "net start the_other_one"in the network logon
> script. Not on
> the network=no logon script= no started CC services. We are
> looking at doing
> this soon.
>
> Greg
>
> On 05-Jan-00 John_Falasco@hyperion.com wrote:
> >
> >
> >
> > On NT, Clearcase supports Snapshot views so that users of
> portable machines
> > can
> > take their work home. When such a user boots up at home,
> Clearcase attempts
> > to
> > mount vobs, stat views, etc, unless one remembers to
> UnCheck the option
> > "Enable
> > Network Operations" in the Homebase Applet.
> >
> > Almost everybody forgets to do this occasionally, and
> suffers the extra-long
> > bootup time as a consequence when they are disconnected
> from the lan. Is
> > there
> > any way to disable this option from the command line rather
> than within the
> > applet? That would allow the creation of an icon on the
> desktop to enable
> > and
> > disable network operations (in which case, the services
> would be set to run
> > as
> > Manual instead of Automatic).
> >
> > Thanks,
> > -John
> >
> >
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> > can also
> unsubscribe
> >
> > http://clearcase.rational.com/cciug/mailing_list.html
>
> ---------------------------------------------------------------------
> Greg Dickie
> Just A Guy*
> *from discreet (the logic is gone)
> Montreal
> (514) 954-7171
> greg@discreet.com
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> can also
> unsubscribe
>
> http://clearcase.rational.com/cciug/mailing_list.html
>
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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