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