UCCSC 2009 Using BITS to Transfer Ghost Images Tim Leamy IET – Academic Technology Services UC Davis.

Slides:



Advertisements
Similar presentations
Installing DOS and Windows98 under MS Virtual PC.
Advertisements

Backing Up Your Computer Hard Drive Lou Koch June 27, 2006.
Google chrome operating system
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
KX-NS1000 Initial Set Up For step by step : 16 May,
Maintaining a Stable Windows Environment Mark Padgett & Bret Madsen.
BITS – A New PC Imaging Model Tim Leamy – UC Davis Robert Smith – Stanford University Allan Chen – Stanford University.
Chapter 3 Understanding the Boot Process and Command Line.
Managing Your Hard Disk and Operating System 23,26 March :30pm - 4:00pm.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Chapter 2: Automating the Windows Vista Installation.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Norton Ghost 6.01 Tony Brett Corpus Christi College OUCS ITSS Seminar.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Presentation by Neil Schmidt. Before You Start, Get Organized! On your old computer: Create “Music”, “Pictures” & “Videos” folders (if they don’t already.
A+ Guide to Managing and Maintaining Your PC, 7e
Operating System & Application Files BACS 371 Computer Forensics.
Event Viewer Was of getting to event viewer Go to –Start –Control Panel, –Administrative Tools –Event Viewer Go to –Start.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Express Deployment Tool. Introducing the Express Deployment Tool! The Solution: The Express Deployment Tool (EDT) leverages a wizard-based graphical user.
Ch 11 Managing System Reliability and Availability 1.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Symantec Ghost Effective Disk Cloning Software. What is Ghost? “Ghost is a software product from Symantec that can clone (copy) the entire contents of.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Configuring the MagicInfo Pro Display
Operating Systems Networking for Home and Small Businesses – Chapter 2 – Introduction To Networking.
COMP3122 Network Management Richard Henson March 2011.
Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
Tutorial 11 Installing, Updating, and Configuring Software
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Chapter Fourteen Windows XP Professional Fault Tolerance.
PROJECT MULTICASTER Kenneth Brian Gilliam Computer Electronic Networking Dept. of Technology Eastern Kentucky University.
Portable SSH Brian Minton EKU, Dept. of Technology, CEN/CET)‏
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Please Note: Information contained in this document is considered LENOVO CONFIDENTIAL For Lenovo Internal Use Only Do Not Copy or Distribute!! For Lenovo.
Troubleshooting Windows Vista Security Chapter 4.
Cloning NT Using DriveImage Chris Brew Particle Physics Department Rutherford Appleton Laboratory rl.ac.uk.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Jan 31, American Society of Nepalese Engineers 1 Some Useful Applications American Society of Nepalese Engineers Computer.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
Scott Drucker, Systems Engineer Migrating to Microsoft Vista with WinINSTALL.
1 Review last lecture Pre-installation checks. 2 Post Installation Identify installation problems Install patches, upgrades, service packs MS announces.
T4L – NSW DET SOE Muticasting an Image. Problem New T4L computers use SATA HDD’s SATA drives are not recognised by Current DET Licensed version of Ghost.
Microsoft Management Seminar Series SMS 2003 Change Management.
Complete System Backup Microsoft Acronis TimeMachine (Mac)
Microsoft Windows XP Professional MCSE Exam
2007 TAX YEARERO TRAINING - MODULE 61 ERO (Transmitter) Training Module 6 Federal and State Installation and Updates.
Linux Operations and Administration
Page 1 of 38 Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Please Note: Information contained in.
Hands-On Virtual Computing
COMP3122 Network Management Richard Henson March 2012.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Windows XP Professional Installation Types ©Richard L. Goldman February 5, 2003.
Windows Vista Configuration MCTS : Installing and Upgrading.
DIT314 ~ Client Operating System & Administration CHAPTER 7 MANAGING DISKS AND FILE SYSTEM Prepared By : Suraya Alias.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Slide 1 Windows Desktop Deployment Service at LANL Mark Wingard Central.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
PC Support & Repair Chapter 5 Operating Systems Part 2.
Happy Endings: Reengineering Wesleyan’s Software Deployment to Labs and Classrooms Kyle Tousignant 03/22/2016.
Effective Disk Cloning Software
Installing Software Tutorial 11.
ZENworks Imaging Patrick Bozik Classroom Support Specialist
Operating Systems Networking for Home and Small Businesses – Chapter 2 – Introduction To Networking.
Presentation transcript:

UCCSC 2009 Using BITS to Transfer Ghost Images Tim Leamy IET – Academic Technology Services UC Davis

UCCSC 2009 Outline Why? Background & History Win9X WinXP – initial attempts Two partitions BITS Image creation overview Details Windows FreeDOS Initial PC setup

UCCSC 2009 Why? Ghost works well for imaging But built-in tools have issues moving large image files, especially across multiple subnets BITS Solution Single server for all images Images reliably transferred in the background while PCs are in use Very short downtime to image Free – already in Windows Same BITS solution should apply to other imaging packages

UCCSC 2009 Background & History Computer Lab Management 18 computer rooms 10 separate networks 330 PCs Maintain 12 different images Ranging from 5–10GB PCs locked down and profiles deleted nightly

UCCSC 2009 Background & History Windows 95 – Windows ME Win 9X – used PC-Rdist Worked extremely well Could rebuild registry in DOS before Windows started Easy to copy changes from one lab to the next

UCCSC 2009 Background & History Windows XP Win XP Didn’t work well with PC-Rdist Needed to use Ghost for initial install Switched to using Ghost Testing in the office worked well Attempted to use one Ghost console for labs on multiple subnets Attempted to multicast across routers

UCCSC 2009 Background & History Ghost network issues Encountered difficulties with Ghost tools working across different networks Network connectivity & reliability across routers Multicast didn’t work across routers Large images meant long downtime

UCCSC 2009 Background & History Two Partitions Eureka moment – Ghost uses “virtual partitions” – why not use real ones? Created two partitions on hard drive FreeDOS partition 4GB initially with FreeDOS, Ghost, and image files Now 40GB WinXP partition Rest of disk

UCCSC 2009 Background & History Two Partitions Used PC-Rdist to copy ghost image files from server to FreeDOS partition Worked ok Very fast to ghost from one partition to the other Simple – put new image on server and it was copied to all clients Could manage images for all labs from my office But …

UCCSC 2009 Background & History Two Partitions Problems PC-Rdist took a while to copy down image files Could make a PC unusable for 15 minutes in middle of day Copying image to entire lab was very slow

UCCSC 2009 Background & History BITS Background Intelligent Transfer Service (BITS) Used for Windows Automatic Updates Already Built into XP Robust Uses “spare” bandwidth to download files in background No disruption to student use Uses standard web protocols

UCCSC 2009 Background & History BITS Switch to BITS Moved images to web servers Downloaded bitsadmin.exe Created bits.pl script Used cron for automation

UCCSC 2009 Background & History BITS Worked Great! Images transferred in background Very reliable – copy image up to server and all PCs restored the next morning Fast – PC have only ~10 minutes downtime for imaging Easy to manage images

UCCSC 2009 Image Creation Overview Logon as restore Sets Freedos partition as active Reboots and reimages itself Install new software, configure it, etc. Run freedos.cmd in Windows to reboot to Freedos partition Prepares the PC for imaging Clears event logs, set NIC to DHCP, etc Reboots to FreeDOS partition Run image.bat to create new image

UCCSC 2009 Image Creation Overview continued Run windows.bat to reboot into Windows Run upload.cmd to copy new image to server Move the updated image to the proper directory in the web server The other PCs will see new image and download it in background with BITS Takes a few hours to download, but PCs are still in use PCs are turned off that night. PC set to boot at 4:00am everyday Boot to FreeDOS partition Installs new image Reboots to Windows

UCCSC 2009 The Details Windows side FreeDOS side Circular – so some things won’t make sense until the end

UCCSC 2009 The Details – Windows Side Utilities bitsadmin robocopy gdisk32 cron ActiveState Perl

UCCSC 2009 The Details – Windows Side bits.pl Runs every half-hour via cron Checks status of BITS job (lines 39-77) If a new images has been downloaded it copies new image files to Freedos partition and creates flag file (lines 50 – 61) Checks web server for updated image files (lines 79-99) Creates BITS jobs to download images with bitsadmin (lines )

UCCSC 2009 The Details – Windows Side Scripts – Windows Startup script Sets environment variables used by other scripts from the PC name LAB, PC_NUMBER Sets IP address if needed

UCCSC 2009 The Details – Windows Side Scripts – Windows Logon script If username is restore it sets the restore flags and reboots PC

UCCSC 2009 The Details – Windows Side Scripts – Windows Shutdown script If flag file exists it uses gdisk32 to make the Freedos partition active Runs restore.pl to create restore.bat Clean up before imaging Clears some log files & event logs Set NIC to DHCP Robocopy to make sure Freedos partition has correct files

UCCSC 2009 The Details – Windows Side restore.pl Runs in shutdown script Creates restore.bat in the Freedos partition Uses lab and pc_number environment variables restore.bat is custom for each PC  PC Name  SID

UCCSC 2009 The Details – Windows Side Scripts - freedos.cmd echo clean > c:\temp\clean gdisk32 1 /act /p:1 /i c:\ucd\sd 4

UCCSC 2009 The Details – Freedos Partiton Utilities ghost gdisk ghstwalk wait reboot

UCCSC 2009 The Details – Freedos Partiton Scripts - off path=c:\ del *.tmp wait 5 Starting computer.... if errorlevel 1 goto end echo Starting restore c:\restore.bat :end

UCCSC 2009 The Details – Freedos Partiton Scripts - restore.bat rem Setting up to restore PC #00 in 163LIB c:\ghost -clone,mode=pload,src=\images\winxp.gho:1,dst=1:2 -sure -batch -fni -auto c:\ghstwalk /cn=XXXX /bv=1:2 /sid=XXXXXX /ignore_domain /sure /fni c:\gdisk 1 /act /p:2 /i c:\reboot

UCCSC 2009 The Details – Freedos Partiton Scripts – off rem Make new ghost image in c:\images\winxp.gho rem delete ghost files (.gho &.ghs) but keep readme file echo y | del c:\images\*.gh? > nul: ghost -clone,mode=pdump,src=1:2,dst=c:\images\winxp.gho -z2 -fni -span -auto -sure dir c:\images

UCCSC 2009 The Details – Freedos Partiton Scripts – windows.bat gdisk 1 /act /p:2 /i reboot

UCCSC 2009 The Details – Windows Side Scripts - upload.cmd Updates readme.txt in FreeDOS partition Copies the updated image files to sever as LABNAME.new

UCCSC 2009 Initial PC Setup USB Hard Drive FreeDOS Uses ghost to install image with FreeDOS partition and empty 2 nd partition to HD Creates restore.bat Copies image files to FreeDOS partition Reboots to FreeDOS partition and ghosts itself

UCCSC 2009 Initial PC Setup Linux Flash Drive Also working on bootable flash drive with Linux Connects to network and downloads image files from web server Partition table differences – so there are some difficulties Initially used floppies with DOS networking. But trying to move away from them.

UCCSC 2009 What do you need? Web server for images 2 nd partition on hard drive Determine what restore.bat should contain for your setup Script to create restore.bat if needed

UCCSC 2009 For More Info UC Davis BITS Website Tim Leamy Q&A