magento-cluster | Highly Available and Auto-scalable Magento Cluster | Continuous Deployment library
kandi X-RAY | magento-cluster Summary
kandi X-RAY | magento-cluster Summary
Magento, PHP based eCommerce platform, is packaged as an advanced highly reliable and auto-scalable cluster on top of certified Jelastic dockerized stack templates with the following topology:. More details can be found at the article Running Auto-Scalable Magento Platform in Containers.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of magento-cluster
magento-cluster Key Features
magento-cluster Examples and Code Snippets
Community Discussions
Trending Discussions on magento-cluster
QUESTION
The jelastic api environment.Trigger.AddTrigger takes "data" as parameter, but i cannot find what are all the different possible variables that i can use. Jelastic API docs just says "data : string , information about trigger". Is this "data" documented on somewhere else?
There are some JPS javascript/java examples that i have found, that are pointing me to the right direction, but more information would be nice to have.
https://github.com/jelastic-jps/magento-cluster/blob/master/scripts/addTriggers.js
https://docs.cloudscripting.com/0.99/examples/horizontal-scaling/
...ANSWER
Answered 2017-Nov-20 at 07:26The environment.Trigger.AddTrigger method requires a set of the parameters:
- name - name of a notification trigger
- nodeGroup - target node group (you can apply trigger to any node group within the chosen environment)
- period - load period for nodes
- condition - rules for monitoring resources
- type - comparison sign, the available values are GREATER and LESS
- value - percentage of a resource that is monitored
- resourceType - types of resources that are monitored by a trigger, namely CPU, Memory (RAM), Network, Disk I/O, and Disk IOPS
- valueType - measurement value. Here, PERCENTAGES is the only possible measurement value. The available range is from 0 up to 100.
- actions - object to describe a trigger action
- type - trigger action, the available values are NOTIFY, ADD_NODE, and REMOVE_NODE
- customData:
- notify - alert notification sent to a user via email
The following code shows how a new trigger can be created:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install magento-cluster
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page