nsapaint.blogg.se

Filezilla command line one instance
Filezilla command line one instance





filezilla command line one instance

Login to compute node, verify the parameter value ~]# grep -i resize /etc/nova/nf In case if you have only one compute node then nova resize will not work, but we can make it work by changing the below parameter in nf file on compute node,

filezilla command line one instance

This is the default behavior of “nova resize” command ( i.e nova resize command will migrate the instance to another compute & then resize it based on the flavor details) If have noticed “ openstack server show” commands output, VM is migrated from compute-57 to compute-58 after resize.

filezilla command line one instance

So we will be using the flavor “m1.medium” for resize operation, Run the beneath nova command to resize “test_resize_vm”, | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public | Get the available flavor list using below command, :~# openstack flavor list ~]# echo "test file for resize operation" > demofile Tmpfs tmpfs 920M 0 920M 0% /sys/fs/cgroup Login to VM as well and check the root partition size, ~]# df -Thįilesystem Type Size Used Avail Use% Mounted on | OS-EXT-SRV-ATTR:hypervisor_hostname | compute-57 | Let’s assume I have an existing instance named “ test_resize_vm” and it’s associated flavor is “m1.small” and root partition disk size is 20 GB.Įxecute the below command from controller node to check on which compute host our vm “test_resize_vm” is provisioned and its flavor details :~# openstack server show test_resize_vm | grep -E "flavor|hypervisor" In this tutorial I will demonstrate how to resize an openstack instance from command line. Read More on : How to Create and Delete Virtual Machine(VM) from Command line in OpenStack Note: Once you extend the instance resources like RAM, CPU and disk using resize option in openstack then you can’t reduce it.







Filezilla command line one instance