rzenv - esxi parameter and settings

This section is for installing server with VMware ESXi.

Misc

The section keyword is esxi

   <esxi>
      # content
   </esxi>

Default Options

   esxisuffix  "defaultdomain.com"       # default dns suffix
   rootpw      "defaultpassword"         # default root password

Log Location

There two different log location configs. One for ESXi version 4 and greater than 5.

The variable %SRVNAME% will extent to the install server hostname.

  <logloc>                                                    # This entry will shown in the add esxi server page 
     <Do_not_change_log_location>                             
         disable   true# entry for no log location change
     </Do_not_change_log_location>
     <Local_/syslog_with_srvname>                             # entry name - unique
         dest   [nfs_syslog],/syslog-%SRVNAME%
         ver      41u2,41u2_hp                                # esxi version 4 = other entry
     </Local_/syslog_with_srvname>
     <Local_scratch/log/messages>
         dest   [loc_%SRVNAME%],/scratch/log/messages
         ver      41u2,41u2_hp                                # esxi version 4 = other entry
         default   true
     </Local_scratch/log/messages>
     <Local_/syslog>
         dest   [loc_%SRVNAME%],/syslog
         ver      41u2,41u2_hp                                # esxi version 4 = other entry
     </Local_/syslog>
     <NFS_vitemp_logesxi_with_servername>
         dest   [nfs_vitemp_logesxi],\"/%SRVNAME%-messages\"
         ver      41u2,41u2_hp                                # esxi version 4 = other entry
     </NFS_vitemp_logesxi_with_servername>
     <NFS_vitemp_logesxi>
         logsize   1000
         dest   /vmfs/volumes/nfs_vitemp_logesxi/%SRVNAME%-log
         ver      60,60_hp
         default   true
         logrot   5                                           # optional log rotation
         logsize  1000                                        # optional log size
         logdir   true                                        # optional log unique dir
     </NFS_vitemp_logesxi>
     <NFS_vitemp_with_srvname>
         logsize   1000
         dest   /vmfs/volumes/nfs_vitemp/%SRVNAME%-log
         ver      60,60_hp,50,51,51u3_hp
         default   true
         logrot   5
         logdir   true
     </NFS_vitemp_with_srvname>
  </logloc>

Scratch

 <scratch>                                                     # scratch location
    <nfs_vitemp_scratch_srvname>
        dest   /vmfs/volumes/nfs_vitemp_inst/scratch/%SRVNAME% # scratch location path - %SRVNAME% keyword resolved
    </nfs_vitemp_scratch_srvname>
    <loc_sratch>
        dest   /vmfs/volumes/loc_%SRVNAME%/scratch
        default   true
    </loc_sratch>
    <no_scratch>
        disable   true                                         # do not change scratch location entry for portal
    </no_scratch>
 </scratch>

ESXi Advanced Option Config

You can add every advanced option key to the fsi portal add esxi server input website.

  <advopt Net.TcpipHeapSize>      # Advanced Option Key
     type     long                # Adv. key type
     opt      30                  # option value
     default  true                # default set
  </advopt>
  <advopt Net.TcpipHeapMax>
     type     long
     opt      120
     default  true
  </advopt>
  <advopt NFS.MaxVolumes>
     type     long
     opt      64
     default  true
  </advopt>
  <advopt NFS.HeartbeatMaxFailures>
     type     long
     opt      10
     default  true
  </advopt>
  <advopt NFS.HeartbeatFrequency>
     type     long
     opt      12
     default  true
  </advopt>
  <advopt NFS.HeartbeatTimeout>
     type     long
     opt      5
     default  true
  </advopt>

Join Virutal Center Config

To join a virtual center automatically during the server installation, you can configure the selection in this section:

  <vc>
      <"Do not join ESXi to VC">                                          # default entry for do not join vc
          disable   true
      </"Do not join ESXi to VC">
      <vCwin.lab.local>
          default  true                                                   # default select VC
          vcusr    USER_FISCH_ESX                                         # join vc user
          vcdom    WinDomain
          vcpass   unverschluesseltespasswort                             # join user domain - if needed
          dc       "VI PROD 1"                                            # join vc user password              dc   VI Develop
      </vCwin.schnuerle.local>
      <vcdev-without-domain.lab.local>
          dc   VI Develop
          vcpass   jippipw
          vcusr   esxuser
      </vcdev-without-domain.lab.local>
      <vcdev.lab.local>
          dc   VI Develop
          vcpass   nopassw
          vcdom   labdom
          ver   50,51_ibm,51,51u2,51u2_hp,51u3,51u3_hp,55,55u1,55u1_hp,55_ibm,55u2
          default   true
          vcusr   esxuser
      </vcdev.lab.local>
      <vcsa6.lab.local>
          dc   VI Develop
          vcpass   nononopw
          vcdom   labdom
          ver   60,60_hp
          default   true
          vcusr   esxuser
      </vcsa6.lab.local>
  </vc>

Local User Config

  <user admin_beispiel>               # user name
     pw       "defaultpassword"       # unencrypted password
     group    root                    # group
     descr    VI Team User            # description
     default  false                   # take this as default true / false
  </user>
  <user user_beispiel>
     pw       "donotknow"
     group    user
  </user>
  <user iap>
     pw       fullsecretpw
     group    root
     role     IAP
     descr    Support Team User
     default  true
  </user>
  <user cit>
     pw       superpassword
     role     CIT
     group    user
     login    yes
  </user>

ESXi Local Rules Config

You can define roles for the selection option in the add esxi server. Overview of all privileges

  <role>
      <CIT12 priv>
          <Host.Config.Maintenance>
          </Host.Config.Maintenance>
      </CIT12>
      <IAP priv>
          <VirtualMachine.Interact.ConsoleInteract>
          </VirtualMachine.Interact.ConsoleInteract>
          <VirtualMachine.Interact.PowerOff>
          </VirtualMachine.Interact.PowerOff>
          <Host.Config.Maintenance>
          </Host.Config.Maintenance>
          <Host.Config.Power>
          </Host.Config.Power>
          <VirtualMachine.Interact.PowerOn>
          </VirtualMachine.Interact.PowerOn>
          <VirtualMachine.Interact.Reset>
          </VirtualMachine.Interact.Reset>
      </IAP>
      <CIT>
          <priv>
              <VirtualMachine.Interact.ConsoleInteract>
              </VirtualMachine.Interact.ConsoleInteract>
              <VirtualMachine.Interact.PowerOff>
              </VirtualMachine.Interact.PowerOff>
              <Host.Config.Maintenance>
              </Host.Config.Maintenance>
              <Host.Config.Power>
              </Host.Config.Power>
              <VirtualMachine.Interact.PowerOn>
              </VirtualMachine.Interact.PowerOn>
              <VirtualMachine.Interact.Reset>
              </VirtualMachine.Interact.Reset>
          </priv>
          default   true
      </CIT>
      <CIT19>
      </CIT19>
  </role>

Syslog Server Config

  <syslog syslogsrv>                      # Syslog serverconfig, name for portal only
     default  true
     ip       syslog.srv.example.com      # target in config of esxi
     port     514                         # optional port if not default 514
     prot     udp                         # default protocol if not udp
  </syslog>
  <syslog master-other-port4_Beispiel>
     ip       10.10.10.60
     port     515
  </syslog>
  <syslog second4_Beispiel>
     ip       10.10.10.242
  </syslog>

ESXi Version & License Config