-
Notifications
You must be signed in to change notification settings - Fork 95
Conversation
docs/features/tenancy.md
Outdated
@@ -83,39 +97,40 @@ f15c1f6d-5df5-4a00-8f20-77c8e7a7af11 Product1Test | |||
Lets limit dev team to create volumes of total 20 Gb each not exceeding size of 1 GB. Similarly for QA team, lets put restriction of total 40 GB consumption with each volume size not exceeding 1 GB. | |||
|
|||
``` | |||
#/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup access add --name=Product1Dev --datastore=datastore3 --allow-create --default-datastore --volume-maxsize=1GB --volume-totalsize=20GB | |||
vmgroup access add succeeded | |||
[root@sc-rdops-vm17-dhcp-3-236:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup access set --name=Product1Dev --datastore=sharedVmfs-0 --volume-maxsize=1GB --volume-totalsize=20GB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--datastore=sharedVmfs-0
why? so far the document was referring to datastore3
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/features/tenancy.md
Outdated
[root@sc-rdops-vm17-dhcp-3-236:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup access set --name=Product1Dev --datastore=sharedVmfs-0 --volume-maxsize=1GB --volume-totalsize=20GB | ||
vmgroup access set succeeded | ||
|
||
[root@sc-rdops-vm17-dhcp-3-236:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup access set --name=Product1Test --datastore=sharedVmfs-0 --volume-maxsize=1GB --volume-totalsize=40GB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/features/tenancy.md
Outdated
|
||
#/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup access add --name=Product1Test --datastore=datastore3 --allow-create --default-datastore --volume-maxsize=1GB --volume-totalsize=40GB | ||
vmgroup access add succeeded | ||
``` | ||
Lets verify that storage restrictions has been set properly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not for this review, as you are here to update .. can you address following nit?
restrictions has been set properly
=> restrictions have been set properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@lipingxue Can you please fix following broke link too from tenancy.md?
|
49abdf6
to
3f01235
Compare
@shuklanirdesh82 I have addressed your comments, please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
docs/features/tenancy.md
Outdated
### Default datastore | ||
When a VM addresses the volume using short notation (volume_name, without @datastore), all VMs in this vmgroup will use default datastore to resolve short volume reference (volume_name will actually mean volume_name@default_datastore). | ||
|
||
If "default_datastore" is not set for a vmgroup, then datastore where the VM resides will be used as "default_datastore". | ||
"Default_datastore" is a required parameter when creating a vmgroup. The value is either a valid datastore name, or special string "_VM_DS. The "Default_datastore" field is set to "_VM_DS" for "_DEFAULT" vmgroup post install and any volume create from VM which belongs to "_DEFAULT" vmgroup will be created on the datastore where VM resides. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nits:
- "_VM_DS - we are missing the matching quotation mark here.
- volume create from VM => volume created from VM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/features/tenancy.md
Outdated
|
||
## Example | ||
|
||
Lets consider a sample use case where there are 2 teams – Dev and Test working on Product1. Lets create separate vmgroups (namely Product1Dev and Product2Test) for each of the teams where we can put restriction on datastore consumption. | ||
Lets consider a sample use case where there are 2 teams – Dev and Test working on Product1. Lets create separate vmgroups (namely Product1Dev and Product1Test) for each of the teams where we can put restriction on datastore consumption. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Lets => Let's
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me. Please address open comments before merging.
Address comments from Nirdesh. Minor fix. Minor fix again.
3f01235
to
e42358e
Compare
Fixed #1536
This PR updates tenancy.md to match the up-to-date multi-tenancy behavior.