Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Endpoint disk clone 2

Status
Not open for further replies.

wborba

IS-IT--Management
Mar 15, 2002
6
0
0
UY
hi,
I need to "clone" 100+ Pc's Win2000 with tme endpoint pre-installed.
But clone's endpoint remember the original name of the master copy.
Any ideas or procedures to follow are welcome.

I'm using tme 3.7.1 (without patches) under Win2000 SP2.

Thanks,
Wilter.-
 
Make sure on the cloning CD you take out the lcfd.dat and the last.cfg files. Then this will be ok. If you don't, then all endpoints will have the same label and it is a chore to clean them all up.
Thanks, -Jim
 
If you run Inventory or Software Distribution, make sure you have not scanned or distributed software to this 'golden' box. If so, delete the appropriate folders and swdis* files from the systemroot directory.
 
Thanks, it worked!
I deleted the suggested files and added a custom last.cfg.
last.cfg contains the standar lines plus "lcs.login_interfase=tsmserver+9494"

del /f %_tivoli%\dat\1\lcfd.bk
del /f %_tivoli%\dat\1\lcfd.dat
del /f %_tivoli%\dat\1\lcf.dat
del /f %_tivoli%\dat\1\lcfd.st
del /f %_tivoli%\dat\1\lcfd.log
del /f %_tivoli%\dat\1\last.cfg
copy %0\..\last.cfg %_tivoli%\dat\1\last.cfg
 
hi,wborba,Could you give the detail of your last.cfg?
and when do you change your computer's name?,I also used clone methed,every hard disk has the same computer name,so when I install the HD,then I start it,lcfd will be startup before I can change the computer's name,how do you solve this problem? thanks.
 
I'm cloning win2k professional using this method:

1 Install win2k, software stuff etc, TME endpoint, and test it.
2 clear endpoint config (see clear_tivoli.bat and last.cfg below)
3 run "sysprep" tool to clear windows config.
4 create a image file (we use symantec ghost 7)

With the image file, we generate "clones".
When clones boot, it ask for computer name, licence, etc etc

If you use this script, remember to change the install dir,
(i use "c:\archivos de programa") in clear_tivoli.bat and last.cfg.

Hope this help.



clear_tivoli.bat:
@echo off


:: Clear endpoint config
:: Use para masterizar PCs

:: Ojo: cambiar en el last.cfg
set _tivoli=C:\ARCHIV~1\Tivoli\lcf
rem set _tivoli=C:\Tivoli\lcf

echo Borrando la configuracion del cliente Tivoli %_tivoli%
pause

%_tivoli%\bin\w32-ix86\mrt\lcfep.exe -s
net stop lcfd


rmdir /s /q %_tivoli%\dat\1\cache
del /f %_tivoli%\dat\1\lcfd.bk
del /f %_tivoli%\dat\1\lcfd.dat
del /f %_tivoli%\dat\1\lcf.dat
del /f %_tivoli%\dat\1\lcfd.st
del /f %_tivoli%\dat\1\lcfd.log
del /f %_tivoli%\dat\1\last.cfg
copy %0\..\last.cfg %_tivoli%\dat\1\last.cfg

echo Configuracion del Endpoint borrada.
pause


last.cfg:

lcfd_port=9495
lcfd_preferred_port=9495
gateway_port=9494
protocol=TCPIP
log_threshold=3
start_timeout=120
run_timeout=120
lcfd_version=105
logfile=C:\Archivos de programa\Tivoli\lcf\dat\1\lcfd.log
config_path=C:\Archivos de programa\Tivoli\lcf\dat\1\last.cfg
run_dir=C:\Archivos de programa\Tivoli\lcf\dat\1
load_dir=C:\Archivos de programa\Tivoli\lcf\bin\w32-ix86\mrt
lib_dir=C:\Archivos de programa\Tivoli\lcf\bin\w32-ix86\mrt
cache_limit=20480000
log_queue_size=1024
log_size=1024000
udp_interval=300
udp_attempts=6
login_interval=1800
lcs.login_interfase=tivoli+9494
lcs.crypt_mode=196608
lcfd_alternate_port=9496
recvDataTimeout=2
recvDataNumAttempts=10
recvDataQMaxNum=50

 
as far as i know you have to delete lcf.dat AND lcf.id file!!

the last.cfg file should contain the settings that are specific for environment.

 
Sorry by this late response.

You can get sysprep from \SUPPORT\TOOLS (W2k Pro CDROM), open deploy.cab


Sysprep.exe
Sysprep is a tool designed for corporate system administrators, OEMs, and other personnel who need to deploy Windows 2000 on multiple machines. After performing the initial setup steps on a single system, you can run SysPrep to prepare the sample machine for cloning. SysPrep assigns a unique SID to each target computer the first time the computer is rebooted. Sysprep also creates a Mini-Setup wizard which runs the first time the target user reboots the machine. This shortened GUI-mode setup takes five to six minutes instead of 45 to 60 minutes and prompts the end user only for required and user-specific information, such as the End User License Agreement, Product ID, and user name and company.

 
Edit the last.cfg file and remove the line that says machine_name=****** this line is recreated when the LCFD.exe is run (or endpoint service started). It is this line that will create the endpoint label, also remove the lcf..id and lcf.dat (only created once the endpoint has initially logged in). you may not want to delete last.cfg as this may contain specific information for all required endpoints, for example the seed gateway ip address, you may also want to disable broadcast and increase log thresholds.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top