Versions Compared

Key

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

...

Localtab Group
Localtab
activetrue
titleWindows/Linux/Mac OS

Follow the steps given below:

  1. Open a command prompt by following the instructions below:
    • On Windows: Click Start > Run, type cmd at the prompt, and then press Enter.
    • On Linux/Mac OS: Establish an SSH connection to the server, log on to the text Linux console, or open a terminal window.
  2. Navigate to the <IoTS_HOME>/bin directory using the Command Prompt to start the WSO2 IoTS core, broker and analytics profiles all at ones.

  3. Start the profiles in the following order:
    1. Start the broker profile, which corresponds to the WSO2 Message Broker profile.

      Localtab Group
      Localtab
      activetrue
      titleWindows
      Code Block
      cd <IoTS_HOME>\broker\bin
      .\wso2server.bat



      Localtab
      activetrue
      titleLinux/Mac OS
      Code Block
      cd <IoTS_HOME>/broker/bin
      ./wso2server.sh

      The default port assigned for the broker is 9446.

    2. Start the core profile, which corresponds to the WSO2 Connected Device Management Framework (WSO2 CDMF) profile.

      Localtab Group
      Localtab
      activetrue
      titleWindows
      Code Block
      cd <IoTS_HOME>\core\bin
      .\wso2server.bat -Diot.analytics.host="localhost" -Diot.analytics.https.port="9445" -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280"



      Localtab
      activetrue
      titleLinux/Mac OS
      Code Block
      cd <IoTS_HOME>/core/bin
      ./wso2server.sh

      The default port assigned for the core is 9443. 

    3. Start the analytics profile, which corresponds to the WSO2 Data Analytics Server profile.

      Localtab Group
      Localtab
      activetrue
      titleWindows
      Code Block
      cd <IoTS_HOME>\analytics\bin
      .\wso2server.bat



      Localtab
      activetrue
      titleLinux/Mac OS
      Code Block
      cd <IoTS_HOME>/analytics/bin
      ./wso2server.sh

      The default port assigned for analytics is 9445.

    The operation log appears in the command window. When the product server has successfully started, the log displays the message WSO2 Carbon started in 'n' seconds

Localtab
titleSolaris

Follow the steps given below:

Note

Following instructions are tested on an Oracle Solaris 10 8/11 x86 environment.

  1. Anchor
    instructions
    instructions
    Click Launch > Run Applications, type dtterm at the Prompt, and then press Enter, to open a Command Prompt.
  2. Navigate to the <IoTS_HOME>/bin directory using the Command Prompt.
  3. Start the profiles in the following order:
    1. Start the broker profile, which corresponds to the WSO2 Message Broker profile.

      Code Block
      cd <IoTS_HOME>/broker/bin
      ./wso2server.sh

      The default port assigned for the broker is 9446.

    2. Start the core profile, which corresponds to the WSO2 Carbon Device Management Framework (CDMF) profile.

      Code Block
      cd <IoTS_HOME>/core/bin
      ./wso2server.sh

      The default port assigned for the core is 9443. 

    3. Start the analytics profile, which corresponds to the WSO2 Data Analytics Server profile.

      Code Block
      cd <IoTS_HOME>/analytics/bin
      ./wso2server.sh

      The default port assigned for analytics is 9445.

  4. The operation log appears in the command window. When the product server has successfully started, the log displays the message WSO2 Carbon started in 'n' seconds.

Info
You need to do the following modification to the <IoTS_HOME>/bin/wso2server.sh file, to start the product as a service/nohup mode in Solaris.
  1. Open the respective wso2server.sh file.
    For example, for the core profile open the <IoTS_HOME>/core/bin/wso2server.sh file in a text editor.
  2. Search for the following occurrences: nohup sh "$CARBON_HOME"/bin/wso2server.sh $args > /dev/null 2>&1 &
  3. Replace those occurrences with the following:  nohup bash "$CARBON_HOME"/bin/wso2server.sh $args > /dev/null 2>&1 &

    Tip

    The only change is replacing sh with bash. This is required only for Solaris.

  4. Start the product by following the above instructions.

...