Tim Carr
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# vSphere Permission Requirements for CAPV The vSphere user account leveraged for CAPV must have approprate vSphere permissions. vCenter's Administrator role provides super-user access to all vSphere objects, however use of this role may be discouraged in your environment. We'll work over providing a base set of permissions and then removing what's neeeded in the two specific vSphere based roles: 1) Template management role 2) "Service Account" type role for CAPV 3) "Addon based" role for components enabled by CAPV Alternatively, you can choose to create a custom role with the minimum set of privileges to allow use of CAPV as detailed below: ## User requirements to allow upload of OVA/OVF (TODO: VERIFY THIS SECTION) https://kb.vmware.com/s/article/2105932 Initially we'll create an administrator account and then test with the following permission set: - Datastore > Allocate space - Network > Assign network - Virtual machine > Configuration > Add new disk - Virtual machine > Configuration > Advanced - vApp > Import ## User requirements to allow for CAPV Controllers to work in a vSphere environment: ### Add the VMware CSI Cloud Native Storage Capabilities Perms (we install this) - https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-673-cloud-native-storage.pdf - More concretely: https://docs.vmware.com/en/VMware-vSphere/6.7/Cloud-Native-Storage/GUID-AEB07597-F303-4FDD-87D9-0FDA4836E5BB.html ### Create Virtual Machine Permissions Destination folder or Datacenter: - Virtual machine.Configuration.Add new disk (if creating a new virtual disk) - Virtual machine.Configuration.Add existing disk (if using an existing virtual disk) - Virtual machine.Configuration.Configure Raw device (if using an RDM or SCSI pass-through device) On the destination host, cluster, or resource pool: - Resource.Assign virtual machine to resource pool On the destination datastore or the folder that contains the datastore: - Datastore.Allocate space On the network that the virtual machine will be assigned to: - Network.Assign network ### Power Management on virtual machines On the data center in which the virtual machine is deployed: - Virtual machine .Interaction .Power On On the virtual machine or folder of virtual machines: - Virtual machine .Interaction .Power On ### Deploy a virtual machine from template On the destination folder or data center: - Virtual machine .Inventory.Create from existing - Virtual machine.Configuration.Add new disk On a template or folder of templates: - Virtual machine .Provisioning.Deploy template On the destination host, cluster or resource pool: - Resource.Assign virtual machine to resource pool On the destination datastore or folder of datastores: - Datastore.Allocate space On the network that the virtual machine will be assigned to: - Network.Assign network ## Google GKE Recommendations (TODO: COMB THROUGH THESE) Resource: - Assign (required to move ) Datastore: - Allocate space - Browse datastore - Low level file operations - Remove file - Update virtual machine files - Update virtual machine metadata Datastore - Allocate space - Browse datastore - Low level file operations - Remove file - Update virtual machine files - Update virtual machine metadata Folder - Create folder - Delete folder - Move folder - Rename folder vSphere Tagging - Create vSphere Tag Root vCenter Server - Validate session Network - Assign network Resource - Apply recommendation - Assign virtual machine to resource pool Storage views - View Tasks - Create task - Update task vApp - Import - vApp application configuration - vApp instance configuration Virtual machines - Configuration - Add existing disk - Add new disk - Add or remove device - Advanced - Change CPU count - Change resource - Configure managedBy - Disk change tracking - Disk lease - Display connection settings - Extend virtual disk - Host USB device - Memory - Modify device settings - Query Fault Tolerance compatibility - Query unowned files - Raw device - Reload from path - Remove disk - Rename - Reset guest information - Set annotation - Settings - Swapfile placement - Toggle fork parent - Unlock virtual machine - Upgrade virtual machine compatibility Guest operations - Guest operation alias modification - Guest operation alias query - Guest operation modifications - Guest operation program execution - Guest operation queries (RATIONALIZE WITH cloud-init + colone)Interaction - Answer question - Backup operation on virtual machine - Configure CD media - Configure floppy media - Console interaction - Create screenshot - Defragment all disks - Device connection - Drag and drop - Guest operating system management by VIX API - Inject USB HID scan codes - Pause or Unpause - Perform wipe or shrink operations - Power off - Power on - Record session on virtual machine - Replay session on virtual machine - Reset - Resume Fault Tolerance - Suspend - Suspend Fault Tolerance - Test failover - Test restart Secondary VM - Turn off Fault Tolerance - Turn on Fault Tolerance - VMware Tools install Inventory - Create from existing - Create new - Move - Register - Remove - Unregister Provisioning - Allow disk access - Allow file access - Allow read-only disk access - Allow virtual machine download - Allow virtual machine files upload - Clone template - Clone virtual machine - Create template from virtual machine - Customize - Deploy template - Mark as template - Mark as virtual machine - Modify customization specification - Promote disks - Read customization specifications Service configuration - Allow notifications - Allow polling of global event notifications - Manage service configurations - Modify service configuration - Query service configurations - Read service configuration (LIKELY NOT NEEDED)Snapshot management - Create snapshot - Remove snapshot - Rename snapshot - Revert to snapshot (NOT NEEDED) vSphere Replication - Configure replication - Manage replication - Monitor replication ## Creating the CAPV Role in vCenter A role can be created in your vCenter by using the [govc utility](https://github.com/vmware/govmomi/tree/master/govc):

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully