°Ô½Ã¹° 32°Ç
   
[½ºÆ¿¾ÆÀÌ] lkpolicy »ç¿ë¹ý
±Û¾´ÀÌ : theko ³¯Â¥ : 2019-08-19 (¿ù) 17:51 Á¶È¸ : 2381

# 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