cloning nt using driveimage chris brew particle physics department rutherford appleton laboratory...

16
Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Upload: edwina-townsend

Post on 12-Jan-2016

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Cloning NT Using DriveImage

Chris BrewParticle Physics Department

Rutherford Appleton Laboratorychris.brew@ rl.ac.uk

Page 2: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Outline

• Deployment aims• Deployment methods• NT in PPD• Cloning NT: Our experiences• Other issues• Conclusions

Page 3: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Support Aims

• Easy initial set up of new workstations

• Quick recovery from user problems• Propagation of new or updated

software

• As the number of PCs increases this becomes harder and harder to manage

Page 4: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Set-up Methods

• Set-up each PC individually:– By hand– By some other method

• Good for small numbers of PCs

• Have the PC set-up from a central server:– Microsoft SMS, NetInstall, CERN NICENT

• Best for large numbers of PCs

Page 5: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Set-up of the PPD NT Domain

• PPD does not buy into central RAL desktop scheme (except mail)

• 3 production servers:– PDC: web serving, print serving,

WINS, DHCP– BDC: file & FTP serving– Ntrigue server

• 1 test server• 80 - 100 workstations

Page 6: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

NT on AlphaServers

• BDC is DEC AlphaServer 1000a• Main file server:

– 56 GB of StorageWorks disks– 10 Mbs network connection ( 100mbs

soon)

• No hard performance figures: adequate

• No real problems, but:– Some software not available– Fewer support resources

Page 7: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Growth of NT in PPD

0

20

40

60

80

WinNT All Other

Page 8: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

In PPD

• To many PCs to set each one up by hand

• To few PCs to be worth investing the effort needed for SMS or NICE

• Solution: Set each PC up by cloning• 2 methods:

– NT backup– Disk imaging

Page 9: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Cloning With Different Hardware

• 80 computers bought over a few years:– 3 different network cards– 3 different video cards– 3+ different audio cards

• How can cloning handle this?– Before cloning - NT backup– After cloning - disk imaging

Page 10: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

DriveImage

• Functionally very similar to ghost• Commercial software • Includes Partition Magic• Runs in DOS

– No problem with locked NT system files– Need to boot DOS with network and/or

CD

• Comes with utility to change the computer name and SID

Page 11: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Cloning NT (Stage 1)

• Prepare the ‘master clone:’– Install a reference system

• First a base NT inc. Network, video & audio drivers

• Then the additional software– Take time to make sure the

installations are the way you want them

Page 12: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Cloning With NT Backup (Stage 2)

• Use NT backup to copy the master clone to tape

• On the ‘target’ machines:– Install the ‘standard’ basic NT installation– Use NT backup to copy the files, but not

the registry, from the backup tape– Use various registry utilities to import

the registry keys needed by the software

• Total time for a target machine ~150mins

Page 13: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Cloning With DriveImage (Stg. 2)

• Use DriveImage to make an image of the master clone hard disk

• Apply that image to another machine:– Change the SID, name and IP address– Correct for different hardware

• Total time for a target machine ~30mins

Page 14: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Incremental Updates (Planned)

• Small changes to software do not warrant full recloning

• Sysdiff– Snapshots a machine and applies

differences to another– Can it be automated

• Still in the experimental phase

Page 15: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Other Issues

• Linux?– DriveImage can read and copy linux

partitions– Not personally tested– Hardware differences?

Page 16: Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory chris.brew@ rl.ac.uk

Conclusions

• For a small to medium sized domain, cloning with DriveImage is an efficient way of deploying and managing an NT domain.

• For the future, we need to look at methods of automatically applying incremental updates.