Hello. This is Komiya. I will post the information I was taught by my colleague Yuo. [The story of the mysql5.6 replication specification change] In a certain environment, I worked on pouring the SQL that was fully dumped in mysql5.5 into 5.6, and then tried to replicate the diff data to 5.5→5.6, but there was a symptom that replication could not be done. After that, I used 'stop...
Hello. This is Komiya. If you are in a hurry, you can skip it. It was about half a year ago that Chef-Solo was deprecated (deprecated) and was known by the developer to use chef-zero (localmode). At that time, I tried to compare various things to see if I could do anything, but after a while, I finally decided to verify it. ...
Hello. This is Komiya. I felt like my seniors wanted it, so here is a note from the time of introducing gitlab. If you mess around, it will be long and the procedure will be complicated, and whether you can reproduce it as it is may depend on your environment, so we cannot guarantee it. The environment reproduced in this procedure was CentOS 6.5. If you can accept postgres, there is an omnibus version that can be automatically included, so I think it would be a good idea to use that. ...
Hello. This is Komiya. As I automate various things in Chef, I think there will be cases where I want to use values or variables that have been changed in the middle. There will come a time when you want to solve a strange phenomenon that does not become a power of power, such as the first time it doesn't work but the second time it works. In such a case, if you can get a price with ohai, you have to use it and make your own ohai plugin、...
Hello. This is Komiya. This time I will introduce you to Piculet and not update the rules with the group file. I want to organize or delete it a little, but it's too much to do by hand, I'm worried about operation misses, it's a hassle, and I want to go home quickly, so if I want to check which one is linked to it in bulk, or if I want to update it in bulk, it's a way to do it with a for loop and CLI. ...
Hello. This is Komiya. This is a continuation of the previous article. This time I'm going to write about git merges and tags and conflicts. Well, please watch warmly as it is when beginners get used to it. I don't talk about git-flow or branch models. Check where you are now ''' $ git branch -a add_custom_repository * master '''...
Hello. This is Komiya. Recently, there have been many requests for "recording execution commands" in security-related work. I think there are several ways to do this, but this time I would like to put the time in bash\_history and combine it into a single log. What I found convenient after doing this is that the log can be resolved with grep when reporting work time during maintenance. ...
Hello. This is Komiya. It's OPS, but I tried using Git ~ Part 1, so don't forget to take notes because I'm a beginner in GitHub, GitLab, and Git. This time, I'll just push it stutteringly. If you cut the branch, you will be full if you write it from the first time. Maybe up to number two. Part 2 is about branch, tag, and confrict. ・Background...
Hello. This is Komiya. One day, while I was revising the recipe for chef, a colleague said something like this. ''' "As soon as Mr. Okyaku clicked on the link of the phpmyadmin information_schema, the site became heavy and the disk space increased by tens of GB, and now it has gone down and calmed down. ```...
Hello. The title is long, but I don't know if there is demand because it has been successful for a long time, but I will record it. Please do it when you have time. The purpose is external ELB→nginx (SSL termination and client authentication) → internal ELB→app...
Hello. This is Komiya. I tried to avoid reboot by allowing resize2fs in the hvm in packer. I feel like I can do the same thing using cloud-init. Setting cloud-init on CentOS 6 (HVM) to play Amazon Linux | Developers.IO However, since I use a packer, it is easier to do it there. ...
Hello. This is Komiya. I need to explain data\_bags internally, so I will write it here as well. The following are the ways to use data\_bags these days: 1. Load OS user information for system applications that are not managed by LDAP and add them in recipes 2. Load from SSL certificate storage and recipe and set in template 3.ntp server information loading and configuring template...