MsExchange Blog Spot Telnet25

May 14, 2009

Create SystemStateBackup for Windows 2008 Domain Controllers Part-2

Filed under: Windows 08 — telnet25 @ 6:52 pm

If you have not seen part 1 please go back and take a look, we went over how to create SystemStateBackup on windows 2008 on part 1.

This article we will cover how to create batch file and using task scheduler in windows 2008 we will automate the SSB ( SystemStateBackup)

Steps

  • Copy and past below into notepad

wbadmin start systemstatebackup -backupTarget:<VolumeLetter>: –quiet

  • here is how mine looks

wbadmin start systemstatebackup -backupTarget:E: –quiet

 

image

  • Save the file on a folder on the Domain controller as fallows
  • backupSS.bat” ( or anything you like)

image

 

image

  • Create and schedule a new backup job to backup the System State backup.
  • Click Start on the search type Taskschd.msc and hit enter

 

image

  • Click on the right pane Create task

image

  • Give it a name , SystemStateBackup VMDC3

image

 

  • Click Triggers Click New I am going to say, I need SystemStateBackup two times in a day

image

  • Click Actions, click new, Start a program , and Click Browse to Script folder on the C drive or wherever you placed the batch file we made earlier

image

  • Click okay and do test run

image

  • verify backup has ran successfully

image

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

Create SystemStateBackup for Windows 2008 Domain Controllers Part-1

Filed under: Windows 08 — telnet25 @ 6:18 pm

Project:

Create SystemStateBackup for Windows 2008 Domain controllers. Create batch file and schedule SystemStateBackup two times in a day and save it on second hard drive on the system. This directory is being backed up with software to tape or offside backup place

Solution:

Log into DC you wish to backup,

You need to install Windows 2008 backup tools (this is not installed by default)

  • Open command line and type as fallows
  • servermanagercmd -install Backup-Features
  • Note, System State backup can ONLY be run via CLI.
  • Verify the at the end of this you get “install completed successfully."

Make sure you have dedicated drive for destination of the backup you are about to perform, you need to dump the SystemStateBackup to Disk and if you wish you can move it from there to DVD or external backup media.

image

  • When you ready type the fallowing on command line

wbadmin start systemstatebackup -backupTarget:<VolumeLetter>: –quiet

  • here is mine,
wbadmin start systemstatebackup -backupTarget:E: –quiet
  • I am going to use E drive since I have dedicated 10Gig backup drive for this purpose

image

  • Wait to verify SystemStateBackup is done successfully.

image

  • Go back to backup drive and verify the backup is there

image

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

May 12, 2009

Why Do We Need FSMO Roles ?

Filed under: Windows 08 — telnet25 @ 4:24 pm

You read about AD 2003 or 2008 and start getting confused about FSMO roles? and asking yourself why do we need them anyways?

Before we start listing the reasons why FSMO roles needed, let’s refresh our knowledge

image

  • Single master replication model ( NT 4.0) this means .DIT database read only, and only primary domain controller can write and read from .Dit database. BDC (backup domain controller) can only read the .DIT database
  • .DIT database ( Active directory database)
  • Now imagine in AD environment you can not create users, because you cannot write to .DIT database, I am sure you will easily see big problems if this happens to you when you are the person who is responsible from creating users, groups
  • Microsoft saw this as problem and they fix it by implementing AD 2000 and up what is called “multi-master replication model”, meaning all domain controller can read and write to .DIT database and they all are equal , except FSMO roles.

Obvious multi-master replication model brought huge redundancy to Active directory picture and now clients can locate and register their own records to any available DC/DNS server and thus less likely total stoppage of Active directory services.

Now, there is a problem with Multi-master replication problem , if two similar task needed to be done in two different places which one would be the winner?

If I am introducing domain controller called DC1 and at the same time you are sitting on different location ad you are DCPromoing another server with same name, which one would run without problems?

Think similar scenarios in AD, thus certain jobs in AD “Must be controlled” by specific domain controllers.

For instance The domain naming master domain controller controls the addition or removal of domains in the forest.When I want to add a new domain the request goes to “DNS master” I get an okay from DNS master and I move on. When you do the same thing in a split second, DNS master knows already he gave me an okay , even though I have just started and will tell you “Sorry you cannot do this, because I already gave okay to someone else”

I hope it makes sense now and you will see and understand the need for FSMO roles.

There are two main task involved in FSMO

  • Seize FSMO roles ( FSMO holder can not longer be contacted and therefore, use ntdsutil to go into .DIT database and find the registry settings for FSMO roles, and modify them from failed DC to one of the alive DC, save and replicated the changed
  • Never turn back on failed DC who was FSMO role owner if you ever seize the FSMO role from it.
  • run DCPromo /ForceRemoval to install the .DIT database
  • run metadata Cleanup for your domain/Forest
  • now you can bring the old DC as new DC into your forest
  • Move FSMO roles ( FSMO role owner is alive and willingly to give up from assigned FSMO role. Same changes are being done on the .DIT database and via AD replication

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

May 11, 2009

RSAT Tools for Windows 7

Filed under: Windows 08 — telnet25 @ 8:00 pm

If you have not installed RSAT tools for Windows’ 7 here they are.

Download beta RSAT Tools on windows 7 workstation

image image

install the update corresponds to your Windows 7

  • Go to control panel
  • Click on programs and futures, turn windows futures on & off
  • In the windows futures window,locate RSAT
  • Select the tolls you wish to install
  • Click on task bar, properties start menu
  • Click customize , display System administrative tools
  • image

enjoy the new administration tools

image

Also check out powerGUI is looks real nice and handy, it has Exchange and AD plug in, great tool to get into PowerShell

image

 Oz Casey Dedeal

image

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

Blog at WordPress.com.