본문 바로가기

분류 전체보기116

Spring 4.3 Redis Sentinel Pubsub 설정 1. Spring redis 연동 설정은 아래 참고http://sooin01.tistory.com/entry/Spring-4-Redis-Sentinel-%EC%97%B0%EB%8F%99 2. Spring redis pubsub xml 설정 3. 사용자 정의 클래스(메시지 리스너)package aaa.bbb.cccr; import java.io.UnsupportedEncodingException; import org.springframework.data.redis.connection.Message;import org.springframework.data.redis.connection.MessageListener; public class RedisMessageListener implements Message.. 2018. 6. 16.
Spring 4.3 Redis Sentinel 연동 1. 주요 라이브러리 버전org.springframeworkspring-context4.3.12.RELEASEcommons-loggingcommons-logging org.springframeworkspring-context-support4.3.12.RELEASEorg.springframeworkspring-webmvc4.3.12.RELEASEorg.springframeworkspring-test4.3.12.RELEASEorg.springframework.dataspring-data-redis1.8.8.RELEASEredis.clientsjedis2.9.0com.fasterxml.jackson.corejackson-databind2.9.2 2. Redis server 3.2.10 설치 및 redis와 s.. 2018. 6. 16.
Eclipse oxygen 붙여넣기 할 때 자동 escape 켜기/끄기 이클립스 Oxygen 버전에서 추가된 기능 중에 붙여넣기 할 때 문자는 자동으로 escape 해주는 기능이 활성화 되어있다. 예를 들어 "홍길동" 붙여넣기 시 \"홍길동\"으로 붙게 된다. 이 기능을 끄는 방법에 대해 알아보겠다. 이클립스 상단 메뉴 중에서 Window -> Preferences 선택하면 팝업이 뜨는데 아래 그림과 같이 Esacpe text when pasting into a string literal 체크박스를 해제 해주면 된다. 끝. 2017. 11. 5.
Notepad++ Plugin Manager 설치 notepad++ 프로그램을 설치하고 나면상단 메뉴에 플러그인 -> Plugin Manager 메뉴가 없다. 그래서 수동으로 설치해줘야 한다.아래 링크로 가서https://github.com/bruderstein/nppPluginManager/releases32비트 일 경우PluginManager_v1.4.9_UNI.zip 다운받아서C:\Program Files (x86)\Notepad++ 경로에 plugins 폴더와 updater 폴더를 복사해주고notepad++ 프로그램을 재실행하면 Plugin Manager 메뉴가 나온다. 2017. 10. 22.
Spring 4 Atomikos 설정 Spring Framework 4.3.11 기준으로 Atomikos 4.0.4 설정 방법을 알아보겠다. Atomikos와 관련있는 Spring 설정만 알아본다. Atomikos 홈페이지는 아래 링크이다. https://www.atomikos.com 유료 버전과 무료 버전이 존재하는데 차이점은 하위 버전과 기술지원을 받을 수 있는 차이가 있는 것 같다. 자세한 건 홈페이지에서 확인하기 바란다. 아래 예제의 패키지명 등 각 설정값들은 임의로 넣음 트랜잭션 방식은 @Transactional 어노테이션을 사용 메이븐 pom.xml org.mybatis mybatis 3.4.5 org.mybatis mybatis-spring 1.3.1 org.mariadb.jdbc mariadb-java-client 1.6.5 .. 2017. 10. 14.
OpenStack Newton live migration 오픈스택 뉴턴 기준 라이브 마이그레이션 설정 방법 1. Block 라이브 마이그레이션모든 compute node에 설정아래 파일 열기# vi /etc/libvirt/libvirtd.conf 아래 이름 부분 찾아내어 주석 해제 또는 내용 변경listen_tls = 0listen_tcp = 1 auth_tcp = "none" 아래 파일 열기vim /etc/sysconfig/libvirtd 아래 이름 부분 찾아내어 주석 해제LIBVIRTD_ARGS="--listen" 서비스 재시작# systemctl restart libvirtd.service 모든 compute node에 16509가 바인딩 됨 2. Shared storage 라이브 마이그레이션작성 예정... 3. Volume 라이브 마이그레이션작성 예정... 2017. 9. 24.