martes, 23 de febrero de 2016

Instalando Exchange 2013

Exchange 2010 SP3: UCMA requires the following missing Windows features

When installing Exchange 2010 SP3 on a server with Windows Server 2012 you need to install some prerequisites first. Each server with the Client Access role requires the Unified Communications Managed API 4.0 Runtime.

You may run into this error message when you try to install:
image
Microsoft Unified Communications Managed API 4.0, Runtime requires the following missing Windows features.
  • Media Foundation
This error occurs when you followed the instructions on this page: Exchange 2010 Prerequisites (Install the Windows Server 2012 operating system prerequisites). For a server with the three basic roles Microsoft says you need to install the following operating system components:

Solution

Add Media Foundation via PowerShell

Run the following command;
Install-WindowsFeature Server-Media-Foundation

Add Media Foundation via Server Manager

1. Launch Server Manager (ServerManager.exe) > Manage > Add Roles and Features > Next > Next > Next > Scroll Down > Select Media Foundation > Next > Install.

Media Foundation Feature


Permisos:

Schema admin, enterprice admin:

Preparing Active Directory for Exchange Server 2013

When you are installing Exchange Server 2013 for the first time the Active Directory needs to be prepared.
There are a series of requirements for Active Directory preparation to be successful:
  • Schema master running Windows Server 2003 with SP2, or a later version of Windows Server
  • At least one Global catalog server per site that Exchange will be installed in that is running Windows Server 2003 SP2 or later
  • At least one Domain controller per site that Exchange will be installed in that is running Windows Server 2003 SP2 or later
  • Forest functional mode of Windows Server 2003 or higher
  • An account with Schema Admins, Domain Admins, and Enterprise Admins permissions to run Exchange setup
Although Active Directory preparation can occur as part of the installation of the first Exchange Server 2013 server, you can also run the Active Directory preparation as a separate task beforehand on a 64-bit server running Windows Server 2008 or higher.
Because the Active Directory preparation requires the RSAT-ADDS tools I am running it on the domain controller in my test lab.
Alternatively, you can install the tools on a member server to run Exchange 2013 Active Directory preparation.

For Windows Server 2008 R2 (SP1 or later), in PowerShell run:
Import-Module ServerManager

Add-WindowsFeature RSAT-ADDS

For Windows Server 2012, in PowerShell run:
Install-WindowsFeature RSAT-ADDS

If you are installing Exchange Server in the AD forest for the first time run the following Exchange 2013 setup command to prepare Active Directory:

setup /PrepareAD /OrganizationName:"your organization name" /IAcceptExchangeServerLicenseTerms

Note: if your organization name contains spaces then it must be enclosed in quotes as shown above.
If an Exchange organization already exists you can omit the /OrganizationName parameter.
setup /PrepareAD /IAcceptExchangeServerLicenseTerms
For other Active Directory preparation scenarios, such as multiple forests or multiple domains, refer to this article on TechNet.


Prerequisitos de componentes sobre servers de correo

Con la propia instalación desde la UI se realiza automáticamente con solo elegir un seteo:


Image

Tambien podemos instalarlo desde el Shell:


Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-Clustering-CmdInterface, RSAT-ADDS

The cmdlet action is shown in Figure 03.
Image
Figure 03



No mas exch managment tool:

https://www.youtube.com/watch?v=GpH0jC_2-FQ#t=248



 Hi All :
       When you installing Exchange Server 2013 Mailbox High-available on Windows Server 2012 environment , you may encounter this error : An Active Manager operation failed with a transient error: Please retry the operation. Error: The fully qualified domain name for node 'XXXX' could not be found.

        Now , you need to assign the machine account of the first node added to the DAG with full control of the pre-staged object.
      1. Select the appropriate container in Active Directory Users and Computers snap-in console where you wish the account to be created.  Right click, select New –> Computer :

      2. In the Computer name box, type the name that was assigned to the database availability group :

        3. Click OK , the computer account created . Right-click this account and click Properties :

       4. Then click Security tab , and click Add... , add the first DAG member server computer account and assign the machine account Full control Allow permission :



   6. When presented with the disable dialog, select Yes :

     7. After the object has been successfully disabled,  press the OK button on the success confirmation :

    8. And now , you can start to creating DAG successfully !







Exchange 2013 DAG

Hi All :
       When you installing Exchange Server 2013 Mailbox High-available on Windows Server 2012 environment , you may encounter this error : An Active Manager operation failed with a transient error: Please retry the operation. Error: The fully qualified domain name for node 'XXXX' could not be found.

        Now , you need to assign the machine account of the first node added to the DAG with full control of the pre-staged object.
      1. Select the appropriate container in Active Directory Users and Computers snap-in console where you wish the account to be created.  Right click, select New –> Computer :

      2. In the Computer name box, type the name that was assigned to the database availability group :

        3. Click OK , the computer account created . Right-click this account and click Properties :

       4. Then click Security tab , and click Add... , add the first DAG member server computer account and assign the machine account Full control Allow permission :



   6. When presented with the disable dialog, select Yes :

     7. After the object has been successfully disabled,  press the OK button on the success confirmation :

    8. And now , you can start to creating DAG successfully !

viernes, 8 de marzo de 2013

La magia del compellent!!

 
 

Compellent logro q es la virtualización de un disco, con esto y especialmente a mis amigos administradores de Exchange y base de datos nos olvidamos el concepto de raid, simplemente asignamos un disco a un server y compellent en base a un calco de i/o sabrá q es lo mejor para nuestros archivos.


En pocas palabras:
 



Sus fundamentos:

Su inteligencia se basa en división de discos por tiers, solo 3 en los cuales están dividos en base a su performance:
 

El primer dato se guarda en el tier 1 (discos de estado solido) todo configurado en raid (de gand performance hasta b ajar los tiers de menor performance), pasada unas 24 horas y dependiendo del acceso al dato, compelen mueve el dato viejo a un tier de menor performance pero a su ves mas económico, si existe una modificación el en dato el mismo es guardado en tier 1 hasta q caduque su tiempo y lo mueva a otro tier, en el caso de q el file sea accedido con mucha frecuencia es alojado en tier 1 permanentemente, del mismo modo si un dato accedido permanentemente en tier 3 , compellent moverá este a tier 1:

 

Todo esto lo hace en bloques de 2 mb (configurables) o sea, mi dato esta en toda la caja y aquí el concepto de “disco virtual”.
 
Leverages all other software features
 


Tight integration between automated tiered storage and other enterprise storage functionality drives the efficiency and performance of Data Progression. Thin provisioning optimizes disk utilization within the tiering environment. Users can provision virtual volumes of any size without setting aside physical space, and expand those volumes on demand. There are no RAID set capacity limitations or write performance penalties, as is common with other sub-LUN tiering solutions.
 
To help ensure ongoing write and read performance within the tiering scheme, Data Progression leverages Dell Compellent Replay (snapshot) technology. New data is written to Tier 1 to help provide the best write performance, yet change-only snapshots move to a lower tier and/or RAID level within 24 hours. Over time, the Replay engine prepares infrequently accessed blocks for downward migration through read-only conversion. This can free up 20 to 40 percent of space on Tier 1 while maintaining read performance. Users can take a high number of snapshots without affecting volume performance or capacity. And virtual pointers maintain continuity between all read and write blocks, despite distinct placement within the array.
 Así se ve desde el Compellent storage center (la interfaz de management):


 

 Thin Provisioning?????????????????????

La primera ves q escuche esto fue un que????, y la respuesta fue una promesa q puede ser verdad mas adelante, o sea:
Puedo asignar mas espacio del q tengo ¡!!!!!!!
Es bueno al momento del diseño, pero asegúrate q vas a tener todo el disco q prometiste, sino chau discos virtuales!!!!!
 
Mi interfaz:
 
 
Mi máximo físicamente es 4.5TB, vamos a crear un volumen de 5 teras entonces o varios q sumados den unos cuantos TB. 

Ffffffffffffffffffffffffffffffffffffffuuuuuuuuuuuuuuuuuuuuuaaaaaaaaaaaaaaaaaaaaaa
 
 
A los 32 gb de espacio libre no permite mas replays (snapshot ), a los 512MB libres pone la caja en modo read -only, mucho cuidadito con esto!!!!!
Claro q permite expandir volúmenes con 0 disrupción.
 

Data placement organization???????

 
Esto para del es “fast track”, y significa voy a poner los datos q mas acceso tienen en las pistas q están mas lejos del centro del disco ya q son las primeras y las mas rápidas de leer!!!!
 
Na, increíble!!!
Esto sumado a data progrecion loga la virtualización del dato, un claro ejemplo pongan sus bases de datos juntova sus logs, vana  ver q sus I/O no se verán afectados en lo mas mínimo, olvídense del concepto de disco, esto mueve el dato el bolkes de 2MB!!!!
Notas:Fast track es una licencia aparte.
Storage profile: es un feacture q puedo definir y en el cual puedo decir q tipo de raid quiero usar y si quiero q el dato se aloje permanentemente en tier 1, q dice compellent??, NO hagas eso!!! Deja q la inteligencia o la magia de compelent lo haga!!!!!!, salvo casos muy particulares.
 

Enterpice management client.


Si esto no es magia, escucho q cosa lo es!!!!!!!!!!
 
Vamos a crear un Volumen y se lo voy a pegar a Windows, todo desde el EM: 
 

 
Esta información la recolecta de un agente q corre en el server donde se esta asignando.

 
Mismo ejemplo con el disco M:

 
 
 
 

 

miércoles, 22 de agosto de 2012

Exchnage 2010 brick level backup

Este blog tiene excellence informacion de como podemos hacer un baclup brick lebel de nuestros servers de exchange.

PS command:

foreach ($i in (Get-Mailbox | Where {$_.ExchangeVersion.ExchangeBuild.Major -eq 14})) { New-MailboxExportRequest -Mailbox $i -FilePath "\\AZUA\Exports\${$i.Alias).pst" }

http://www.stevieg.org/2010/07/using-the-exchange-2010-sp1-mailbox-export-features-for-mass-exports-to-pst/

Para llamarlo desde un csv: 

foreach ($i in (Import-Csv .\exports.csv)) { New-MailboxExportRequest -Mailbox $i.Alias -FilePath "\\AZUA\Exports\$($i.Alias).pst" }

Exchnage 2010 brick level backup

Este blog tiene excelente informacion de como podemos hacer un baclup brick lebel de nuestros servers de exchange.

lunes, 27 de febrero de 2012

Clear the Auto-Complete Email Address Cache in Outlook

Clear the Auto-Complete Email Address Cache in Outlook

Outlook 2003 has an automatic completion for any email address that you try to type into the To or CC fields. This feature does not pull from the contacts or address book, because you may have tried to email somebody that wasn’t in your contact list, and it will still add that to the auto complete list.

The problem comes in when you put in a bad address, and then every time you go to type in the email address, the incorrect one appears in the auto complete list.

To fix this problem, there are two ways around this. The easiest way is this:

  • Start typing in the address that shows up incorrectly.
  • Hit the Down arrow key to select the auto completed address.
  • Hit the Delete key to delete the auto complete address

The other way is by opening the profile folder and deleting the .nk2 file.

  • Open up windows explorer, and paste the following into the address bar:

    %APPDATA%\Microsoft\Outlook

  • Delete the Outlook.NK2 file that you find in this folder.