Annotation of /trunk/bin/AssetServer.ini
Parent Directory
|
Revision Log
Revision 63 - (view) (download)
| 1 : | jhurliman | 38 | [Config] |
| 2 : | |||
| 3 : | jhurliman | 59 | ; The port number for the asset server to listen on. If a valid SSL certificate |
| 4 : | ; file is given for SSLCertFile, the HTTPS protocol will be used. Otherwise, the | ||
| 5 : | ; HTTP protocol is used. | ||
| 6 : | ListenPort = 8003 | ||
| 7 : | jhurliman | 38 | |
| 8 : | jhurliman | 59 | ; An SSL certificate file for the server. If a valid raw certificate or PKCS#12 |
| 9 : | ; file is given the server will run in HTTPS mode. | ||
| 10 : | ;SSLCertFile = server.p12 | ||
| 11 : | jhurliman | 38 | |
| 12 : | jhurliman | 15 | [Extensions] |
| 13 : | |||
| 14 : | jhurliman | 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 15 : | ; Storage Providers | ||
| 16 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 17 : | |||
| 18 : | jhurliman | 15 | ; Simple storage is a very basic storage system for the purposes of illustrating |
| 19 : | jhurliman | 35 | ; a storage backend example. The assets are stored in SimpleAssets/ and |
| 20 : | ; TempAssets/ (which is deleted when the server shuts down). Metadata is | ||
| 21 : | ; generated for all of the files at startup and when new assets are uploaded. | ||
| 22 : | jhurliman | 15 | SimpleStorage |
| 23 : | |||
| 24 : | jhurliman | 23 | ; OpenSimMySQL storage connects to a MySQL server that has an assets table created |
| 25 : | jhurliman | 63 | ; by OpenSim. Open the AssetServer_Config.xml file from OpenSim and use the |
| 26 : | ; database connection string for the database_connect option in the MySQL section | ||
| 27 : | ; below. This backend combined with the OpenSimFrontend will allow the asset | ||
| 28 : | ; server to be used as a drop-in replacement for OpenSim.Grid.AssetServer.exe, | ||
| 29 : | jhurliman | 15 | ; while also allowing other frontends to run. |
| 30 : | ;OpenSimMySQLStorage | ||
| 31 : | |||
| 32 : | jhurliman | 20 | ; Uses Amazon.com's Simple Storage Service (http://aws.amazon.com/s3/) to store |
| 33 : | ; asset data and metadata. This backend does not handle any data requests, as the | ||
| 34 : | ; data is stored remotely and metadata replies will contain the amazon.com URL | ||
| 35 : | ; holding the actual asset data. Your Access Key ID and Secret Access Key must be | ||
| 36 : | jhurliman | 28 | ; set in the [Amazon] section below for this backend to function. If |
| 37 : | ; UseCloudFront is true and your Amazon account has CloudFront enabled, | ||
| 38 : | ; CloudFront URLs will be returned in metadata instead of normal S3 URLs. | ||
| 39 : | jhurliman | 20 | ;AmazonS3Storage |
| 40 : | |||
| 41 : | jhurliman | 25 | ; Uses memcached (http://www.danga.com/memcached/) as a caching layer on top of |
| 42 : | ; another storage backend. If you use this, make sure you enable another storage | ||
| 43 : | ; provider as the actual backend, and that the MemcacheStorage line appears in | ||
| 44 : | ; this config file after the other storage provider. | ||
| 45 : | jhurliman | 49 | ;MemcachedStorage |
| 46 : | jhurliman | 25 | |
| 47 : | jhurliman | 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 48 : | ; Inventory Providers | ||
| 49 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 50 : | |||
| 51 : | ; Simple inventory is a very basic inventory storage system for the purposes of | ||
| 52 : | ; illustrating an inventory backend example. The inventory is stored in | ||
| 53 : | ; SimpleInventory/ by creating a folder for each agent that contains all of the | ||
| 54 : | ; inventory items and folders serialized as XML files. | ||
| 55 : | SimpleInventory | ||
| 56 : | |||
| 57 : | jhurliman | 63 | ; OpenSimMySQL inventory connects to a MySQL server that has an inventory table |
| 58 : | ; created by OpenSim. If the OpenSimMySQLStorage backend is also being used, the | ||
| 59 : | ; inventory and asset tables must be stored in the same database. The | ||
| 60 : | ; database_connect string in the MySQL section below is used to connect to the | ||
| 61 : | ; database. This backend combined with the OpenSimInventoryFrontend will allow | ||
| 62 : | ; the server to be used as a drop-in replacement for | ||
| 63 : | ; OpenSim.Grid.InventoryServer.exe, while also allowing other frontends to run. | ||
| 64 : | ;OpenSimMySQLInventory | ||
| 65 : | |||
| 66 : | jhurliman | 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 67 : | ; Authentication Providers | ||
| 68 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 69 : | |||
| 70 : | jhurliman | 24 | ; OpenID provides a direct method of authenticating with the asset server. Users |
| 71 : | ; can provide credentials and receive a session token directly from the asset | ||
| 72 : | ; server. The OpenIdAuth module provides a browser-based form login and an | ||
| 73 : | ; XML-based API, both accessible through the URL /authenticate. | ||
| 74 : | OpenIdAuth | ||
| 75 : | |||
| 76 : | jhurliman | 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 77 : | ; Authorization Providers | ||
| 78 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 79 : | |||
| 80 : | jhurliman | 24 | ; Authorize all is a dummy authorization module that allows all requests for |
| 81 : | ; metadata, data, and asset creation. Use this extension if your primary | ||
| 82 : | ; storage provider or front-end interface does not support authentication. | ||
| 83 : | AuthorizeAll | ||
| 84 : | |||
| 85 : | jhurliman | 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 86 : | jhurliman | 42 | ; Metrics Providers |
| 87 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 88 : | |||
| 89 : | ; NullMetrics contains empty logging functions. Use this metrics provider if | ||
| 90 : | ; you want to disable metrics collection and reporting. | ||
| 91 : | NullMetrics | ||
| 92 : | |||
| 93 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 94 : | jhurliman | 35 | ; Frontends |
| 95 : | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 96 : | |||
| 97 : | jhurliman | 30 | ; A simple frontend that provides three basic REST methods. /assetid/metadata |
| 98 : | jhurliman | 15 | ; will return the metadata for an asset (currently in LLSD format, that will |
| 99 : | ; change soon). /assetid/data will return the raw asset data with proper | ||
| 100 : | ; Content-Type and Content-Disposition headers to make downloading assets in a | ||
| 101 : | jhurliman | 30 | ; web browser easy. |
| 102 : | ReferenceFrontend | ||
| 103 : | jhurliman | 15 | |
| 104 : | jhurliman | 30 | ; A frontend that matches the existing OpenSim XML for transferring grid |
| 105 : | jhurliman | 15 | ; assets. This will allow the asset server to function as a drop-in replacement |
| 106 : | ; for OpenSim.Grid.AssetServer.exe, and can be combined with OpenSimMySQLStorage | ||
| 107 : | ; to provide an identical replacement or any other storage backend. | ||
| 108 : | jhurliman | 30 | OpenSimFrontend |
| 109 : | jhurliman | 18 | |
| 110 : | jhurliman | 35 | ; A frontend that matches the existing OpenSim XML for handling inventory |
| 111 : | ; transactions. This will allow the asset server to function as a drop-in | ||
| 112 : | ; replacement for OpenSim.Grid.InventoryServer.exe, and can be combined with | ||
| 113 : | ; OpenSimMySQLInventory to provide an identical replacement or any other | ||
| 114 : | ; inventory backend. | ||
| 115 : | OpenSimInventoryFrontend | ||
| 116 : | |||
| 117 : | jhurliman | 18 | ; An HTML interface for browsing through the asset store |
| 118 : | jhurliman | 35 | BrowseFrontend |
| 119 : | jhurliman | 20 | |
| 120 : | jhurliman | 30 | [MySQL] |
| 121 : | jhurliman | 20 | |
| 122 : | jhurliman | 30 | ; Database connection string used by the OpenSim MySQL backend. If this line is |
| 123 : | ; commented out or missing, the server will look for an AssetServer_Config.xml | ||
| 124 : | ; in the current working directory. This file is generated by | ||
| 125 : | ; OpenSim.Grid.AssetServer.exe and can be used without modification. | ||
| 126 : | jhurliman | 45 | database_connect = "Server=localhost; Database=opensim; User=changeme; Password=changeme;" |
| 127 : | jhurliman | 30 | |
| 128 : | jhurliman | 20 | [Amazon] |
| 129 : | |||
| 130 : | ; Get these values by logging in to your Amazon S3 account and going to | ||
| 131 : | ; https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&action=access-key | ||
| 132 : | AccessKeyID = xxxxxxxxxxxxxxxxxxxx | ||
| 133 : | SecretAccessKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
| 134 : | |||
| 135 : | ; The bucket, or namespace, in your Amazon S3 account for storing assets in. | ||
| 136 : | ; Bucket names on S3 are global identifiers, and must be unique. Think up | ||
| 137 : | ; something clever or random. | ||
| 138 : | BucketName = changeme | ||
| 139 : | jhurliman | 25 | |
| 140 : | jhurliman | 28 | ; Amazon CloudFront is a Content Distribution Network for S3 stores. If this is |
| 141 : | ; set to true, AmazonS3Storage will try to locate the first available CloudFront | ||
| 142 : | ; distribution tied to the active S3 bucket. If no usable distribution is found, | ||
| 143 : | ; a new one will be created. | ||
| 144 : | UseCloudFront = true | ||
| 145 : | |||
| 146 : | jhurliman | 49 | [Memcached] |
| 147 : | jhurliman | 25 | |
| 148 : | ; A comma-separated list of the memcached servers that make up your caching | ||
| 149 : | ; pool. Each server is a hostname or IP address, optionally followed by a | ||
| 150 : | ; colon and port number if the server is not listening on the default 11211 | ||
| 151 : | ; port. | ||
| 152 : | Servers = localhost |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

