No Image

termination protection on instances and instance protection on auto scaling

2016-05-30 KENNETH 0

  인스턴스 리스트에서 존재하는 인스턴스에 대한 termination 방지 auto scaling server 에서 (기본) 생성된 인스턴스에 대한 termination 방지   두가지는 각각 차이가 있음..   termination protection on instances 인스턴스 리스트에서 ”protection”상태의 인스턴스를 삭제 처리 하려고 하면…   Warning On an EBS-backed instance, the default action is for the root EBS volume to be deleted when the instance is terminated. Storage on any local drives will be lost.   메세지를 출력 하면서 삭제 되지 않음   instance protection on auto scaling service ”Set Scale in Protection” 상태가 아닌 인스턴스는.. auto scale 정책에 의해 삭제가 되어야 하는 순간에 ”termination protection on instances” 설정 상태와 상관없이 바로 삭제(termination)되어 버림!!! auto scailing 구성의 기준이 되는 인스턴스는 반드시 ”Set Scale in Protection” 상태로 만들어 줘야함… 물론 auto scaling service 구성을 위해서는 기준이 되는 인스턴스에 대한 ”image”를 생성 및 설정 해야만 하므로 위험성이 약간 줄어들기는 하나.. 깜빡 [ more… ]

No Image

인터넷으로 서비스를 제공하기 위해 챙겨야 할 실용적인 보안 가이드

2016-05-24 KENNETH 0

인터넷으로 서비스를 제공하기 위해 챙겨야 할 실용적인 보안 가이드   모처럼 소개할 만한 사이트를 찾음.. URL : https://www.gitbook.com/book/lesstif/web-service-hardening/details ebook : https://lesstif.gitbooks.io/web-service-hardening/content/     엔지니어 분들이라면 아시겠지만… 이분이 전자책으로 엮어놓은 내용 처럼 편집하는 것 자체가 쉽지 않다. 기술적인 내용이야 알고 있다 치더라도.. 그걸 또 저렇게 담아 내는것은 다른 이야기니… 가서 참고 합시다…

No Image

Optimizing NFS Performance

2016-05-23 KENNETH 0

origin : http://nfs.sourceforge.net/nfs-howto/ar01s05.html 5. Optimizing NFS Performance Careful analysis of your environment, both from the client and from the server point of view, is the first step necessary for optimal NFS performance. The first sections will address issues that are generally important to the client. Later (Section 5.3 and beyond), server side issues will be discussed. In both cases, these issues will not be limited exclusively to one side or the other, but it is useful to separate the two in order to get a clearer picture of cause and effect. Aside from the general network configuration – appropriate network capacity, faster NICs, full duplex settings in order to reduce collisions, agreement in network speed among the switches and hubs, etc. – one of the most important client optimization settings are the NFS data transfer buffer sizes, specified by the mount command [ more… ]

No Image

Apache Benchmark apr_socket_recv error when performing a load test

2016-05-23 KENNETH 0

origin : http://blog.scene.ro/posts/apache-benchmark-apr_socket_recv/ Problem Apache Benchmark breaks with apr_socket_recv: Connection reset by peer (104) when performing a load test. This is even more annoying since we do not get results for the requests performed before this one. Context linux host, Ubuntu 14.04, 3.11.0-17-generic kernel performing a load test against a jekyll serve ran on localhost using ab v2.3 for the load test both jekyll and ab are being ran on the same machine Sample Output benny@alpha:~$ ab -c 50 -n 1000 http://localhost:8080/ This is ApacheBench, Version 2.3 <$Revision: 1528965 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests apr_socket_recv: Connection reset by peer [ more… ]

No Image

config static port for nfsd on centos7

2016-05-21 KENNETH 0

config static port for nfsd on centos7 출처 : https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/nfs-serverconfig.html#s2-nfs-nfs-firewall-config 설정파일 :  /etc/sysconfig/nfs RPCMOUNTDOPTS=”-p 4002″ 와 MOUNTD_PORT=4002 옵션은 동일함   재시작   실행 후 포트 상태 확인