Skip to content

Commit 696bbcc

Browse files
committed
Updating docs
1 parent 968853e commit 696bbcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+452
-456
lines changed

source/adminguide/accounts.rst

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
KIND, either express or implied. See the License for the
1313
specific language governing permissions and limitations
1414
under the License.
15-
15+
1616
1717
Roles, Accounts, Users, and Domains
1818
-----------------------------------
@@ -24,6 +24,8 @@ A role represents a set of allowed functions. All CloudStack accounts have a
2424
role attached to them that enforce access rules on them to be allowed or
2525
disallowed to make an API request. Typically there are four default roles:
2626
root admin, resource admin, domain admin and user.
27+
Newer roles have been added which include Read-Only Admin, Read-Only User,
28+
Support Admin and Support User which are in turn based on the aforementioned roles.
2729

2830

2931
Accounts
@@ -82,6 +84,33 @@ Root administrators have complete access to the system, including
8284
managing templates, service offerings, customer care administrators, and
8385
domains
8486

87+
Read Only Administrator
88+
~~~~~~~~~~~~~~~~~~~~~~~
89+
90+
A restricted admin role in which an account is only allowed to perform any list, get
91+
or find operations but not perform any other operation which can change the
92+
infrastructure, configuration or user resources.
93+
94+
Read Only User
95+
~~~~~~~~~~~~~~
96+
97+
A restricted user role in which an account is only allowed to perform list, get or find
98+
operations. It can be used by users who may only be interested in monitoring and usage
99+
of resources.
100+
101+
Support Admin
102+
~~~~~~~~~~~~~
103+
104+
A restricted admin role in which an admin account is limited to perform axilary support
105+
and maintenance tasks which do not directly affect the infrastucture, such as creating offerings,
106+
and put resources in maintenance, but cannot change the infrastructure such as physical networks.
107+
108+
Support User
109+
~~~~~~~~~~~~
110+
111+
A restricted user role in which an account cannot create or destroy resources, but can view resources
112+
and perform auxilary and support operations such as start or stop VMs, attach or detach volumes, ISOs etc.
113+
85114

86115
Resource Ownership
87116
~~~~~~~~~~~~~~~~~~
@@ -125,7 +154,7 @@ CSV file format:
125154
126155
rule,permission,description
127156
<Rule1>,<Permission1>,<Description1>
128-
<Rule2>,<Permission2>,<Description2>
157+
<Rule2>,<Permission2>,<Description2>
129158
<Rule3>,<Permission3>,<Description3>
130159
131160
so on
@@ -148,8 +177,8 @@ After an upgrade, existing deployments can be migrated to use this feature by
148177
running a migration tool by the CloudStack admin. The migration tool is located
149178
at ``/usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py``.
150179

151-
**NOTE: If you have not changed your commands.properties file at any time, then
152-
it is recommended to use the -D (default) option as otherwise new API commands may
180+
**NOTE: If you have not changed your commands.properties file at any time, then
181+
it is recommended to use the -D (default) option as otherwise new API commands may
153182
not be added to the dynamic roles database.**
154183

155184
During migration, this tool enables an internal flag in the database,
@@ -182,7 +211,7 @@ Options:
182211

183212

184213
Example:
185-
214+
186215

187216
.. parsed-literal::
188217
@@ -247,7 +276,7 @@ How to Use Dedicated Hosts
247276
~~~~~~~~~~~~~~~~~~~~~~~~~~~
248277

249278
To use an explicitly dedicated host, use the explicit-dedicated type of
250-
affinity group (see `“Affinity Groups” <virtual_machines.html#affinity-groups>`_).
279+
affinity group (see `“Affinity Groups” <virtual_machines.html#affinity-groups>`_).
251280
For example, when creating a new VM, an
252281
end user can choose to place it on dedicated infrastructure. This
253282
operation will succeed only if some infrastructure has already been
@@ -395,7 +424,7 @@ replicas. If one fails, the next one is used.
395424
port=389\
396425
domainid=12345678-90ab-cdef-fedc-ba0987654321
397426
398-
This is all that is required to enable the manual importing of LDAP users, the
427+
This is all that is required to enable the manual importing of LDAP users, the
399428
LisLdapUsers API can be used to query for users to import.
400429

401430
For the auto import method, a CloudStack Domain needs to be linked to
@@ -483,7 +512,7 @@ LDAP groups:
483512
~~~~~~~~~~~~
484513

485514
- ``ldap.group.object``: object type of groups within LDAP. Default value is
486-
group for AD and **groupOfUniqueNames** for openldap.
515+
group for AD and **groupOfUniqueNames** for openldap.
487516

488517
- ``ldap.group.user.uniquemember``: attribute for uniquemembers within a group.
489518
Default value is **member** for AD and **uniquemember** for openldap.

source/adminguide/autoscale_without_netscaler.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
Configuring AutoScale without using NetScaler
1818
=============================================
1919

20-
.. warning::
21-
This feature is currently only available on the master branch and will be
22-
released in the 4.4 release.
23-
2420
.. note::
2521
AutoScaling is currently not supported in the new UI.
2622
To manage AutoScaling, please directly invoke the

source/adminguide/hosts.rst

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@ essential that your hosts are completely up to date with the provided
199199
hypervisor patches. The hypervisor vendor is likely to refuse to support
200200
any system that is not up to date with patches.
201201

202-
.. note::
202+
.. note::
203203
The lack of up-do-date hotfixes can lead to data corruption and lost VMs.
204204

205-
(XenServer) For more information, see
206-
`Highly Recommended Hotfixes for XenServer in the CloudStack Knowledge Base
205+
(XenServer) For more information, see
206+
`Highly Recommended Hotfixes for XenServer in the CloudStack Knowledge Base
207207
<http://docs.cloudstack.org/Knowledge_Base/Possible_VM_corruption_if_XenServer_Hotfix_is_not_Applied/Highly_Recommended_Hotfixes_for_XenServer_5.6_SP2>`_.
208208

209209

@@ -247,7 +247,7 @@ To change a Node's password:
247247

248248
.. code:: bash
249249
250-
mysql> SELECT * FROM cloud.host_details WHERE name='password' AND host_id={previous step ID};
250+
mysql> SELECT * FROM cloud.host_details WHERE name='password' AND host_id={previous step ID};
251251
252252
#. Update the passwords for the host in the database. In this example,
253253
we change the passwords for hosts with host IDs 5 and 12 and host_details IDs 8 and 22 to
@@ -266,15 +266,15 @@ Over-Provisioning and Service Offering Limits
266266
CPU and memory (RAM) over-provisioning factors can be set for each
267267
cluster to change the number of VMs that can run on each host in the
268268
cluster. This helps optimize the use of resources. By increasing the
269-
over-provisioning ratio, more resource capacity will be used. If the
270-
ratio is set to 1, no over-provisioning is done.
269+
over-provisioning factor, more resource capacity will be used. If the
270+
factor is set to 1, no over-provisioning is done.
271271

272-
The administrator can also set global default over-provisioning ratios
272+
The administrator can also set global default over-provisioning factors
273273
in the cpu.overprovisioning.factor and mem.overprovisioning.factor
274274
global configuration variables. The default value of these variables is
275275
1: over-provisioning is turned off by default.
276276

277-
Over-provisioning ratios are dynamically substituted in CloudStack's
277+
Over-provisioning factors are dynamically substituted in CloudStack's
278278
capacity calculations. For example:
279279

280280
Capacity = 2 GB
@@ -286,8 +286,8 @@ With this configuration, suppose you deploy 3 VMs of 1 GB each:
286286
Used = 3 GB
287287
Free = 1 GB
288288

289-
The administrator can specify a memory over-provisioning ratio, and can
290-
specify both CPU and memory over-provisioning ratios on a per-cluster
289+
The administrator can specify a memory over-provisioning factor, and can
290+
specify both CPU and memory over-provisioning factors on a per-cluster
291291
basis.
292292

293293
In any given cloud, the optimum number of VMs for each host is affected
@@ -303,8 +303,8 @@ The overprovisioning settings can be used along with dedicated resources
303303
(assigning a specific cluster to an account) to effectively offer
304304
different levels of service to different accounts. For example, an
305305
account paying for a more expensive level of service could be assigned
306-
to a dedicated cluster with an over-provisioning ratio of 1, and a
307-
lower-paying account to a cluster with a ratio of 2.
306+
to a dedicated cluster with an over-provisioning factor of 1, and a
307+
lower-paying account to a cluster with a factor of 2.
308308

309309
When a new host is added to a cluster, CloudStack will assume the host
310310
has the capability to perform the CPU and RAM over-provisioning which is
@@ -385,46 +385,48 @@ VMware, KVM
385385
Memory ballooning is supported by default.
386386

387387

388-
Setting Over-Provisioning Ratios
388+
Setting Over-Provisioning Factors
389389
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
390390

391391
There are two ways the root admin can set CPU and RAM over-provisioning
392-
ratios. First, the global configuration settings
392+
factors. First, the global configuration settings
393393
cpu.overprovisioning.factor and mem.overprovisioning.factor will be
394-
applied when a new cluster is created. Later, the ratios can be modified
394+
applied when a new cluster is created. Later, the factors can be modified
395395
for an existing cluster.
396396

397397
Only VMs deployed after the change are affected by the new setting. If
398398
you want VMs deployed before the change to adopt the new
399-
over-provisioning ratio, you must stop and restart the VMs. When this is
399+
over-provisioning factor, you must stop and restart the VMs. When this is
400400
done, CloudStack recalculates or scales the used and reserved capacities
401-
based on the new over-provisioning ratios, to ensure that CloudStack is
401+
based on the new over-provisioning factors, to ensure that CloudStack is
402402
correctly tracking the amount of free capacity.
403403

404-
.. note::
405-
It is safer not to deploy additional new VMs while the capacity
406-
recalculation is underway, in case the new values for available
407-
capacity are not high enough to accommodate the new VMs. Just wait
408-
for the new used/available values to become available, to be sure
404+
.. note::
405+
It is safer not to deploy additional new VMs while the capacity
406+
recalculation is underway, in case the new values for available
407+
capacity are not high enough to accommodate the new VMs. Just wait
408+
for the new used/available values to become available, to be sure
409409
there is room for all the new VMs you want.
410410

411-
To change the over-provisioning ratios for an existing cluster:
411+
To change the over-provisioning factors for an existing cluster:
412412

413413
#. Log in as administrator to the CloudStack UI.
414414

415415
#. In the left navigation bar, click Infrastructure.
416416

417-
#. Under Clusters, click View All.
417+
#. Select Clusters.
418418

419-
#. Select the cluster you want to work with, and click the Edit button.
419+
#. Select the cluster you want to work with, and click the Settings button.
420+
421+
#. Search for overprovisioning.
420422

421423
#. Fill in your desired over-provisioning multipliers in the fields CPU
422-
overcommit ratio and RAM overcommit ratio. The value which is
424+
overcommit factor and RAM overcommit factor. The value which is
423425
intially shown in these fields is the default value inherited from
424426
the global configuration settings.
425427

426-
.. note::
427-
In XenServer, due to a constraint of this hypervisor, you can not
428+
.. note::
429+
In XenServer, due to a constraint of this hypervisor, you can not
428430
use an over-provisioning factor greater than 4.
429431

430432

@@ -514,8 +516,7 @@ range.
514516

515517
#. In the left navigation, choose Infrastructure.
516518

517-
#. On Zones, click View More, then click the zone to which you want to
518-
work with.
519+
#. Click Zones and select the zone you'd like to modify.
519520

520521
#. Click Physical Network.
521522

@@ -572,8 +573,8 @@ To enable you to assign VLANs to Isolated networks,
572573
network and the state is changed to Setup. In this state, the network
573574
will not be garbage collected.
574575

575-
.. note::
576-
You cannot change a VLAN once it's assigned to the network. The VLAN
576+
.. note::
577+
You cannot change a VLAN once it's assigned to the network. The VLAN
577578
remains with the network for its entire life cycle.
578579

579580

@@ -769,7 +770,7 @@ Feature Overview
769770

770771
- This feature applies to KVM hosts.
771772
- KVM utilised under CloudStack uses the standard Libvirt hook script behaviour as outlined in the Libvirt documentation page `hooks`_.
772-
- During the install of the KVM CloudStack agent, the Libvirt hook script "/etc/libvirt/hooks/qemu", referred to as the qemu script hereafter is installed.
773+
- During the install of the KVM CloudStack agent, the Libvirt hook script "/etc/libvirt/hooks/qemu", referred to as the qemu script hereafter is installed.
773774
- This is a python script that carries out network management tasks every time a VM is started, stopped or migrated, as per the Libvirt hooks specification.
774775
- Custom network configuration tasks can be done at the same time as the qemu script is called.
775776
- Since the tasks in question are user-specific, they cannot be included in the CloudStack-provided qemu script.
@@ -788,8 +789,8 @@ Usage
788789
~~~~~~
789790

790791
- The cloudstack-agent package will install the qemu script in the /etc/libvirt/hooks directory of Libvirt.
791-
- The Libvirt documentation page `arguments`_ describes the arguments that can be passed to the qemu script.
792-
- The input arguments are:
792+
- The Libvirt documentation page `arguments`_ describes the arguments that can be passed to the qemu script.
793+
- The input arguments are:
793794

794795
#. Name of the object involved in the operation, or '-' if there is none. For example, the name of a guest being started.
795796
#. Name of the operation being performed. For example, 'start' if a guest is being started.
@@ -800,7 +801,7 @@ Usage
800801

801802
- If an invalid operation argument is received, the qemu script will log the fact, not execute any custom scripts and exit.
802803

803-
- All input arguments that are passed to the qemu script will also be passed to each custom script.
804+
- All input arguments that are passed to the qemu script will also be passed to each custom script.
804805

805806
- For each of the above actions, the qemu script will find and run scripts by the name "<action>_<custom script name>" in a custom include path /etc/libvirt/hooks/custom/. Custom scripts that do not follow this naming convention will be ignored and not be executed.
806807

@@ -825,7 +826,7 @@ Timeout Configuration
825826

826827
Custom Script Naming for a Specific VM Action
827828
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
828-
- For a custom script that needs to be executed at the end of a specific VM action, do the following:
829+
- For a custom script that needs to be executed at the end of a specific VM action, do the following:
829830

830831
#. Navigate to the custom script that needs to be executed for a specific action.
831832
#. Rename the file by prefixing to the filename the specific action name followed by an underscore. For example, if a custom script is named abc.sh, then prefix 'migrate' and an underscore to the name to become migrate_abc.sh.
@@ -840,7 +841,7 @@ Custom Script Naming for All VM Actions
840841
#. Rename the file by prefixing 'all' to the filename, followed by an underscore. For example, if a custom script is named def.py, then prefix 'all' and an underscore to the name to become all_def.py.
841842

842843
Custom Script Execution Configuration
843-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
844+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
844845
- Grant each custom script execute permissions so that the underlying host operating system can execute them:
845846

846847
#. Navigate to the custom script that needs to be executable.
@@ -879,7 +880,7 @@ There are four stages in the KVM rolling maintenance process:
879880

880881
#. Post-Maintenance stage: Post-maintenance script ((``PostMaintenance`` or ``PostMaintenance.sh`` or ``PostMaintenance.py``)) is expected to perform validation after the host exits maintenance. These scripts will help to detect any problem during the maintenance process, including reboots or restarts within scripts.
881882

882-
.. note::
883+
.. note::
883884
Pre-flight and pre-maintenance scripts’ execution can determine if the maintenance stage is not required for a host. The special exit code = 70 on a pre-flight or pre-maintenance script will let CloudStack know that the maintenance stage is not required for a host.
884885

885886
Administrators must define only one script per stage. In case a stage does not contain a script, it is skipped, continuing with the next stage. Administrators are responsible for defining and copying scripts into the hosts
@@ -952,15 +953,15 @@ Before attempting any maintenance actions, pre-flight and capacity checks are pe
952953

953954
The pre-flight script may signal that no maintenance is needed on the host. In that case, the host is skipped from the rolling maintenance hosts iteration.
954955

955-
Once pre-flight checks pass, then the management server iterates through each host in the selected scope and sends a command to execute each of the rest of the stages in order. The hosts in the selected scope are grouped by clusters, therefore all the hosts in a cluster are processed before processing the hosts of a different cluster.
956+
Once pre-flight checks pass, then the management server iterates through each host in the selected scope and sends a command to execute each of the rest of the stages in order. The hosts in the selected scope are grouped by clusters, therefore all the hosts in a cluster are processed before processing the hosts of a different cluster.
956957

957958
The management server iterates through hosts in each cluster on the selected scope and for each of the hosts does the following:
958959

959960
- Disables the cluster (if it has not been disabled previously)
960961
- The existence of the maintenance script on the host is checked (this check is performed only for the maintenance script, not for the rest of the stages)
961962

962963
- If the host does not contain a maintenance script, then the host is skipped and the iteration continues with the next host in the cluster.
963-
964+
964965
- Execute pre-maintenance script (if any) before entering maintenance mode.
965966

966967
- The pre-maintenance script may signal that no maintenance is needed on the host. In that case, the host is skipped and the iteration continues with the next host in the cluster.

0 commit comments

Comments
 (0)