¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
flavor resize (»ç¾çº¯°æ/Çϵå¿þ¾î ½ºÆ庯°æ)
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-10-14 (¼ö) 15:09 Á¶È¸ : 5001
                                
:: Å×½ºÆ®¸¦ Çϱâ À§ÇØ ´ÜÀÏÈ£½ºÆ®(ComputeNode) ¿¡¼­ ÁøÇàÇÒ¶§
Description of common configuration options
# vim /etc/nova/nova.conf
allow_resize_to_same_host = True

(BoolOpt) Allow destination machine to match source for resize. Useful when testing in single-host environments.


:: ÀνºÅϽº ÇöÀç »ç¾çüũ
# cat /proc/cpuinfo |grep proce
processor : 0

# free -m
             total       used       free     shared    buffers     cached
Mem:           996        123        872          0          5         34
-/+ buffers/cache:         83        912
Swap:            0          0          0


:: 1CPU ¿¡¼­ 2CPU / 1G RAM ¿¡¼­ 2G RAMÀ¸·Î Flavor º¯°æ
root@controller:~# nova flavor-list


usage: nova resize [--poll] <server> <flavor>
root@controller:~# nova resize test_vm1 919a79cf-6013-4108-904c-3630a9e1f199 --poll 
Server resizing... 100% complete
Finished

:: resize-confirm Status °ª º¯°æ (VERIFY_RESIZE -> ACTIVE)
usage: nova resize-confirm <server>
root@controller:~# nova resize-confirm test_vm1


:: ÀνºÅϽº º¯°æµÈ »ç¾ç È®ÀÎ
# cat /proc/cpuinfo  |grep processor
processor : 0
processor : 1

# free -m
             total       used       free     shared    buffers     cached
Mem:          1877        134       1742          0          5         34
-/+ buffers/cache:         94       1782
Swap:            0          0          0


Flavor migrating Status, Task State º¯È­
# nova resize <server> <flavor>
| RESIZE  | resize_prep | Running   
| RESIZE  | resize_migrating | Running  
| RESIZE  | resize_finished | Running  

Server resizing complete  (Rebooting)
| VERIFY_RESIZE | -             | Running

# nova resize-confirm <server>
| ACTIVE  | -          | Running  


»ç¾çº¯°æ ·Î±× (resize action-list)
# nova instance-action-list <server>


Âü°í)

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.