Use > Create Designs > Topology Designs > Automatically create topology designs

Generate topology designs

Instead of manually creating a design from scratch by assembling components and creating OO flows, you can generate a topology design complete with all the components, OO flow, and package which is ready to deploy, using the Generate feature. This feature is only available for topology designs.

Roles

Only architect and admin users can generate designs.

Supported platforms

Codar supports generation of topology designs on machines with the following flavors of Unix and Microsoft SQL.

Unix: Both single-tier and two-tier designs supported with the following flavors:

  • RHEL (7.x)
  • Ubuntu (12.04 and 14.04)

Microsoft SQL: Only single-tier designs supported.

  • Windows 2008 (64-bit machine)
  • Windows server 2012 (64-bit machine)

For machines with Windows server 2012, the following configuration is necessary for auto generation:

  1. Open Run prompt and enter 'gpedit.msc'.
  2. Press Enter.
  3. Navigate to Computer Configuration>Windows Settings>Security Setting>Network List Manager Policies.
  4. Choose your network name in the right pane.
  5. Go to Network Location tab and change the Location type from Public to Private.

To generate a topology design

  1. From the Codar dashboard, go to Designs > Topology > Designer.
  2. In the All Designs page, click the gear icon in the right pane and select Generate Design.
  3. In the Generate Design dialog, specify the following details in the General tab:
Field Description
Display Name Name of the design you are generating.
Description Description of the design you are generating.
Version Design version. Example: 1.0
Options Application tier type.
  1. Click Next and specify the following details in the Infrastructure tab.
Field Description
IP Address IP address of the machine on which Codar is hosted.
Username User name to access Codar.
Password Codar password.
Private Key Private key to access the machine (for Linux machines).
  1. Click Next and specify the following details in the Web Application tab. Based on the application tier type selected, the following fields appear:
Application Tier Type Field Description
Single Tier J2EE Application on Linux

Application War Location

 

Tomcat Binary Location

Location of the .war file. For local machines, specify the location of the machine on which Codar has been installed.

Location of the Tomcat binary file.

Note If you leave this field blank, by default, Codar will install Tomcat via Linux packages. You can override it, if required.

Single Tier IIS Application on Windows

Application Location

Application Name

Location of the application.

Name of the application.

Two Tier J2EE Application on Linux

Application War Location

Tomcat Binary Location

MySQL Script Location

Same as above.

Same as above.

Location of MySQL script.

By default, MySQL will be installed with following credentials:

  • User name: root
  • Password: 2the#Moon

You must change the password later either manually or by running a script.

  1. Click Finish.

Sample web application

You can download a sample web application from the following location: https://tomcat.apache.org/tomcat-8.0-doc/appdev/sample/.

Save the downloaded .war file and specify this location in the Application War Location field.