- Generate cookbook with
chef generate cookbook
command - Specify dependencies in metadata.rb
- Set-Up MySQL server 5.5. Use CentOS 6.9 platform.
- Create MySQL database
app_prod
. Create MySQL userprod_user
. Grant all privileges toprod_user
onapp_prod
- Create MySQL database
app_stage
. Create MySQL userstage_user
. Grant all privileges tostage_user
onapp_stage
Db. Grant select privilege tostage_user
onapp_prod
. - Create schemas on
app_prod
,app_stage
using sample schema sample_schema.sql - Create backup folder :
'/opt/backups'
- Create daily cronjob with backup of each DB.
- Tune
innod_db_buffer_pool_size
to be1024Mb
. Keep as string parameter ( cookbook attribute )
-
Notifications
You must be signed in to change notification settings - Fork 1
olebel/gl_mysql
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published