Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The first step of consuming WSO2 RSS is to create a database for your application in the RSS storage space. RSS provides facility to create databases, tables and store and manage data related to applications running on a particular domain through the management console.  

Database server instances

Before adding a database, you must create a database server instance. A database server instance acts as a data store for the applications running under a tenant domain.  By default, you have a server instance by the name WSO2 RSS but individual tenants can also define their own. RSS uses round robin algorithm to select the next database server instance from the list when creating databases. 

To create a server instance using the management console UI, see Database Server Instance. You can also create server instances directly in <PRODUCT_HOME>/repository/conf/etc/rss-config.xml file too. For instructions, see Changing the Default RSS Configuration.

Follow the steps below to create a database.

  1. Log in to the management console and select Databases under RSS Manager.
    Image Modified
  2.  Click Click the Add Database link and fill in the database information. 
  3.  The newly-created database appears in the Databases window. For example,
    Image Removed

    Image Added
    Database URL value allows you to point to the database from applications.
    Manage link allows you to

Next step is to create users for the database. See Creating Database Users.