詳細検索
Avatar

komi

Responding to failures that do not stop while stopping in AWS maintenance

Responding to failures that do not stop while stopping in AWS maintenance

Hello. This is Komiya. As the title suggests, there is a disability, and I would like to record it for the future. When I stopped the instance where the AWS maintenance notification came, it ended up being stopped for just over 6 hours. This instance was not built by myself, and the construction notes remained but were not maintained, making it difficult to grasp the situation. ...

Changing Private IP addresses in a VPC

Changing Private IP addresses in a VPC

Hello. This is Komiya. A while ago, there was a demand to move VIP (Virtual IP address) on the AWS VPC, so I verified it, but I was just taking notes personally and I had several opportunities to ask questions, so I will post it briefly. When handling a cluster configuration on a VPC, it is necessary to change the PrivateIP address in the VPC、...

What to do when a Duplicate entry error appears in a MySQL slave

What to do when a Duplicate entry error appears in a MySQL slave

Hello. This is Komiya. This is a record of the error that came out earlier. • Error log ''' >show slave status\G Last_Error: Error 'Duplicate entry '1133523-2013-08-18 05:03:01' for key 'PRIMARY'' on query. Default database: '*****'. Query: 'INSERT...

Test recipes written in Chef (serverspec)

Test recipes written in Chef (serverspec)

Hello. This is Komiya. This is the last time. Here are some places to test the recipes I introduced last time. Serverspec. I wrote in the link below why Serverspec is good, but I think the following points are good. ・It's not a Chef test tool, it's an external tool, so there are no dependencies (you can also use puppet)...

Write recipes for existing steps in Chef5 (munin, zabbix)

Write recipes for existing steps in Chef5 (munin, zabbix)

Thank you. This is Komiya. Continuing from the previous article, we will introduce the recipe for the procedure of munin, zabbix. That's all for this article. At the end of the article we will describe how to apply the recipe. ・Munin's recipe ''' filename = "munin-node-rpm.tar" cookbook_file "/tmp/#{filename}" do source "rpms/#{filename}"...

Writing Recipes for Existing Procedures in Chef 4 (DB Server)

Writing Recipes for Existing Procedures in Chef 4 (DB Server)

Thank you. This is Komiya. Continuing from the previous article, I will write about dbserver recipes. The only thing I have to do is test with munin, zabbx and serverspec. It's a little patience already. Since it is a fixed version installation like the web, external recipes should not be used in the direction of basically using it ・Install mysql and enable startup and auto-start \[shell\]# cd...

Write a recipe for an existing procedure in Chef 3 (WEB server)

Write a recipe for an existing procedure in Chef 3 (WEB server)

Hello. This is Komiya from the platform. Continuing from last time, we will continue to make recipes for existing procedures. I think there will be about three more times, so please be patient. This time it will be a recipe for a web server. I don't do anything special and I think it's a normal web server, but I'll write down what I'm doing、...

Writing a recipe for an existing procedure in Chef 2 (user-created)

Writing a recipe for an existing procedure in Chef 2 (user-created)

Hello. This is Komiya from the platform. Continuing from the previous article, I apologize for the Chef article. data\_bags to prepare user management. For the time being, I wrote here before, but I think it would be better if the relevant information was gathered, so I will partially repost it. data\_bags is something that can be managed such as data search with LDAP-like functions. ...

Write a recipe for an existing procedure in Chef1 (default)

Write a recipe for an existing procedure in Chef1 (default)

Hello. This is Komiya from the platform. Last time, I wrote about environmental definitions such as role and data\_bags before writing recipes in Chef. This time, I would like to write about it calmly and soberly as a recipe for existing procedures. Note: When using script resources, be sure to write not\_if or only\_if (so that it is not executed multiple times)...

About the environment before writing recipes in Chef-Solo (Vagrantfile, role, node, data_bags)

About the environment before writing recipes in Chef-Solo (Vagrantfile, role, node, data_bags)

Hello. This is Komiya. Before I knew it, the first half of the year was over. It seems that Uji Kintoki has become a delicious season. Anyway, this is a continuation of the previous article. In this article, I will write about the definition of the environment before writing the Chef-Solo recipe. I think it's faster to take a look at Chef, which explains Chef terminology lightly, or to watch the standard introductory Chef Solo. Automated...

Installing Chef-Solo and Vagrant (VPC Environment)

Installing Chef-Solo and Vagrant (VPC Environment)

Hello. This is Komiya from the platform. Chef is popular these days. That's why I'm going to write an article that lets me ride this wave and try it according to the product environment. I would like to get to Serverspec quickly, but this time I will only introduce the article and the recipe will be next time. It's at the level of trying it out, so I have a feeling that it will be a recipe worth refactoring. ...

Sending emails using Amazon eSES (SMTP relay)

Sending emails using Amazon eSES (SMTP relay)

Hello. This is Komiya from the platform. A while ago, I used AmazoneSES to set up email sending via SMTP relay, so I would like to publish the record. *Try SMTP relay instead of SDK. (Because to use the SDK, you need to use ruby in the server.) Apply ★for SES...