A component is a grey-box showing relevant internal states and the actions that can be acted on the component to
change state during deployment. Each state activates provide and require ports representing resources that the component
provides and needs. Active require ports must be bound to active provide ports of other components.
As an example consider, for instance, the task of configuring a master–slave replication, typically used to scale a MySQL
deployment over two servers. The master node must be created, installed and configured, and put in running mode to start
serving external requests. To activate the slave, an initial dump of the data stored in the master is needed. Moreover, the
master has to authorize the slave. This is a circular dependency between master and slave, since the latter requires the
dump of the former that, on its turn, requires the IP address of the slave to grant its authorization. The Aeolus model for
the master and slave component is shown in Fig. 1 .
The master component has 6 states, an initial uninst state followed by inst and serving. In serving state, it activates the
provide port mysql. When replication is needed, in order to enter the final master serving state, it first traverses the state
auth that requires the IP address from the slave, and the state dump to provide the dump to the slave. The slave component
has instead 4 states, an initial uninst state and 3 states which complement those of the master during the replication process.
We now move to the formal definition of the Aeolus component model. It is based on the notion of component type, used
to specify the behavior of a particular kind of component. In the following, I denotes the set of port names and Z the set
of components.
A component is a grey-box showing relevant internal states and the actions that can be acted on the component tochange state during deployment. Each state activates provide and require ports representing resources that the componentprovides and needs. Active require ports must be bound to active provide ports of other components.As an example consider, for instance, the task of configuring a master–slave replication, typically used to scale a MySQLdeployment over two servers. The master node must be created, installed and configured, and put in running mode to startserving external requests. To activate the slave, an initial dump of the data stored in the master is needed. Moreover, themaster has to authorize the slave. This is a circular dependency between master and slave, since the latter requires thedump of the former that, on its turn, requires the IP address of the slave to grant its authorization. The Aeolus model forthe master and slave component is shown in Fig. 1 .The master component has 6 states, an initial uninst state followed by inst and serving. In serving state, it activates theprovide port mysql. When replication is needed, in order to enter the final master serving state, it first traverses the stateauth that requires the IP address from the slave, and the state dump to provide the dump to the slave. The slave componenthas instead 4 states, an initial uninst state and 3 states which complement those of the master during the replication process.เราตอนนี้ย้ายไปที่ข้อกำหนดของแบบคอมโพเนนต์ Aeolus มันขึ้นอยู่กับแนวคิดของคอมโพเนนต์ชนิด ใช้เพื่อระบุลักษณะการทำงานของส่วนประกอบชนิดใด ในต่อไปนี้ ฉันหมายถึงชุดของชื่อพอร์ตและ Z ชุดคอมโพเนนต์
การแปล กรุณารอสักครู่..