Search code examples
openstackwso2-stratos

Configure cloud-controller.xml in Stratos


I have configure the cloud-controller.xml file before I start the stratos server in order to support OpenStack. The order of file given to me was stratos-server/repository/conf/cloud-controller.xml.

But, there is no folder called stratos-server, but there are about 12 files in different folders. Can anyone help me to figure out which file I have to configure and how?


Solution

  • I'm assuming you're using Apache Stratos 4.0.0, which earlier was WSO2 Stratos.

    If you're using stratos-installer[1], then you only need to provide the OpenStack details in INSTALL_DIR/stratos-installer/conf/setup.conf file. The installer will configure cloud-controller.xml along with the other files using the information given in the setup.conf file.

    However, if you're just extracting the Stratos zip file and configuring the files, the the cloud-controller.xml is in EXTRACTED_LOCATION/repository/conf/ folder.

    [1] - https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Automated+Product+Configuration