Difference between revisions of "StableBit CloudDrive Advanced Settings"

From Covecube - Wiki
Line 31: Line 31:
 
==== CloudDrive ====
 
==== CloudDrive ====
 
* '''CloudDrive_CultureOverride''' - Overrides the UI culture setting. When set, text will appear in a different language than your OS culture. Set to a culture string such as "de", "es", "fr", etc... This works with remote control as well. When connecting to a StableBit CloudDrive machine with an overridden culture, the UI on the connecting machine will be in the overridden culture.
 
* '''CloudDrive_CultureOverride''' - Overrides the UI culture setting. When set, text will appear in a different language than your OS culture. Set to a culture string such as "de", "es", "fr", etc... This works with remote control as well. When connecting to a StableBit CloudDrive machine with an overridden culture, the UI on the connecting machine will be in the overridden culture.
* '''CloudDrive_ServiceLoggingEnabled''' - Enables normal service logging, such as remote control info, duplication and/or balancing errors, and other normal output.
+
* '''CloudDrive_ServiceLoggingEnabled''' - Enables normal service logging, such as remote control info, cloud provider I/O info, etc...
  
 
==== CloudFsDisk ====
 
==== CloudFsDisk ====

Revision as of 22:32, 17 May 2015

CloudDrive.Service.config

You can tweak advanced settings in Stablebit CloudDrive by editing a .config file in notepad.

The file is located in C:\Program Files\StableBit\CloudDrive\CloudDrive.Service.exe.default.config.

In order to put the file into effect, you will need to rename the .config file to CloudDrive.Service.exe.config and restart the StableBit CloudDrive system service (or reboot).

Any time you upgrade, or reinstall CloudDrive, it writes an updated "default" config file, but leaves the current "CloudDrive.Service.exe.config" alone so it doesn't alter any of your settings.

Editing the config file

Open the file in notepad. You will see an XML formatted file. If you're not familiar with XML then all that you need to know is that the values that you can change look like this:

<value>True</value>

You can change this line to:

<value>False</value>

The setting name is right above that line:

<setting name="CoveFsLogSizeMB" serializeAs="String">

In this case the name is CoveFsLogSizeMB.

There are also numerical values and time values.

Settings

Settings are organized by function.

CloudDrive

  • CloudDrive_CultureOverride - Overrides the UI culture setting. When set, text will appear in a different language than your OS culture. Set to a culture string such as "de", "es", "fr", etc... This works with remote control as well. When connecting to a StableBit CloudDrive machine with an overridden culture, the UI on the connecting machine will be in the overridden culture.
  • CloudDrive_ServiceLoggingEnabled - Enables normal service logging, such as remote control info, cloud provider I/O info, etc...

CloudFsDisk

  • CloudFs_LogSizeMB - The binary kernel log size. 100MB can be from a few minutes to 10 minutes worth of logs, depending on I/O activity. The kernel binary log records every operation on the cloud drive in a high performance and compact log file.
  • CloudFs_TracingFlushS - This sets flush to disk the interval. 0 will flush on every trace.
  • CloudDrive_PingHost - Sets the IP address of the host we use to verify that there is internet connection.
  • CloudDrive_WaitForInternetS - Sets the amount of time that we will wait for a response when checking for internet connectivity.

CacheTrim

  • CacheTrim_BlockSize -
  • CacheTrim_MaximumBlockCount -

PinDiskMetadata

  • PinDiskMetadata_IntervalM - This sets how often to check for file system metadata to pin to the local cache.

IoManager

  • IoManager_ReadThreads - Sets how many threads to use for asynchronous read tasks. These tasks are used throughout StableBit CloudDrive to parallelize various file system operations.
  • IoManager_WriteThreads - Sets how many threads to use for asynchronous write tasks. These tasks are used throughout StableBit CloudDrive to parallelize various file system operations.
  • IoManager_DefaultConnectionLimit - Sets the limit to how many connections that we can have open at one time.
  • IoManager_WriteRetries - How many times we will retry writing a block of data before an error is generated.
  • IoManager_HttpTimeoutMS - Sets the time out limit for requests to and from CloudProviders, so that we are not waiting forever for a response.
  • IoManager_UseHttpCompression - Enables HTTP Compression for the Cloud Providers that support it.
  • IoManager_ReadAbort - Sets the time out for read request failures.
  • IoManager_WriteAbort - Sets the time out for write request failures.

SettingsIoManager

  • SettingIoManager_ReadRetries - How many times we will retry a read a block of data before an error is generated.

DeleteCloudDrive

  • DeleteCloudDrive_Retries - Specifies the number of times we will retry deleting a CloudDrive before failing.

WholeChunkIoImplementation

  • WholeChunkIoImplementation_PartialWriteAggregationMS -

ValidateLoging

  • ValidateLoging_MaxDegreeOfParallelism -

RemoteControl

  • RemoteControl_Port - Specifies the port used by DrivePool for remote management.
  • RemoteControl_MulticastGroupIp - The multicast group IP to use for peer discovery.
  • RemoteControl_MulticastGroupPort - The multicast group port to use for peer discovery.
  • RemoteControl_MulticastTimeToLive - Controls the number of "hops" the remote control packets will travel before being dropped, to prevent the network from being flooded.
  • RemoteControl_StaticPeerSeekTime - How often to check whether an offline static peer has gone online.

LocalIo

  • LocalIo_ReleaseHandlesDelayMS - Sets the time out for when to release idle handles (Locks) on files.


Don't forget to rename the config file after you make the change and restart the server (or service), as noted at the top of this page.

RemoteControl.xml

Allows you to configure some of the settings for the Remote Control features of the CloudDrive User Interface.

The file is located in C:\Program Files\StableBit\CloudDrive\RemoteControl.default.xml on the server.

In order to put the file into effect, you will need to rename it to RemoteControl.xml and restart the server (or just restart the StableBit CloudDrive system service).

Any time you upgrade, or reinstall CloudDrive, it writes an updated RemoteControl.default.xml file, so it will include any updated settings but leaves the current RemoteControl.xml alone so it doesn't alter any of your settings.

MulticastDiscovery

This setting is configured to be "enabled" by default, so that the User Interface will automatically find clients. However, you can set the value to "False" and this will only list entries that you have manually added to the "Peer" list.

The setting should look like this:

<MulticastDiscovery Enabled="True" />

Peers

The Peers Section allows you to specify a list of computers that you want available, in cases such as a specific computer isn't picked up by the automatic discovery, or if you want to disable automatic discovery and manually list the computers available.

All clients must be running the same version of CloudDrive, and you must have any additional balancer Plugins installed as well.

Peer

You need to manually create an entry for each computer to be added. You can use the computer's host/DNS name, or the IP address, and you can specify a different port (if the service is configured for that, see Control above).


<Peer>192.168.0.123</Peer>
<Peer>STORAGESERVER</Peer>
<Peer>192.168.0.123:27515</Peer>
<Peer>STORAGESERVER:27515</Peer>


Don't forget to rename the config file after you make the change and restart the server (or service), as noted at the top of this page.