Defining regular expressions for identifying tiers based on VM names

For
Operations Director
to determine tiers based on virtual machine names, you can define regular expressions in the od.properties file. Apart from the default values, you can define a regular expression and then name your virtual machine in that format.
  1. To define regular expressions
  2. On the
    Operations Director
    appliance, edit the /usr/local/Symantec/so/config/od.properties file.
  3. In this file, look for the following default values:
    od.tiergeneration.webtierregularexpressions=.*_WEB
    od.tiergeneration.apptierregularexpressions=.*_APP
    od.tiergeneration.dbtierregularexpressions=.*_DB
  4. Update the values in the previous step with the virtual machine name.
    The virtual machine name that you update in these entries must satisfy this format. A valid regular expression is supported.
  5. Restart the security orchestration services.
    You must restart the security orchestration services by restarting the Apache Tomcat Web server for the changes to take effect. To do this, run the following commands from the appliance:
    sh /opt/apache-tomcat-7.0.62/bin/shutdown.sh
    sh /opt/apache-tomcat-7.0.62/bin/startup.sh
    This reloads the od.properties file.