Pré-requis Exchange 2007 : Installation automatisée

Ecrit par Pierre dans Exchange server avec les tags ,


exchange server
Les pré-requis lors d’une installation Exchange 2007 prennent un certain temps donc pourquoi ne pas automatiser cette installation avec un fichier de réponse et la commande servermanagercmd.exe.
Déja voici le récapitulatif des pré-requis pour chaque rôles :

prerequisexch20072

Donc maintenant on va créer un fichier XML pour l’installation de chacun de ces rôles :

HUB transport :

<ServerManagerConfiguration

Action=”Install”

xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager
/Configuration/2007/1″>

<Feature Id=”PowerShell”/>

</ServerManagerConfiguration>

CLIENT Access :

<ServerManagerConfiguration

Action=”Install”

xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager
/Configuration/2007/1″>

<Role Id=”Web-Server”/>

<RoleService Id=”Web-ISAPI-Ext”/>

<RoleService Id=”Web-Metabase”/>

<RoleService Id=”Web-Lgcy-Mgmt-Console”/>

<RoleService Id=”Web-Basic-Auth”/>

<RoleService Id=”Web-Digest-Auth”/>

<RoleService Id=”Web-Windows-Auth”/>

<RoleService Id=”Web-Dyn-Compression”/>

<Feature Id=”PowerShell”/>

<Feature Id=”NET-Framework-Core”/>

<Feature Id=”RPC-over-HTTP-proxy”/>

</ServerManagerConfiguration>

EDGE Transport :

<ServerManagerConfiguration

Action=”Install”

xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager
/Configuration/2007/1″>

<Role Id=”ADLDS”/>

<Feature Id=”PowerShell”/>

</ServerManagerConfiguration>

MAILBOX Server :

<ServerManagerConfiguration

Action=”Install”

xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager
/Configuration/2007/1″>

<Role Id=”Web-Server”/>

<RoleService Id=”Web-ISAPI-Ext”/>

<RoleService Id=”Web-Metabase”/>

<RoleService Id=”Web-Lgcy-Mgmt-Console”/>

<RoleService Id=”Web-Basic-Auth”/>

<RoleService Id=”Web-Windows-Auth”/>

<Feature Id=”PowerShell”/>

<Feature Id=”RSAT-ADDS”/>

</ServerManagerConfiguration>

Pour l’utilisation du rôle Mailbox en cluster il faut rajouter la ligne :

<Feature Id=”Failover-Clustering”/>

UNIFIED Messaging :

<ServerManagerConfiguration

Action=”Install”

xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager
/Configuration/2007/1″>

<Feature Id=”PowerShell”/>

<Feature Id=”Desktop-Experience”/>

</ServerManagerConfiguration>

Si on veut installer tous les rôles sur un serveur :

<ServerManagerConfiguration

Action=”Install”

xmlns=”http://schemas.microsoft.com/sdm/Windows/ServerManager
/Configuration/2007/1″>

<Role Id=”Web-Server”/>

<RoleService Id=”Web-ISAPI-Ext”/>

<RoleService Id=”Web-Metabase”/>

<RoleService Id=”Web-Lgcy-Mgmt-Console”/>

<RoleService Id=”Web-Basic-Auth”/>

<RoleService Id=”Web-Digest-Auth”/>

<RoleService Id=”Web-Windows-Auth”/>

<RoleService Id=”Web-Dyn-Compression”/>

<Feature Id=”PowerShell”/>

<Feature Id=”NET-Framework-Core”/>

<Feature Id=”RPC-over-HTTP-proxy”/>

<Feature Id=”RSAT-ADDS”/>

</ServerManagerConfiguration>

Et voilà maintenant pour lancer l’installation des pré-requis en ligne de commande il faut se servir de la commande servermanagercmd.exe :

Servermanagercmd.exe -ip MonFichierXML.xml

Après à vous d’adapter ces fichiers XML pour vos installations particulières d’exchange 2007