You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3077c99
Browse filesBrowse the repository at this point in the historyBrowse files
<phrase>ChangeServiceButton.png: button to change the service of a
48
-
VM</phrase>
49
-
</textobject>
50
-
</inlinemediaobject></para>
51
-
<para>The Change service dialog box is displayed.</para></listitem>
52
-
<listitem><para>Select the offering you want to apply to the selected VM.</para></listitem>
53
-
<listitem><para>Click OK.</para></listitem>
54
-
</orderedlist>
55
-
<sectionid="change-cpu-ram-for-vm">
56
-
<!-- CS-17394 -->
57
-
<title>CPU and Memory Scaling for Running VMs</title>
58
-
<para>(Supported on VMware and XenServer)</para>
59
-
<para>It is not always possible to accurately predict the CPU and RAM requirements
60
-
when you first deploy a VM.
61
-
You might need to increase these resources at any time during the life of a VM.
62
-
You can dynamically modify CPU and RAM levels to
63
-
scale up these resources for a running VM without incurring any downtime.</para>
64
-
<para>Dynamic CPU and RAM scaling can be used in the following cases:</para>
65
-
<itemizedlist>
66
-
<listitem><para>User VMs on hosts running VMware and XenServer.</para></listitem>
67
-
<listitem><para>System VMs on VMware.</para></listitem>
68
-
<listitem><para>VMware Tools or XenServer Tools must be installed on the virtual machine.</para></listitem>
69
-
<listitem><para>The new requested CPU and RAM values must be within the constraints allowed by the hypervisor
70
-
and the VM operating system.</para></listitem>
71
-
<listitem><para>New VMs that are created
72
-
after the installation of &PRODUCT; 4.2
73
-
can use the dynamic scaling feature.
74
-
If you are upgrading from a previous version of &PRODUCT;,
75
-
your existing VMs created with previous versions
76
-
will not have the dynamic scaling capability
77
-
unless you update them using the following procedure.</para>
78
-
</listitem>
79
-
</itemizedlist>
80
-
</section>
81
-
<sectionid="update-vms">
82
-
<title>Updating Existing VMs</title>
83
-
<para>If you are upgrading from a previous version of &PRODUCT;,
84
-
and you want your existing VMs created with previous versions
85
-
to have the dynamic scaling capability,
86
-
update the VMs using the following steps:</para>
87
-
<orderedlist>
88
-
<listitem><para>Make sure the zone-level setting enable.dynamic.scale.vm is set to true.
89
-
In the left navigation bar of the &PRODUCT; UI, click Infrastructure, then click Zones, click the zone you want, and click the Settings tab.</para></listitem>
90
-
<listitem><para>Install Xen tools (for XenServer hosts) or VMware Tools (for VMware hosts) on each VM
91
-
if they are not already installed.</para></listitem>
92
-
<listitem><para>Stop the VM.</para></listitem>
93
-
<listitem><para>Click the Edit button.</para></listitem>
94
-
<listitem><para>Click the Dynamically Scalable checkbox.</para></listitem>
95
-
<listitem><para>Click Apply.</para></listitem>
96
-
<listitem><para>Restart the VM.</para></listitem>
97
-
</orderedlist>
98
-
</section>
99
-
<sectionid="configure-dynamic-scaling">
100
-
<title>Configuring Dynamic CPU and RAM Scaling</title>
101
-
<para>To configure this feature, use the following new global configuration variables:</para>
102
-
<itemizedlist>
103
-
<listitem><para>enable.dynamic.scale.vm: Set to True to enable the feature. By default, the feature is turned off.</para></listitem>
104
-
<listitem><para>scale.retry: How many times to attempt the scaling operation. Default = 2.</para></listitem>
105
-
</itemizedlist>
106
-
</section>
107
-
<sectionid="dynamic-scaling-howto">
108
-
<title>How to Dynamically Scale CPU and RAM</title>
109
-
<para>To modify the CPU and/or RAM capacity of a virtual machine,
110
-
you need to change
111
-
the compute offering of the VM to a new compute offering that has the
112
-
desired CPU and RAM values. You can use the same steps
113
-
described above in <xreflinkend="changing-service-offering-for-vm"/>, but skip the step where you
114
-
stop the virtual machine. Of course, you might have to create a new compute offering first.</para>
115
-
<para>When you submit a dynamic scaling request,
116
-
the resources will be scaled up on the current host if possible.
117
-
If the host does not have enough resources, the VM will be live migrated
118
-
to another host in the same cluster.
119
-
If there is no host in the cluster that can fulfill the requested level of CPU and RAM,
120
-
the scaling operation will fail.
121
-
The VM will continue to run as it was before.</para>
122
-
</section>
123
-
<sectionid="dynamic-scaling-limitations">
124
-
<title>Limitations</title>
125
-
<itemizedlist>
126
-
<listitem><para>You can not do dynamic scaling for system VMs on XenServer.</para></listitem>
127
-
<listitem><para>&PRODUCT; will not check to be sure that the new CPU and RAM levels are compatible
128
-
with the OS running on the VM.</para></listitem>
129
-
<listitem><para>When scaling memory or CPU for a Linux VM on VMware, you might
130
-
need to run scripts in addition to the other steps mentioned above.
131
-
For more information, see
132
-
<ulinkurl="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012764">Hot adding memory in Linux (1012764)</ulink>
133
-
in the VMware Knowledge Base.</para></listitem>
134
-
<listitem><para>(VMware) If resources are not available on the current host,
135
-
scaling up will fail on VMware because of a known issue where &PRODUCT; and vCenter calculate the available capacity differently.
0 commit comments