게시물 32건
   
[스틸아이] lkpolicy 사용법
글쓴이 : theko 날짜 : 2019-08-19 (월) 17:51 조회 : 12

# lkpolicy --get-policies LocalRecovery

[기본설정]
For temporal policies this should also include the threshold values
like: recoverylimit=5 period=5, that is, five failures in five minutes

[설정시]
# lkpolicy --set-policy TemporalRecovery --on recoverylimit=5 period=15
# lkpolicy --set-policy TemporalRecovery --on --force recoverylimit=5 period=10





EXAMPLES
       listing policies
                lkpolicy --list-policy-types

       showing current policies
                lkpolicy --get-policies
                lkpolicy --get-policies tag=\*
                lkpolicy --get-policies tag=mysql\*     # all resources starting with mysql
                lkpolicy --get-policies --verbose tag=mytagonly

       setting policies
                lkpolicy --set-policy Failover --off
                lkpolicy --set-policy Failover --on tag=myresource
                lkpolicy --set-policy Failover --on tag=\*
                lkpolicy --set-policy LocalRecovery --off tag=myresource
                lkpolicy --set-policy NotificationOnly --on
                lkpolicy --set-policy TemporalRecovery --on recoverylimit=5 period=15
                lkpolicy --set-policy TemporalRecovery --on --force recoverylimit=5 period=10

       removing policies
                lkpolicy --remove-policy Failover tag=steve


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com