To allow the Storage Server to create snapshots of databases in RSS instances, an authenticated connection has to be established between the Storage Server instance and the locations where the RSS instances are hosted. We will be using a keystore with a key pair for this purpose as follows:
Update the rss-config.xml file with the path to the private key and the pass phrase as shown below. Note that the path to the private key created in step 1 above should be specified as the <PrivateKeyPath> in this configuration.
<PrivateKeyConfiguration> <PrivateKeyPath>/data/private/my_keys/private.key</PrivateKeyPath> <PassPhrase>pass</PassPhrase> </PrivateKeyConfiguration>
Note that this configuration is common to all RSS instances in all the RSS environments in your system.
The public key of the keystore should be shared with the hosts of the RSS instances for the authentication to work.
Details of where the RSS instance is hosted should be specified as shown below. Note that the below example shows details of the default RSS instance in SS.
<SSHInformation> <Host>remotehost</Host> <Port>22</Port> <Username>username</Username> </SSHInformation> <SnapshotConfiguration> <TargetDirectory>/home/cloud/snapshots</TargetDirectory> </SnapshotConfiguration>
- <Host>:The IP or host name of the location where the database server instance is hosted.
- <Port>: The port ID.
- <Username>: The user name required to log in to the host.
- <TargetDirectory>: The location of the database server instance in the hosting machine.