1 tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
2 description: MySQL RDBMS installation on a specific mounted volume path.
3 template_name: mysql-type
4 template_version: 1.1.1-SNAPSHOT
5 template_author: FastConnect
8 - "tosca-normative-types:1.0.0.wd03-SNAPSHOT"
12 derived_from: tosca.nodes.Database
14 A node to install MySQL v5.5 database with data
15 on a specific attached volume.
18 type: alien.capabilities.MysqlDatabase
20 valid_node_types: [ tosca.nodes.WebApplication ]
22 - host: tosca.nodes.Compute
23 type: tosca.relationships.HostedOn
25 icon: /images/mysql.png
30 description: The port on which the underlying database service will listen to data.
35 description: The logical name of the database.
39 description: The special user account used for database administration.
43 description: The password associated with the user account provided in the
\91db_user
\92 property.
48 description: If true,the server accepts TCP/IP connections on all server host IPv4 interfaces.
51 default: /mountedStorage
53 - valid_values: [ "/mountedStorage", "/var/mysql" ]
56 create: scripts/install_mysql.sh
59 VOLUME_HOME: { get_property: [SELF, storage_path] }
60 PORT: { get_property: [SELF, db_port] }
61 DB_NAME: { get_property: [SELF, db_name] }
62 DB_USER: { get_property: [SELF, db_user] }
63 DB_PASSWORD: { get_property: [SELF, db_password] }
64 BIND_ADRESS: { get_property: [SELF, bind_address] }
65 implementation: scripts/start_mysql.sh
66 fastconnect.cloudify.extensions:
69 PORT: { get_property: [SELF, db_port] }
70 implementation: scripts/mysql_start_detection.groovy
73 type: tosca.artifacts.File
76 alien.capabilities.MysqlDatabase:
77 derived_from: tosca.capabilities.Container
80 tosca.artifacts.GroovyScript:
81 description: A groovy script (.groovy file)