Précédent   Forum des professionnels en informatique > Systèmes > Windows > Windows Serveur
Windows Serveur Forum d'entraide professionel pour Windows Serveur : NT, 2000, 2003 , Longhorn...
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 07/11/2011, 13h53   #1
Membre régulier
 
Étudiant
Inscription : octobre 2010
Messages : 92
Détails du profil
Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : octobre 2010
Messages : 92
Points : 78
Points : 78
Par défaut Export / Import Quota et Filtrage de fichiers (FSRM)

Bonjour,

Dans une architecture tout Windows, j'ai un serveur 2003R2 (que l'on appellera A) avec un certain nombre de dossier. Sur ces dossiers j'ai des quota et des règles de filtrage de fichiers ainsi que tout un tas de droits NTFS liés à un AD.

J'ai un serveur B, lui aussi un 2003R2, et je cherche la façon d'exporter, à partir de A, puis d'y importer en B les règles de Quota et de Filtrage de fichiers (FSRM).

Aucun problème concernant les droits NTFS.

Une idée ?
zeclad01 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/11/2011, 10h35   #2
Membre régulier
 
Étudiant
Inscription : octobre 2010
Messages : 92
Détails du profil
Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : octobre 2010
Messages : 92
Points : 78
Points : 78
J'ai résolu en partie le problème pour Groupes de fichiers et Modèles de filtres de fichiers.

Citation:
Supprimer tous l'existant sur le serveur cible :
filtres de fichiers, modèles de filtres de fichiers, groupe de fichiers
Quotas, modèles de quotas

Export/Import des groupe de fichiers :
filescrn Filegroup export /File:D:\filegroup.xml (sur le serveur source)
copier le fichier du serveur source D:\filegroup.xml vers le serveur cible E:\filegroup.xml
filescrn Filegroup import /File:E:\filegroup.xml (sur le serveur cible)

Export/Import des modèles de filtres de fichiers :
filescrn template export /File:D:\template.xml (sur le serveur source)
copier le fichier du serveur source D:\template.xml vers le serveur cible E:\template.xml
filescrn template import /File:E:\template.xml (sur le serveur cible)

Export/Import des modèles de quotas :
dirquota template export /File:D:\quotatemplate.xml (sur le serveur source)
copier le fichier du serveur source D:\quotatemplate.xml vers le serveur cible E:\quotatemplate.xml
dirquota template import /File:E:\quotatemplate.xml (sur le serveur cible)
(On peut aussi utiliser l'option /REMOTE et tout faire à partir de la machine source mais je n'ai pas testé).

Me reste à faire les Quotas, les Modèles de quotas et les Filtres de fichiers. Et ça ... je ne trouve pas.

Lien utile : http://blogs.dirteam.com/blogs/r2/ar...11/19/104.aspx

Citation:
With R2 Microsoft introduces, amongst others, the File Server Resource Manager (FSRM). With that MMC you define, configure and manage quotas and file screens. On a R2 server with the FSRM installed you can configure the following:
* FSRM Global Options
* Quota and Screening Templates
* Quota and Screening Settings for directories

However at this moment, if you have multiple servers you want to configure all the servers the same way, there is no way to do this through the GUI. To be able to distribute templates and settings command line tooling must be used.

With the FSRM the following three command line tools are available:

* dirquota.exe

* Can be used to define, configure and manage quotas on directories, quota templates and global options

* filescrn.exe

* Can be used to define, configure and manage file screen (exceptions) on directories, file screen templates and global options
* storrept.exe

* Can be used to define, configure and manage reports


If you want to configure templates on multiple servers whereas all those servers use the same template settings you can use one of the 2 possible ways to accomplish that

(1) configuring all servers through the command line

First think about all the custom templates (quota and file screening) you need and translate those into command lines in a batch file using the commands "dirquota template add" and "filescrn template add" and "filescrn filegroup add". The command line options for both are listed below. There is no need to run this on each server as you can run the commands in the batch from 1 server against remote servers using the /REMOVE:<server> option

(2) configuring one server and export/import those settings onto other servers

First think about all the custom templates (quota and file screening) you need and configure one server through the GUI using the FSRM MMC. After configuration has been done. Export the template settings to a XML file using the command "dirquota template export" for quotas and the command "filescrn template export" for file screens and "filescrn filegroup export" for filegroups. After that use the command "dirquota template import" for quotas and the command "filescrn template import" for file screensand the command "filescrn filegroup import" for filegroups to import the settings into new servers. Again, it is not needed to run this on each server as you can run the commands the export server against remote servers using the /REMOVE:<server> option.


AND if you want to configure the same quotas and file screens on specific directories on multiple servers there is only one way to accomplish that without using the FSRM MMC on each server.

To configure custom settings (autoquotas/quotas and file screenings) on multiple servers you can use the command "dirquota quota add" for quotas, the command "dirquota autoquota add" for autoquotas and the the command "filescrn screen add" for file screens. The command line options are listed below. There is no need to run this on each server as you can run the commands in the batch from 1 server against remote servers using the /REMOVE:<server> option
zeclad01 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/11/2011, 08h26   #3
Membre régulier
 
Étudiant
Inscription : octobre 2010
Messages : 92
Détails du profil
Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : octobre 2010
Messages : 92
Points : 78
Points : 78
Bon je m'auto réponds, mais ça servira bien à quelqu'un un jour.

Citation:
Ajout des exceptions des Filtres de fichiers :
filescrn Exception add /Path:D:\REPERTOIRE\ABC /Add-Filegroup:"<nom_du_groupe_de_fichiers>"
filescrn Exception add /Path:D:\ABBA\GIMME /Add-Filegroup:"<nom_du_groupe_de_fichiers>"

Ajout des Filtres de fichiers :
filescrn screen add /PATH:D:\ABBA /SOURCETEMPLATE:"<nom_du_template>"
filescrn screen add /PATH:D:\REPERTOIRE /SOURCETEMPLATE:"<nom_du_template>"
Me reste à créer les quotas en ligne de commande.
zeclad01 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 17h05.


 
 
 
 
Partenaires

Hébergement Web