Installing and Running Hypergrid/fr

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Quicklinks}} = Installer et faire marcher OpenSimulator en mode Hypergrid = La configuration d'OpenSimulatoir pour l'hypergrid sera différente selon que vous utilisiez le mod...")
 
Line 1: Line 1:
{{Quicklinks}}
 
 
 
= Installer et faire marcher OpenSimulator en mode Hypergrid =
 
= Installer et faire marcher OpenSimulator en mode Hypergrid =
 
La configuration d'OpenSimulatoir pour l'hypergrid sera différente selon que vous utilisiez le mode Standalone ou le mode Grille. Par ailleurs, des chnagements changements considérables sont apparus avec la version 0.7.
 
La configuration d'OpenSimulatoir pour l'hypergrid sera différente selon que vous utilisiez le mode Standalone ou le mode Grille. Par ailleurs, des chnagements changements considérables sont apparus avec la version 0.7.

Revision as of 00:28, 18 March 2012

Contents

Installer et faire marcher OpenSimulator en mode Hypergrid

La configuration d'OpenSimulatoir pour l'hypergrid sera différente selon que vous utilisiez le mode Standalone ou le mode Grille. Par ailleurs, des chnagements changements considérables sont apparus avec la version 0.7.

Configuration

Pour qu'OpenSimulator soit accessible dans l'hypergrid, vous devez utiliser une adresse IP externe visible ou un nom de domaine. Vous aurez également besoin de rediriger tous les portq (TCP et UDP) qu'OpenSimulator et les régions du simulateur utilisent. Généralement, ce sera le port 8002 pour une installation en mode grille et le port 9000 pour le mode standalone. Habituellement, les régions utilisent les ports à partir de 9000. Pour plus d'informations, voir Network Settings.

Standalone

La configuration pour l'hyopergrid est activée dans la section [Architecture] du fichier OpenSim.ini. Assurez-vous que la ligne Include-HGStandalone soit la seule ligne décommentée dans cette section :

[Architecture]
    ;Include-Standalone    = "config-include/Standalone.ini"
    Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
    ;Include-Grid         = "config-include/Grid.ini"
    ;Include-HGGrid       = "config-include/GridHypergrid.ini"
    ;Include-SimianGrid   = "config-include/SimianGrid.ini"

Dans le fichier StandaloneCommon.ini l'adresse internet des sections suivantes doit être remplacée par celle de votre propre adresse de réseau externe :

[HGInventoryService]
    ProfileServerURI = "http://127.0.0.1:9000/profiles"
 
[HGAssetService]
    ProfileServerURI = "http://127.0.0.1:9000/profiles"
 
[HGInventoryAccessModule]
    ProfileServerURI = "http://127.0.0.1:9000/profiles"
    Gatekeeper = "http://127.0.0.1:9000"
 
[GridService]
    Gatekeeper = "http://127.0.0.1:9000"
 
[Messaging]
    Gatekeeper = "http://127.0.0.1:9000"
 
[LoginService]
    ; ... (other settings in this section) ...
    GatekeeperURI = "http://127.0.0.1:9000"
 
    SRV_HomeURI = "http://127.0.0.1:9000"
    SRV_InventoryServerURI = "http://127.0.0.1:9000"
    SRV_AssetServerURI = "http://127.0.0.1:9000"
    SRV_ProfileServerURI = "http://127.0.0.1:9000"
    SRV_FriendsServerURI = "http://127.0.0.1:9000"
    SRV_IMServerURI = "http://127.0.0.1:9000"
 
[GatekeeperService]
    ; ... (other settings in this section) ...
    ExternalName = "http://example.com:9000"

Si vous voulez utiliser un port différent pour votre adresse, vous devez remplacer le port d'écoute HTTP dans le section [Network] dans le fichier OpenSim.ini par le port que vous aurez associé à votre adresse :

[Network]
    ; ... (other settings in this section) ...
    http_listener_port = 9000

Pour finir, les régions doivent être configurées en fonction des changements effectués (adresse et ports). Voir #Region Setup for both Grid and Standalone.

Grille

Pour activer l'hypergrid en mode Grille, le serveur Robust et les serveurs de région (simulateurs) doivent être configurés de façon appropriée.

Les simulateurs

Les serveurs de région (simulateurs) qui sont connectés au serveur Robust lisent leur configuration dans le fichier OpenSim.ini. Pour activer l'hypergrid pour ces serveurs la ligne Include-HGGrid dans la section [Architecture] doit être décommantée :

[Architecture]
    ;Include-Standalone    = "config-include/Standalone.ini"
    ;Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
    ;Include-Grid         = "config-include/Grid.ini"
    Include-HGGrid       = "config-include/GridHypergrid.ini"
    ;Include-SimianGrid   = "config-include/SimianGrid.ini"

Dans GridCommon.ini les adresses internet dessections suivantes doivent être remplacées par votre adresse de réseau externe :

[GridService]
    ; === HG ONLY === 
    ;; Change this to the address of your Gatekeeper service
    ;; (usually bundled with the rest of the services in one 
    ;; Robust server in port 8002, but not always)
    Gatekeeper="http://mygridserver.com:8002"
 
[Messaging]
    ; === HG ONLY === 
    ;; Change this to the address of your Gatekeeper service
    ;; (usually bundled with the rest of the services in one 
    ;; Robust server in port 8002, but not always)
    Gatekeeper = "http://mygridserver.com:8002"
 
[HGInventoryAccessModule]
    ;
    ; === HG ONLY ===
    ; Change this to your server
    ; accessible from other grids
    ;
    ProfileServerURI = "http://mygridserver.com:8002/user"
    Gatekeeper = "http://mygridserver.com:8002"
 
[UserAgentService]
    ;
    ; === HG ONLY ===
    ; Change this to your user agent server (HG robust)
    ;
    UserAgentServerURI = "http://mygridserver.com:8002"

Serveur Robust

Le serveur Robust va démarrer en utilisant le fichier de configuration Robust.HG.ini à la place de Robust.ini. Si ce fichier n'existe pas dans votre installation, créez le en faisant une copie de Robust.HG.ini.example. Réalisez les modifications appropriée pour votre environnement (par exemple adaptez la chaîne de connexion de la base de données). Pour l'hypergrid, utilisez la configuration suivante :

[LoginService]
    GatekeeperURI = "http://127.0.0.1:8002"
 
    SRV_HomeURI = "http://127.0.0.1:8002"
    SRV_InventoryServerURI = "http://127.0.0.1:8002"
    SRV_AssetServerURI = "http://127.0.0.1:8002"
    SRV_ProfileServerURI = "http://127.0.0.1:8002/user"
    SRV_FriendsServerURI = "http://127.0.0.1:8002"
    SRV_IMServerURI = "http://127.0.0.1:8002"
 
[GatekeeperService]
    ; ... (other settings in this section) ...
    ExternalName = "http://127.0.0.1:8002"
 
[HGInventoryService]
    ProfileServerURI = "http://127.0.0.1:8002/user"
 
; * The interface that local users get when they are in other grids.
; * This restricts the access that the rest of the world has to
; * the assets of this world.
; *
[HGAssetService]
    ProfileServerURI = "http://127.0.0.1:8002/user"

Si vous voulez modifier le(s) port(s) utilisez avec les adresses, vous devrez aussi modifier le port de façon appropriée pour le paramètre 'ServiceConnectors' dans la section [Startup] et probablement le port configuré dans la section [Network].

Après avoir réalisé ces ajustements, le serveur Robust peut être redémarré. Pour Windows/.NET:

Robust -inifile=Robust.HG.ini

Ou avec Mono (sous Linux ou OSX):

mono Robust.exe -inifile=Robust.HG.ini

Configuration de la région en mode Grille et en mode Standalone

Pour finir, toutes les régions doivent utiliser l'adresse externe indiquée pour GatekeeperService, par exemple:

[Region One]
    ; ... (other settings in this section) ...
    ExternalHostName = "example.com"

Les ports utilisés par vos régions doivent tous être redirigés et ouvert dans le pare-feu qui sécurise votre installation pour TCP et UDP.

La limite 4096 des régions

En raison d'un probmème de viewer, il n'est pas possible de se téléporter vers des destinations supérieures à 4096 régions dans une direction. La plupart des viewers appliqueront la téléportation mais la destination ne sera par rendue et ainsi sera invisible.En pratique, cela signifie que si vous désirez vous téléporter depuis une région dont les coordonnées sont (1000, 1000) vous ne pourrez pas aller plus loin que (5095, 5095). Pour atteindre une destination plus éloignée, vous devrez soit placer votre propre région plus près de la destination, ou utiliser des régions intermédiaires qui pourront atteindre votre région et la région de destination.

Référez-vous à Public Hypergrid Nodes pour connaître la localisation de quelques standalones et grilles connues.

Configuration à partir de la version OpenSimulator 0.7.3

Traduction en cours...

There are some minor changes for Hypergrid configuration in OpenSimulator 0.7.3 compared to 0.7.2. Compared to 0.7.2, ProfileURI parameters become HomeURI parameters instead and lose their extensions (e.g. ProfileServerURI = "http://127.0.0.1:900/profiles" in [HGInventoryService] in StandaloneCommon.ini becomes HomeURI = "http://127.0.0.1:9000"

Standalone

The configuration for hypergrid is activated in section [Architecture] in file OpenSim.ini. Ensure that the line for Include-HGStandalone is the only one that is uncommented in this section:

[Architecture]
    ;Include-Standalone    = "config-include/Standalone.ini"
    Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
    ;Include-Grid         = "config-include/Grid.ini"
    ;Include-HGGrid       = "config-include/GridHypergrid.ini"
    ;Include-SimianGrid   = "config-include/SimianGrid.ini"

In StandaloneCommon.ini the network addresses in the following sections must be changed to your external network address:

[HGInventoryService]
    HomeURI = "http://127.0.0.1:9000"
 
[HGAssetService]
    HomeURI = "http://127.0.0.1:9000"
 
[HGInventoryAccessModule]
    HomeURI = "http://127.0.0.1:9000"
    Gatekeeper = "http://127.0.0.1:9000"
 
[GridService]
    Gatekeeper = "http://127.0.0.1:9000"
 
[Messaging]
    Gatekeeper = "http://127.0.0.1:9000"
 
[LoginService]
    ; ... (other settings in this section) ...
    GatekeeperURI = "http://127.0.0.1:9000"
 
    SRV_HomeURI = "http://127.0.0.1:9000"
    SRV_InventoryServerURI = "http://127.0.0.1:9000"
    SRV_AssetServerURI = "http://127.0.0.1:9000"
    SRV_ProfileServerURI = "http://127.0.0.1:9000"
    SRV_FriendsServerURI = "http://127.0.0.1:9000"
    SRV_IMServerURI = "http://127.0.0.1:9000"
 
[GatekeeperService]
    ; ... (other settings in this section) ...
    ExternalName = "http://1270.0.1:9000"

If you want to use a different port with these addresses, then you must adjust the HTTP listener port in section [Network] in OpenSim.ini, too:

[Network]
    ; ... (other settings in this section) ...
    http_listener_port = 9000

As a last step, the regions must be configured according to the previous changes. See #Region Setup for both Grid and Standalone.

Grille

To enable hypergrid for a grid, both the Robust server and the region servers (simulators) must be configured appropriately.

Simulateur

The region servers (simulators) that connect to the Robust server read their configuration from file OpenSim.ini. To activate hypergrid for them, the line for Include-HGGrid in section [Architecture] must be uncommented:

[Architecture]
    ;Include-Standalone    = "config-include/Standalone.ini"
    ;Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
    ;Include-Grid         = "config-include/Grid.ini"
    Include-HGGrid       = "config-include/GridHypergrid.ini"
    ;Include-SimianGrid   = "config-include/SimianGrid.ini"

In GridCommon.ini the network addresses in the following sections must be changed to your external network address:

[GridService]
    ; === HG ONLY === 
    ;; Change this to the address of your Gatekeeper service
    ;; (usually bundled with the rest of the services in one 
    ;; Robust server in port 8002, but not always)
    Gatekeeper="http://mygridserver.com:8002"
 
[Messaging]
    ; === HG ONLY === 
    ;; Change this to the address of your Gatekeeper service
    ;; (usually bundled with the rest of the services in one 
    ;; Robust server in port 8002, but not always)
    Gatekeeper = "http://mygridserver.com:8002"
 
[HGInventoryAccessModule]
    ;
    ; === HG ONLY ===
    ; Change this to your server
    ; accessible from other grids
    ;
    HomeURI = "http://mygridserver.com:8002"
    Gatekeeper = "http://mygridserver.com:8002"
 
[UserAgentService]
    ;
    ; === HG ONLY ===
    ; Change this to your user agent server (HG robust)
    ;
    UserAgentServerURI = "http://mygridserver.com:8002"

Serveur Robust

The Robust server is started with configuration file Robust.HG.ini instead of Robust.ini. If this file does not yet exist in your installation, create it by making a copy of Robust.HG.ini.example. Make the changes appropriate for your environment (e.g. adjust the database connection string). For hypergrid, the following settings are relevant:

[LoginService]
    GatekeeperURI = "http://127.0.0.1:8002"
 
    SRV_HomeURI = "http://127.0.0.1:8002"
    SRV_InventoryServerURI = "http://127.0.0.1:8002"
    SRV_AssetServerURI = "http://127.0.0.1:8002"
    SRV_ProfileServerURI = "http://127.0.0.1:8002/user"
    SRV_FriendsServerURI = "http://127.0.0.1:8002"
    SRV_IMServerURI = "http://127.0.0.1:8002"
 
[GatekeeperService]
    ; ... (other settings in this section) ...
    ExternalName = "http://127.0.0.1:8002"
 
[HGInventoryService]
    HomeURI = "http://127.0.0.1:8002"
 
; * The interface that local users get when they are in other grids.
; * This restricts the access that the rest of the world has to
; * the assets of this world.
; *
[HGAssetService]
    HomeURI = "http://127.0.0.1:8002"

If you want to change the port(s) used with these addresses, you will also need to adjust the ports in parameter 'ServiceConnectors' in section [Startup] and probably the port configured in section [Network] as well.

After these adjustments, the Robust server can be started. On Windows/.NET:

Robust -inifile=Robust.HG.ini

Or, with Mono (e.g. on Linux or OSX):

mono Robust.exe -inifile=Robust.HG.ini

Configuration de la région en mode Grille et en mode Standalone

Finally, all your regions must use the same external address that is set for GatekeeperService, for example:

[Region One]
    ; ... (other settings in this section) ...
    ExternalHostName = "example.com"

For the ports which are used by your regions, TCP and UDP requests must be forwarded through any firewall that is securing your network.

Installer et faire marcher l'hypergrid pour OpenSimulator 0.6.9

Installing and Running Hypergrid On OpenSimulator 0.6.9

Références supplémentaires

Implemented osFunctions: OSSL Implemented

Enabling osFunctions: OSSL Enabling Functions

HyperGrid Security: Hypergrid Security

Banning Foreign Users in Hypergrid: Banning Foreign Users in Hypergrid

Public HyperGrid Nodes Listing: Public Hypergrid Nodes

Hypergrid Inventory Access: Hypergrid Inventory Access (proposal)

CATEGORY: Hypergrid

Personal tools
General
About This Wiki