viernes, 14 de junio de 2013

Additional Domain Controller o... "como safar si se rompe el DC"

Additional Domain Controller o... "como safar si se rompe el DC"



A raiz de lo ocurriodo hoy, busque informacion de como implementar un backup del DC, uno que pudiera estar de manera paralela en caso de que se caiga el DC primario se levante automaticamente este.


En windows 2008 ya no se llama mas BDC (Backup Domain Controller), sino, que ahora se llama Additional Domain Controller dada la posibidad de este windows de agregar multiples controladores de dominio.

Gracias a esta web, di con la solucion (aunque hay mucha informacion en google):

http://www.addictivetips.com/windows-tips/how-to-create-additional-domain-controller-adc-in-windows-server-2008/





How To Create Additional Domain Controller (ADC) In Windows Server 2008


To get started, go to the command prompt or Run, type dcpromo and hit Enter. Whether you are making a Domain, Child Domain, ADC or removing any of them, the dcpromo command is used.
dcpromo_thumb_thumb[2]
This will take you to the first step of the wizard from where you can create an Additional Domain Controller. Make sure that the advance mode installation option is unchecked and click Next. In case you are wondering what the advance mode installation is used for, it is used for making a RODC (Read Only Domain Controller). An RODC is used by organizations to deploy a DC (Domain Controller) in scenarios where physical security issues occur, such as a subsidiary branch office. It can also be used where local storage of domain passwords is unsafe.
Welcome_thumb[2]
In the next step you will see the same page regarding operating system compatibility which appears when making a DC. Simply click Next to proceed.
Step 2_thumb[2]
When choosing a deployment configuration, select Existing Forest, then select Add a Domain Controller to an existing forest and hit Next.
Step 3_thumb[2]
After that, you will be asked for network credentials which in other words means that you need to enter the name of the Domain that you wish to connect this server to as an ADC. After adding the Domain name, click on the Set button.
Step 4_thumb[2]
This will prompt you to enter credentials to connect to the Domain. Note: the credentials must have administrative privileges. In this case I am using an account that is apart of the Domain Controllers group. After verifying the information, the wizard will allow you to proceed further. Click Next to continue.
Step 5_thumb[3]
In the next section you will be asked to select a Domain Controller. The Domain Controller you entered in the previous step will be selected by default, simply move forward to the next step.

Step 6_thumb[2]
When selecting a site name, leave the default site name as it is and proceed.
Step 7_thumb[3]
Make sure that the DNS Server and Global Catalog check boxes are checked and hit Next. Note: do not check RODC.
Step 8_thumb[1]
Just like when creating a Domain, you will get the choice to set a location for the database, SYSVOL and NTDS files. You may change the destination or let them remain in the default location and proceed to the next step.
Step 9_thumb[2]
Moving forward, you will be asked to save a restore mode password (which is separate from the Domain Administrator’s account). As mentioned in the previous post, this password is configured to be used when the Domain Controller is started in Directory Services Restore Mode. Choose a password and click Next.
Step 10_thumb[2]
Finally, you will be presented with a summary of the selected options which you can review before moving forward.
Step 12_thumb[2]
The Active Directory Domain Installation Wizard will configure services and take you to the next step, where you simply need to click Finish to complete the process.
Step 13_thumb[2]
You will be prompted to restart the system after which your configurations will take effect. Finally you can login with a Domain account and manage your Additional Domain Controller.
ADC_thumb[2]

Asi de simple!

Adicionalmente dejo un video.


Windows 2008: Reinicio constante a causa de una actualizacion automatica

Windows 2008: Reinicio constante a causa de una actualizacion automatica


Hoy tuve este problema, con un servidor Windows 2008 Std (32 bits) que es el PDC + File Server, todo un problema que no levantara!


Primero se me ocurrio probar bootear con el Hiren's pero ninguna herramienta me sirvio.

El servidor quedaba "instalando actualizacion 3 de 3 0%" luego ponia "deteniendo los servicios" y luego se reiniciaba, siempre hacia lo mismo.

Por suerte di con la solucion gracias a esta web: 

http://tesisdeunangelcruel.blogspot.com.ar/2008/11/error-de-reinicio-continuo-en-windows.html


Error de reinicio continuo en Windows Server 2008 y Windows Vista

Estaba yo probando el windows server 2008 en la computadora más o menos potente, despues de que en un servidor IBM eServer x360 fuera bastante lento el inicio (luego posteo utilidades para ese servidor).

Cuando instale win2k8 en el servidor no dio ningun error, sin embargo, al instalarlo en una computadora pIV 3.16GHz con 1gb de RAM y 120GB de DD daba error al 92% de la instalación, decía que windows no puede tener acceso a los medios de instalación, dado que la instalación se estaba realizando desde un DVD, lo atribui a un defecto del DD (un disco duro que compre en mercado libre x_x), despues de desconectar y reconectar el DD en caliente (durante la misma instalación) y sacar y meter el dvd, el numero 92% comenzó a avanzar inminentemente hacia un 100% (no culpare a windows de este error, fue del mugre disco duro que merque de medio uso)

Reinicio normalmente y termino el apartado de "Actualización" "Finalizando la instalación", volvio a reiniciar y aparecio una pantalla negra que decia "Windows esta preparando el equipo... espere"; Llega un momento en que se reinicia sin decir "agua va", al momento de volvera a arrancar inicia una sesionde ScanDisk (chkdsk) y encuentra un chorronal de errores (todos tienen que ver con la carpeta C:\Windows\WinSXS)

Al terminar de hacer ScanDisk, el equipo se vuelve a reiniciar, llega a la pantalla de "Windows esta aplicando la configuración" despues "Instalando actualización 3 de 3 0%" "Deteniendo los servicios" "Apagando el equipo" y se reinicia para hacer lo mismo una y otra vez.

Ok, la forma en que lo solucione es:

Con el disco de instalación de Windows 2k3 entre en "Reparar equipo" y use la linea de comandos para renombrar el archivo pending.xml de la carpeta

C:\windows\winsxs

el comando es "ren c:windows\winsxs\pending.xml test.xml"

reiniciamos  y ya nos dejara entrar al windows

Pero eso no es todo!! Vi errores en la actualización de "estado de servidor" es un padecimiento que aqueja al nucleo NT 6.1 (el que usa vista y win2k8) si hago la funcion de Windows Update o SFC/scannow aparecen errores hasta debajo de las piedras.

Bueno, eso es porque windows cree que no se ha actualizado, entonces nos lanzamos sobre el editor de registro (regedit) y...

En la llave Hkey_local_machine/Components/

Hacemos una copia de seguridad de toda la llave (si no sabes como, mejor ni le intentes porque si sale mal vas a venir de chilletas)

Borramos las claves:
PendingXmldentifier
NextQueueEntryIndex
AdvancedInstallersNeedResolving


Reinicie y ejecute MicrosoftUpdate, se instalan todas las actualizaciones, vuelve a aparecer el "Actualizando 3 de 3" pero ahora si llega al 100% voila!!! Windows server 2008 (o Vista, me vale) funcionando


jer jer, como voy a usar el win2k8 como pc desktop, luego pongo como le voy a hacer para que se vea como windows vista, pero sin los cuelgues

Deveras, me aparecio un pantallo azul en win2k3 x_x