روز سوم
Windows deployment system
Note:
When you install windows 2003 sp 2 ris convert to wds and BINLsvc service convert to WDS service too.
What is Windows Deployment Services?
The Windows Deployment Services is the updated and redesigned version of Remote Installation Services (RIS). Windows Deployment Services enables you to deploy Windows operating systems, particularly Windows Vista. You can use it to set up new computers by using a network-based installation. This means that you do not have to install each operating system directly from a CD or DVD.
What’s new in Windows Deployment Services?
Windows Deployment Services includes changes to the RIS feature set, including the following:
- Ability to deploy Windows Vista and Windows Server 2008.
- Windows PE is the boot operating system.
- Image-based installation, using Windows image (.wim) files.
- An extensible and higher-performing PXE server component.
- A new boot menu format for selecting boot operating systems.
- A new graphical user interface on the client computer that you use to select images.
- The Windows Deployment Services Microsoft Management Console (MMC) snap-in and the WDSUTIL command-line tool, which enable you to configure and manage Windows Deployment Services.
Prerequisites for installing Windows Deployment Services
Your computing environment must meet the following technical requirements to install Windows Deployment Services:
- Active Directory. A Windows Deployment Services server must be either a member of an Active Directory domain or a domain controller for an Active Directory domain. The Active Directory domain and forest versions are irrelevant; all domain and forest configurations support Windows Deployment Services.
- DHCP. You must have a working Dynamic Host Configuration Protocol (DHCP) server with an active scope on the network because Windows Deployment Services uses PXE, which relies on DHCP for IP addressing.
- DNS. You must have a working Dynamic Name Services (DNS) server on the network to run Windows Deployment Services.
- An NTFS partition. The server running Windows Deployment Services requires an NTFS file system volume for the image store.
- Credentials. To install the role, you must be a member of the Local Administrators group on the Windows Deployment Services server. To install an image, you must be a member of the Domain Users group.
- Windows Server 2003 SP1 or SP2 with RIS installed. RIS does not have to be configured, but must be installed.
Installing:
If you install Ris and upgrade windows to sp2 .Ris automatically convert to WDS
For installing of WDS in control panel ->add remove program->windows component
Just select wds and go to next step-in middle of installing you must have windows 2003 cd .
When installing finished .restart win and you have wds server now.
Configuring Windows Deployment Services
Server mode
1. Legacy mode: The Legacy mode is equivalent RIS; it is Windows Deployment Services binaries with RIS functionality. To run in this mode, install and configure RIS and then install (but do not configure) Windows Deployment Services. In general, if you do not have Windows Vista in your environment, you should use Legacy mode. Windows Deployment Services was designed to deploy these new operating systems and while it is compatible with older operating systems, you need the Windows Vista installation media in order to deploy images.
· Boot environment: OSChooser
· Image Types: RISETUP and RIPREP
· Administration experience: RIS toolset
2. Mixed mode: In this mode, you can deploy RISETUP and RIPREP image types using OSChooser, and you can deploy Windows image (.wim) files using the Windows Deployment Services management tools. From the client computer, you can choose to boot into RIS or into one of the boot images that contain Windows PE. To run in Mixed mode, configure Windows Deployment Services on a RIS server that has existing RIS images. For instructions, see Steps for configuring Windows Deployment Services.
· Boot environment: OSChooser and Windows PE
· Image Types: .wim, RISETUP, and RIPREP
· Administration experience: RIS toolset to manage RISETUP and RIPREP images and Windows Deployment Services management tools to manage .wim images.
3. Native mode: With Native mode, you use Windows Deployment Services to deploy only .wim images. To configure your server in Native mode, install and configure Windows Deployment Services on a server that has RIS installed but not configured (that is, there are no RIS images on the server). For instructions, see Steps for configuring Windows Deployment Services. If you already configured RIS, then you will need to uninstall RIS and reinstall it before installing Windows Deployment Services.
· Boot environment: Windows PE
· Image Types: .wim
· Administration experience: Windows Deployment Services management tools
· If you are running Windows Deployment Services and a non-Microsoft DHCP server on the same computer, in addition to configuring the server to not listen on port 67, you will need to use your DHCP tools to add Option 60 to their DHCP scopes.
· If DHCP is installed on a server that is located in a different subnet, then you will need to do one of the following:
- (recommended) Configure your IP Helper tables. All DHCP broadcasts on UDP port 67 by client computers should be forwarded directly to both the DHCP server and the Windows Deployment Services PXE server. Also, all traffic to UDP port 4011 from the client computers to the Windows Deployment Services PXE server should be routed appropriately (these requests direct traffic to the server, not broadcasts).
- Add DHCP options 66 and 67. Option 66 should be set to the Windows Deployment Services server, and option 67 should be set to boot\x86\wdsnbp.com.
راه اندازی:
بد از نصب دو برنامه در لیست program اضافه می شود.
1. Windows deployment system
2. Windows deployment system legacy
بعد از نصب بسته به اینکه بخواهیم از کدام حالت استفاده کنیم یکی از دو مورد بالا را اول انتخاب می کنیم
اگر قصد نصب ویندوز های xp , یا 2003 را داریم باید اول حالت legacy را اجرا کنیم .بعد از اجرای این سرور میتوانیم برا ی نصب nt5 wds را راه اندازی کنیم و سرور را به حالت mixed ببریم .
ارتقا از mixed به legacy امکان ندارد و فقط بر عکس انجام می شود.
بعد از انتخاب حالت legacy از شما یک سورس برای کپی کردن سیستم عامل می خواهد که میتواند cdrom باشد.می توانید نام image و نام فلدر انرا با توضیحات لازم بنویسید .این نام و توضیحات زمانی بکار میرود که شما بیش از یک image داشته باشید و بتوانید در زمان boot با استفاده از نام و توضیح داده شده گزینه مناسب را انتخاب کتید .
بعد از تمام شدن کار در مسیر زیر کارهای گفته شده را انجام دهید.
RemoteInstall\Setup\>Language<\images\ <Dir_name>\I386\
1. اضافه کردن منوی زبان به boot screan
این امکان وجود دارد که image های گرفته شده به زبانهای مختلف باشد .بنابر این میتوانیم زبان مورد نظر را در هنگاه نصب انتخاب کنیم.به صورت عادی زبان انگلیسی انتخاب میشود و با تغییر در فایل زیر میتوان انرا عوض کرد.
Multilng.osc که در پوشه os-chosere قرار دارد,با یک editor فایل را باز کنید در تگ زبانهای دلخواه را اضافه کید .محتویات فایل را در روی فایل welcome.ocs بنویسید و هر دو فایل را سیو کنید.
در داخل پوشه os chosere برای هر زبان پوشه ای بسازید و محتویات را انجا کپی کنید .میتوانید از پوشه انگلیسی همه را در پوشه های دیگر کپی کنید.
2. اضافه کردن درایورهای لازم
بعد از اینکه سیستم از روی pxe بوت شد در ابتدای کار با استاندارد معمول کار میکند و تا مرحله شناخت image پیش میرود .از این به بعد سیستم نیاز دارد که کارت شبکه را بشناسد و اگر درایور موردنیاز موجود نباشد .خطا گرفته می شود.
برای رفع این مشکل در همان سطح I386 پوشه زیر را بسازید
$oem$\$1\drivers\nic\
درایورهای مورد نیاز را میتوانید در داخل پوشه کپی کنید که به طور معمول 3 فایل inf و cat و sys می باشد.
همچنین همه انهارا در I386 کپی کنید .برای هر مدل از درایور می توان پوشه ای ساخت .بعد ار این کار با ید مسیر این فایلها گفته شود.
RemoteInstall\Setup\>Language<\images\ <Dir_name>\I386\template
درمسیر بالا فایل ristndrd.sif را باز کنید و خط های زیر را اضافه کنید .
DriverSigningPolicy = Ignore اگر درایور مورد تایید ماکروسافت نباشد ,بدون توجه به استفاده از ان می پردازد
OemPreinstall = yes
OemPnpDriversPath = Drivers\Nic مسیر درایور های کارت شبکه
درصورتی که بیش تر از یک نوع درایور داشته باشیم پوشهای دیگر برای ان می سازیم و به این گونه تعریف می کنیم
OemPnpDriversPath = Drivers\Nic ;Drivers\vga;Drivers\modem
در انتها سرویس wds را ریست میکنیم تا تغیرات در image ذخیره شود .
3. ساخت answer file
easiest why i found to get my ris answer file working was to use the stepmgr.exe in deploy.cab file
یک نمونه از فایل با تمام توضیحات ![]()
فایل اصلی در مسیر زیر قرار دارد و این یک نمونه از ان است
RemoteInstall\Setup\>Language<\images\ <Dir_name>\I386\template
![]()
این فایل در پوشه I386 نیز موجود است .انرا هم تغییر دهید .
در داخل active directory روی سیستم ris server داخل computer , properties میگیریم .روی تب remote install گزینه advance را انتخاب کرده و تب image را می زنیم ,با استفاده از add یک انسرفایل میتوانید اضافه کنید .
