Quantcast
Channel: VMware Communities : Blog List - All Communities
Viewing all articles
Browse latest Browse all 3135

vSphere 5.x Notes & Tips - Appendix:

$
0
0

Hi All ...
This is our last part in the series. It's just a subsidiary notes that might be helpful. 

Credits:

  • jmattson (Don’t know the actual name)
  • William Lam

Now, let's start..




1. Creating Nested Virtualization Environment:

   Nested Virtualization environments are commonly used in testing labs in order to practice new features and products. It’s highly recommended not to use this technique in production unless urgently needed. The      following guide by jmattson (Don’t know the actual name) explains how to run nested virtualization environment using different virtualization platforms layers combined:

https://communities.vmware.com/docs/DOC-8970#start=25

 

 

2. Faking a SSD Device on ESXi 5.x:

Some vSphere 5.x features -like: Host Cache- have to be run on SSD device. The following nice trick by William Lam makes an ESXi host detect normal storage device (local disk or LUN) as a SSD storage. Check the following article:

http://www.virtuallyghetto.com/2011/07/how-to-trick-esxi-5-in-seeing-ssd.html

Keep in mind that, the previous trick shouldn’t be used in production environment. Only in testing labs.

 

 

3. Linux Files & Folders Permissions:

In Linux-based OS’s, every single file or folder has a permission set like:

 

Permission Set

Description

Folder

d ------ ---

d: Directory.

---: Read Write Exec. / 4 2 1-> User.

---: Read Write Exec. / 4 2 1-> Group.

---: Read Write Exec. / 4 2 1-> Everyone.

File

- ------ ---

-: File.

---: Read Write Exec. / 4 2 1-> User.

---: Read Write Exec. / 4 2 1-> Group.

---: Read Write Exec. / 4 2 1-> Everyone.

To change any permission set, use:

   chmod Sum_of_Numbers_for_Permission_SetFolder_or_File_Path/Folder_or_File_Name

   Ex: chmod 661 ‘linux.xml’ -> linux.xml will have R/W permissions for current User, Group of the current User and Everyone else will have only Read permissions.

 

 

4. VMware PowerCLI 5 Cmdlets Concepts:

   Each Cmdlet uses consistent naming format of (verb-noun). Verb for doing an action and Noun of the object will be operated on.

   Each Cmdlet uses parameters and arguments. Parameter is to control the behavior of the Cmdlet and argument is the data value itself consumed by Cmdlet.

   Naming format is (verb-noun -parameter1 argument1 -parameter2 argument2 -argument3…).

   The following table is summarizing general categories of Cmdlets:

Cmdlets GroupsUsage
Get- CmdletsCollect information about an object.
Move- CmdletsMoving objects between containers.
New-\Remove- CmdletsCreating\removing objects.
Set- CmdletsSetting certain options on an object.
Start-\Stop-\Suspend- CmdletsStart\Stop\Suspend actions.

  Get-Help CMDLET_to_Know -full: is used for get help with certain CMDLET.

  Cmdlet1 | Cmdlet2 | Cmdlet3 |..: is used when pipelining, i.e. when you use the output of Cmdlet1 as an input for Cmdlet2, then the output of that as an input for Cmdlet3, etc..

 

Share the knowledge...


Previous: vSphere 5.x Notes & Tips - Part XXIV:


Viewing all articles
Browse latest Browse all 3135

Trending Articles