com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Stratos Manager Configuration

The following configuration files need to be updated in Stratos Manager (SM):

  1. Update the port offset of Stratos Manager (SM) in the carbon.xml file, which is found in the <SM_HOME>/repository/conf/ directory as follows:
    <offset>2</offset>
    The default offset value given to Stratos Manager (SM) in WSO2 Private PaaS is 2. The resulting Stratos Manager HTTPS port is 9445.
  2. Update the puppet-master-ip, cloud-controller-ip and cloud-controller-https-port, autoscaler-ip and  autoscaler-https-port  in the  cartridge-config.properties file, which is in the  <SM_HOME>/repository/conf/ directory as follows:

    puppet.ip=<puppet-master-ip>
    puppet.hostname=<puppet-master-hostname>
    puppet.environment=<puppet-environment>
    cloud.controller.service.url=https://<cloud-controller-ip>:<cloud-controller-https-port>/services/CloudControllerService/
    autoscaler.service.url=https://<autoscaler-ip>:<autoscaler-https-port>/services/AutoScalerService/
  3. Update the message-broker-ip and message-broker-port values in the jndi.properties file, which is in the <SM_HOME>/repository/conf/ directory. The default values are message-broker-ip=localhost and message-broker-port=61616.

    connectionfactoryName=TopicConnectionFactory
    java.naming.provider.url=tcp://[MB_IP]:[MB_Port]
    java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
  4. Create the following databases:
    • Create the Userstore database in the MySQL database server using userstore.sql database creation script, which is in the incubator-stratos/tools/stratos-installer/resources/ directory.
    • Create Stratos Foundation databases in the MySQL database server using the stratos_foundation.sql database creation script, which is in the incubator-stratos/tools/stratos-installer/resources/ directory.
  5. Update the userstore data source in the  master-datasources.xml file, which is in the <SM_HOME>/repository/conf/datasources/ directory.

    <datasource>
        <name>WSO2_CARBON_DB</name>
        <description>The datasource used for registry and user manager</description>
        <jndiConfig>
            <name>jdbc/WSO2CarbonDB</name>
        </jndiConfig>
        <definition type="RDBMS">
            <configuration>
                <url>jdbc:mysql://localhost:3306/userstore?autoReconnect=true</url>
                <username>root</username>
                <password>mysql</password>
                <driverClassName>com.mysql.jdbc.Driver</driverClassName>
                <maxActive>50</maxActive>
                <maxWait>60000</maxWait>
                <testOnBorrow>true</testOnBorrow>
                <validationQuery>SELECT 1</validationQuery>
                <validationInterval>30000</validationInterval>
            </configuration>
        </definition>
    </datasource>
  6. Copy the MySQL connector JAR to the <SM_HOME>/repository/components/lib/ directory.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.