Skip to content
Snippets Groups Projects
Commit 819a7b27 authored by Alessandro Costantini's avatar Alessandro Costantini
Browse files

Update README.md

parent adc8d749
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,64 @@ Including an example of how to use your role (for instance, with variables passe
roles:
- { role: slat, x: 42 }
Populate SLAT
-------
#Insert new SLA
Once deployed, slat won't contain any sla, so one thing to do is to insert it manually from the GUI.
1. Log into the sla portal of your paas https://<PAAS_URL>:8443 with your IAM credentials
2. Select the SLAs tab in the upper menu of the page, and click in the right button (+ NEW SLA)
3. In order to complete the creation of a new SLA, you have to specify:
- Service: you can only choose from the services provided from the cmdb (to see which ones are available you can see the "Provider" section in the SLAT upper menu)
- Customer Group: the IAM group that allow to deploy in the choosen service (you must be part of that group to define a SLA for it).
- Effective from: starting date of validity.
- Expiration Date: date of expiration of the sla.
- Allocated resources: in this subsection you have to establish the maximum number of resources (VM , vCPUs, RAM, Public IPs, Storage) available for the sla, the PaaS will allow deployments until the total sum of the active deployments resources exceded the number agreed in the SLA.
When you filled all fields click the SEND button below to confirm the creation.
4. If all goes as expected, a green banner on top of the SLAs Page appears.
# Import SLAs from external slat
1. From the old slat db run the following command:
```
mysqldump -u root -p***** --single-transaction -quick --no-create-info slat > DB.sql
```
2. If the new slat db already contains some entries you should add the keyword IGNORE after every INSERT in the DB.sql file.
Example:
```
INSERT INTO `group` VALUES (...)
```
Become:
```
INSERT IGNORE INTO `group` VALUES (...)
```
3. Copy the entire file DB.sql in the new slat container and import it with the dual-command:
```
mysql -u root -p***** slat < DB.sql
```
4. Now you should see all entries in the SLAT gui.
License
-------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment