vmware
This commit is contained in:
		
							parent
							
								
									c0102fb369
								
							
						
					
					
						commit
						7e8abb3bc2
					
				
					 13 changed files with 1334 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								talimatname/genel/v/vmware/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								talimatname/genel/v/vmware/Makefile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,24 @@
 | 
			
		|||
#!/usr/bin/make -f
 | 
			
		||||
 | 
			
		||||
MODULES = \
 | 
			
		||||
	vmmon \
 | 
			
		||||
	vmnet \
 | 
			
		||||
	#vmblock \
 | 
			
		||||
	#vmci \
 | 
			
		||||
	#vsock
 | 
			
		||||
 | 
			
		||||
all: $(foreach m, $(MODULES), $m.ko)
 | 
			
		||||
 | 
			
		||||
%.ko: %
 | 
			
		||||
	$(MAKE) KVERSION=$(KVERSION) VM_KBUILD=yes -C $*-only
 | 
			
		||||
 | 
			
		||||
$(MODULES): %:
 | 
			
		||||
	cp -r $(SRCDIR)/$*-only $*-only
 | 
			
		||||
 | 
			
		||||
vsock.ko: vmci.ko
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	rm -rf $(MODULES)
 | 
			
		||||
	rm -rf $(foreach m, $(MODULES), $m-only)
 | 
			
		||||
	rm -f  $(foreach m, $(MODULES), $m.ko)
 | 
			
		||||
	rm -f  $(foreach m, $(MODULES), $m.o)
 | 
			
		||||
							
								
								
									
										11
									
								
								talimatname/genel/v/vmware/bootstrap
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								talimatname/genel/v/vmware/bootstrap
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
PREFIX="/usr"
 | 
			
		||||
BINDIR="/usr/bin"
 | 
			
		||||
SBINDIR="/usr/sbin"
 | 
			
		||||
LIBDIR="/usr/lib"
 | 
			
		||||
DATADIR="/usr/share"
 | 
			
		||||
SYSCONFDIR="/etc"
 | 
			
		||||
DOCDIR="/usr/share/doc"
 | 
			
		||||
MANDIR="/usr/share/man"
 | 
			
		||||
INCLUDEDIR="/usr/include"
 | 
			
		||||
INITDIR=""
 | 
			
		||||
INITSCRIPTDIR="/usr/lib/systemd/scripts"
 | 
			
		||||
							
								
								
									
										25
									
								
								talimatname/genel/v/vmware/config
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								talimatname/genel/v/vmware/config
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
.encoding = "UTF-8"
 | 
			
		||||
VMCI_CONFED = "yes"
 | 
			
		||||
NETWORKING = "yes"
 | 
			
		||||
VMBLOCK_CONFED = "yes"
 | 
			
		||||
authd.fullpath = "/usr/bin/vmware-authd"
 | 
			
		||||
gksu.rootMethod = "su"
 | 
			
		||||
VSOCK_CONFED = "yes"
 | 
			
		||||
libdir = "/usr/lib/vmware"
 | 
			
		||||
bindir = "/usr/bin"
 | 
			
		||||
vmware.fullpath = "/usr/bin/vmware"
 | 
			
		||||
vix.libdir = "/usr/lib/vmware-vix"
 | 
			
		||||
installerDefaults.componentDownloadEnabled = "no"
 | 
			
		||||
installerDefaults.autoSoftwareUpdateEnabled.epoch = "4641104763"
 | 
			
		||||
vix.config.version = "1"
 | 
			
		||||
player.product.version = "14.0.0"
 | 
			
		||||
installerDefaults.dataCollectionEnabled.epoch = "7910652514"
 | 
			
		||||
installerDefaults.dataCollectionEnabled = "no"
 | 
			
		||||
installerDefaults.transferVersion = "1"
 | 
			
		||||
installerDefaults.autoSoftwareUpdateEnabled = "no"
 | 
			
		||||
product.buildNumber = "6661328"
 | 
			
		||||
authd.client.port = "902"
 | 
			
		||||
authd.proxy.nfc = "vmware-hostd:ha-nfc"
 | 
			
		||||
product.version = "14.0.0"
 | 
			
		||||
workstation.product.version = "14.0.0"
 | 
			
		||||
product.name = "VMware Workstation"
 | 
			
		||||
							
								
								
									
										880
									
								
								talimatname/genel/v/vmware/config.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										880
									
								
								talimatname/genel/v/vmware/config.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,880 @@
 | 
			
		|||
<!-- VMware Host Agent configuration file -->
 | 
			
		||||
 | 
			
		||||
<config>
 | 
			
		||||
   <!-- current working directory  -->
 | 
			
		||||
   <workingDir>./</workingDir>
 | 
			
		||||
 | 
			
		||||
   <!-- location to examine for configuration files that are needed -->
 | 
			
		||||
   <defaultConfigPath> /etc/vmware/ </defaultConfigPath>
 | 
			
		||||
 | 
			
		||||
   <!-- location for docroot, plugins, libraries, etc. -->
 | 
			
		||||
   <defaultInstallPath> /usr/lib/vmware </defaultInstallPath>
 | 
			
		||||
 | 
			
		||||
   <!-- stdout for hostd process  -->
 | 
			
		||||
   <!-- <stdoutFile>/var/log/vmware/hostd-stdout.txt</stdoutFile> -->
 | 
			
		||||
 | 
			
		||||
   <!-- stderr for hostd process  -->
 | 
			
		||||
   <!-- <stderrFile>/var/log/vmware/hostd-stderr.txt</stderrFile> -->
 | 
			
		||||
 | 
			
		||||
   <!-- Memory death point for hostd -->
 | 
			
		||||
   <!-- <hostdStopMemInMB> 250 </hostdStopMemInMB> -->
 | 
			
		||||
   <!-- <hostdStopMemInPercent> 80 </hostdStopMemInPercent> -->
 | 
			
		||||
 | 
			
		||||
   <!-- Memory watermark for hostd -->
 | 
			
		||||
   <!-- <hostdWarnMemInMB> 180 </hostdWarnMemInMB> -->
 | 
			
		||||
   <!-- <hostdWarnMemInPercent> 60 </hostdWarnMemInPercent> -->
 | 
			
		||||
 | 
			
		||||
   <!-- hostd min num of fds -->
 | 
			
		||||
   <!-- Override by vmacore/threadPool/MaxFdsPerThread  -->
 | 
			
		||||
   <!-- hostdMinFds> 2048 </hostdMinFds -->
 | 
			
		||||
 | 
			
		||||
   <!-- hostd absolute max num of fds -->
 | 
			
		||||
   <!-- hostdMaxFds> 4096 </hostdMaxFds -->
 | 
			
		||||
 | 
			
		||||
   <!-- hostd mmap threshold in kilo bytes -->
 | 
			
		||||
   <hostdMmapThreshold> 32 </hostdMmapThreshold>
 | 
			
		||||
 | 
			
		||||
   <!-- Mode in which hostd runs: defines product type -->
 | 
			
		||||
   <hostdMode> ws </hostdMode>
 | 
			
		||||
 | 
			
		||||
   <!-- True if hostd is running in simulator mode -->
 | 
			
		||||
   <mockup>
 | 
			
		||||
      <enabled> false </enabled>
 | 
			
		||||
      <!-- Bump the count if hostd runs out of memory in simulator mode when
 | 
			
		||||
           you create more VMs -->
 | 
			
		||||
      <supportedVMs> 128 </supportedVMs>
 | 
			
		||||
   </mockup>
 | 
			
		||||
 | 
			
		||||
   <!-- Frequency of memory checker -->
 | 
			
		||||
   <!-- <memoryCheckerTimeInSecs> 30 </memoryCheckerTimeInSecs> -->
 | 
			
		||||
 | 
			
		||||
   <log>
 | 
			
		||||
      <!-- controls where rolling log files are stored
 | 
			
		||||
           If directory is changed from default, may also want to
 | 
			
		||||
           pass '-l some-dir' to hostd program at startup.
 | 
			
		||||
        -->
 | 
			
		||||
 | 
			
		||||
      <directory>/var/log/vmware/</directory>
 | 
			
		||||
 | 
			
		||||
      <!-- name of log file -->
 | 
			
		||||
      <name>hostd</name>
 | 
			
		||||
 | 
			
		||||
      <!-- If true, redirect stderr to stdout. stdout inherits from
 | 
			
		||||
           parent process. Log() (limited to default log level (see below))
 | 
			
		||||
           will then be written to stdout.  If false, stderr and stdout
 | 
			
		||||
           are redirected to /dev/null on linux. On win32 this option is
 | 
			
		||||
           not used.
 | 
			
		||||
           At runtime, see vimsh internalsvc/redirect_stdout|err
 | 
			
		||||
        -->
 | 
			
		||||
      <outputToConsole>true</outputToConsole>
 | 
			
		||||
 | 
			
		||||
      <!-- If true, logs to syslog -->
 | 
			
		||||
      <outputToSyslog>false</outputToSyslog>
 | 
			
		||||
 | 
			
		||||
      <!-- If true, log to files on disk -->
 | 
			
		||||
      <!-- <outputToFiles>true</outputToFiles> -->
 | 
			
		||||
 | 
			
		||||
      <!-- syslog configuration.  Only used if outputToSyslog is true. -->
 | 
			
		||||
      <syslog>
 | 
			
		||||
         <!-- syslog identifier to use when logging -->
 | 
			
		||||
         <ident>Hostd</ident>
 | 
			
		||||
 | 
			
		||||
         <!-- syslog facility to use when logging -->
 | 
			
		||||
         <facility>local4</facility>
 | 
			
		||||
 | 
			
		||||
         <!-- The section header contents are placed in this file at startup.
 | 
			
		||||
              When vmsyslogd rotates the hostd log file, it logs the content of this
 | 
			
		||||
              file to syslog. This is being done so that we don't lose context on log
 | 
			
		||||
              rotations.
 | 
			
		||||
              IMPORTANT: Value needs to match that in onrotate entry in
 | 
			
		||||
              vmsyslog.d/hostd.conf
 | 
			
		||||
         -->
 | 
			
		||||
         <logHeaderFile>/var/run/vmware/hostdLogHeader.txt</logHeaderFile>
 | 
			
		||||
 | 
			
		||||
      </syslog>
 | 
			
		||||
 | 
			
		||||
      <!-- default size(in bytes) of each log file before rolling over to next -->
 | 
			
		||||
      <!-- <maxFileSize>10485760</maxFileSize> -->
 | 
			
		||||
 | 
			
		||||
      <!-- default number of log files to rotate amongst -->
 | 
			
		||||
      <!-- <maxFileNum>10</maxFileNum> -->
 | 
			
		||||
 | 
			
		||||
      <!-- default log level -->
 | 
			
		||||
      <level>verbose</level>
 | 
			
		||||
 | 
			
		||||
      <!-- if false disable logging to memory buffer -->
 | 
			
		||||
      <!-- <outputToMemory>true</outputToMemory> -->
 | 
			
		||||
 | 
			
		||||
      <!-- default memory log level -->
 | 
			
		||||
      <!-- <memoryLevel>verbose</memoryLevel> -->
 | 
			
		||||
 | 
			
		||||
      <!-- memory log buffer size in KB -->
 | 
			
		||||
      <!-- <memoryLogSizeK>64</memoryLogSizeK> -->
 | 
			
		||||
   </log>
 | 
			
		||||
 | 
			
		||||
   <!-- The root password will expire if this value is set to true -->
 | 
			
		||||
   <rootPasswdExpiration>false</rootPasswdExpiration>
 | 
			
		||||
 | 
			
		||||
   <!-- Log level configuration (Rules are applied in order)
 | 
			
		||||
    <level id = "0">
 | 
			
		||||
       <logName> App </logName>
 | 
			
		||||
       <logLevel> info </logLevel>
 | 
			
		||||
       <memoryLevel>verbose</memoryLevel>
 | 
			
		||||
       <prefix> true </prefix>
 | 
			
		||||
    </level>
 | 
			
		||||
    <level id = "1">
 | 
			
		||||
       <logName> BaseLibs </logName>
 | 
			
		||||
       <logLevel> quiet </logLevel>
 | 
			
		||||
       <memoryLevel>verbose</memoryLevel>
 | 
			
		||||
       <prefix> false </prefix>
 | 
			
		||||
    </level>
 | 
			
		||||
    <level id = "2">
 | 
			
		||||
       <logName> Vmsvc </logName>
 | 
			
		||||
       <logLevel> info </logLevel>
 | 
			
		||||
       <memoryLevel>verbose</memoryLevel>
 | 
			
		||||
       <prefix> true </prefix>
 | 
			
		||||
    </level>
 | 
			
		||||
    <level id = "3">
 | 
			
		||||
       <logName> /vmfs/volumes/foo/foo.vmx </logName>
 | 
			
		||||
       <logLevel> trivia </logLevel>
 | 
			
		||||
       <memoryLevel>verbose</memoryLevel>
 | 
			
		||||
       <prefix> false </prefix>
 | 
			
		||||
    </level>
 | 
			
		||||
    <level id = "Vigor">
 | 
			
		||||
       <logName> Vigor </logName>
 | 
			
		||||
       <logLevel> info </logLevel>
 | 
			
		||||
       <memoryLevel>verbose</memoryLevel>
 | 
			
		||||
       <prefix> true </prefix>
 | 
			
		||||
    </level>
 | 
			
		||||
   -->
 | 
			
		||||
   <level id = "4">
 | 
			
		||||
      <logName> SoapAdapter.HTTPService </logName>
 | 
			
		||||
      <logLevel> info </logLevel>
 | 
			
		||||
      <prefix> false </prefix>
 | 
			
		||||
   </level>
 | 
			
		||||
 | 
			
		||||
   <level id="TCP">
 | 
			
		||||
     <logName>TCP</logName>
 | 
			
		||||
     <logLevel>error</logLevel>
 | 
			
		||||
     <prefix>false</prefix>
 | 
			
		||||
   </level>
 | 
			
		||||
 | 
			
		||||
   <!--
 | 
			
		||||
   <level id="IO">
 | 
			
		||||
     <logName>IO</logName>
 | 
			
		||||
     <logLevel>error</logLevel>
 | 
			
		||||
     <prefix>false</prefix>
 | 
			
		||||
   </level>
 | 
			
		||||
   -->
 | 
			
		||||
 | 
			
		||||
   <!--
 | 
			
		||||
        Logger for the data passed through the proxy
 | 
			
		||||
        Uncomment the following block to enable it.
 | 
			
		||||
 | 
			
		||||
        WARNING: this data may contain sensitive informatino, such as
 | 
			
		||||
        passwords, session IDs, etc.
 | 
			
		||||
   -->
 | 
			
		||||
   <!--
 | 
			
		||||
   <level id="ProxyReqData">
 | 
			
		||||
     <logName>Proxy Req Data</logName>
 | 
			
		||||
     <logLevel>trivia</logLevel>
 | 
			
		||||
     <prefix>true</prefix>
 | 
			
		||||
   </level>
 | 
			
		||||
   -->
 | 
			
		||||
 | 
			
		||||
   <!-- Remove the following node to disable SSL -->
 | 
			
		||||
   <ssl>
 | 
			
		||||
      <!-- The server private key file -->
 | 
			
		||||
      <privateKey>/etc/vmware/ssl/rui.key</privateKey>
 | 
			
		||||
 | 
			
		||||
      <!-- The server side certificate file -->
 | 
			
		||||
      <certificate>/etc/vmware/ssl/rui.crt</certificate>
 | 
			
		||||
 | 
			
		||||
      <!-- The SSL version to use -->
 | 
			
		||||
      <!-- <sslVersion>all</sslVersion> -->
 | 
			
		||||
   </ssl>
 | 
			
		||||
 | 
			
		||||
   <!-- Directory on the Console OS accessible to the DatastoreBrowser -->
 | 
			
		||||
   <browsableConsoleDir>/vmimages</browsableConsoleDir>
 | 
			
		||||
 | 
			
		||||
   <!-- Location of vm inventory file on legacy host -->
 | 
			
		||||
   <!-- <legacyVmInventory>/etc/vmware/vm-list</legacyVmInventory> -->
 | 
			
		||||
 | 
			
		||||
   <!-- VMOMI configuration -->
 | 
			
		||||
   <vmomi>
 | 
			
		||||
     <!-- MOB configuration -->
 | 
			
		||||
     <mob>
 | 
			
		||||
       <!-- Max size of POST requests in KB -->
 | 
			
		||||
       <!-- <maxPostRequestSizeKB>1024</maxPostRequestSizeKB> -->
 | 
			
		||||
     </mob>
 | 
			
		||||
     <!-- VMOMI validator configuration -->
 | 
			
		||||
     <validation>
 | 
			
		||||
       <!-- The validation is enabled by default -->
 | 
			
		||||
       <!-- <enabled>true</enabled> -->
 | 
			
		||||
     </validation>
 | 
			
		||||
   </vmomi>
 | 
			
		||||
 | 
			
		||||
   <vmacore>
 | 
			
		||||
      <pluginBaseDir>./</pluginBaseDir>
 | 
			
		||||
      <!-- default thread pool configuration for Posix impl -->
 | 
			
		||||
      <threadPool>
 | 
			
		||||
        <IoMin>2</IoMin>
 | 
			
		||||
        <IoMax>32</IoMax>
 | 
			
		||||
        <TaskMin>2</TaskMin>
 | 
			
		||||
        <TaskMax>12</TaskMax>
 | 
			
		||||
        <MaxFdsPerThread> 2048 </MaxFdsPerThread>
 | 
			
		||||
        <NumKeepAlive>8</NumKeepAlive>
 | 
			
		||||
        <ThreadCheckTimeSecs>600</ThreadCheckTimeSecs>
 | 
			
		||||
        <ThreadStackSizeKb>256</ThreadStackSizeKb>
 | 
			
		||||
        <threadNamePrefix>hostd</threadNamePrefix>
 | 
			
		||||
        <!-- <threadCountWarningThreshold>2</threadCountWarningThreshold> -->
 | 
			
		||||
 | 
			
		||||
        <!-- Use fair work queues thread pool. -->
 | 
			
		||||
        <!-- <fairThreadPool>true</fairThreadPool> -->
 | 
			
		||||
 | 
			
		||||
        <!-- defaults to 14, Max number of threads used for FWQ items -->
 | 
			
		||||
        <!-- <maxThreads>14</maxThreads> -->
 | 
			
		||||
 | 
			
		||||
        <!-- defaults to 5, Initial number of threads used for FWQ items -->
 | 
			
		||||
        <!-- <minThreads>5</minThreads> -->
 | 
			
		||||
 | 
			
		||||
         <!-- defaults to 2, number of IO threads used by the FWQ thread pool -->
 | 
			
		||||
         <!-- These threads perform the asynchronous IO and provide timer services.
 | 
			
		||||
                  Generally small number should be enough as no blocking operations
 | 
			
		||||
                  are executed within IO threads.
 | 
			
		||||
                  A CPU intensive operation performed in these threads is SSL handling,
 | 
			
		||||
                  so on multi-CPU machine with high volume of SSL traffic it may be
 | 
			
		||||
                  beneficial increasing this number.
 | 
			
		||||
         -->
 | 
			
		||||
         <!-- <ioThreads>2</ioThreads> -->
 | 
			
		||||
 | 
			
		||||
        <!-- defaults to 3, Ratio between the number of concurrent items in a
 | 
			
		||||
             priority and threads reserved for higher priority queues.
 | 
			
		||||
             One thread is reserver for every N concurrent items.  -->
 | 
			
		||||
        <!-- <reservationRatio>3</reservationRatio> -->
 | 
			
		||||
 | 
			
		||||
      </threadPool>
 | 
			
		||||
      <ssl>
 | 
			
		||||
          <doVersionCheck> false </doVersionCheck>
 | 
			
		||||
          <libraryPath>/usr/lib/vmware</libraryPath>
 | 
			
		||||
          <!-- allowed SSL/TLS protocol versions -->
 | 
			
		||||
          <!-- <protocols>tls1.0,tls1.1,tls1.2</protocols> -->
 | 
			
		||||
 | 
			
		||||
         <!-- timeouts for the SSL handshake. the default is 20 sec. -->
 | 
			
		||||
         <!-- <handshakeTimeoutMs>60000</handshakeTimeoutMs> -->
 | 
			
		||||
      </ssl>
 | 
			
		||||
 | 
			
		||||
      <http>
 | 
			
		||||
         <!-- timeouts for HTTP connections. the defaults are infinite. -->
 | 
			
		||||
         <!-- <readTimeoutMs>60000</readTimeoutMs> -->
 | 
			
		||||
         <!-- <writeTimeoutMs>60000</writeTimeoutMs> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Num of max proxy connections -->
 | 
			
		||||
         <!-- PR 604415: Temporary lower the connections limit to 128 -->
 | 
			
		||||
         <maxConnections> 128 </maxConnections>
 | 
			
		||||
      </http>
 | 
			
		||||
 | 
			
		||||
      <vmdb>
 | 
			
		||||
         <!-- maximum number of VMDB connections allowed -->
 | 
			
		||||
         <!-- <maxConnectionCount>100</maxConnectionCount> -->
 | 
			
		||||
 | 
			
		||||
         <!-- timeouts for VMDB connections. the defaults are infinite. -->
 | 
			
		||||
         <!-- <readTimeoutMs>60000</readTimeoutMs> -->
 | 
			
		||||
         <!-- <writeTimeoutMs>60000</writeTimeoutMs> -->
 | 
			
		||||
      </vmdb>
 | 
			
		||||
 | 
			
		||||
      <!-- enable plugin loading -->
 | 
			
		||||
      <loadPlugins> true </loadPlugins>
 | 
			
		||||
 | 
			
		||||
      <!-- enable/disable the dynamic loading of plugins -->
 | 
			
		||||
      <loadDynamicPlugins> false </loadDynamicPlugins>
 | 
			
		||||
 | 
			
		||||
      <!-- Enable/disable the stack tracer -->
 | 
			
		||||
      <!-- <useStackTracer>false</useStackTracer> -->
 | 
			
		||||
 | 
			
		||||
      <xml>
 | 
			
		||||
         <doc>
 | 
			
		||||
            <!-- maximum size of each XML message. -->
 | 
			
		||||
            <maxChars>104857600</maxChars>
 | 
			
		||||
            <!-- maximum nodes in of each XML message. -->
 | 
			
		||||
            <maxNodes>524288</maxNodes>
 | 
			
		||||
            <!-- maximum node depth of each XML message. -->
 | 
			
		||||
            <maxDepth>1000</maxDepth>
 | 
			
		||||
         </doc>
 | 
			
		||||
      </xml>
 | 
			
		||||
   </vmacore>
 | 
			
		||||
 | 
			
		||||
   <dispatcher>
 | 
			
		||||
      <!-- turns dispatcher on/off -->
 | 
			
		||||
      <!-- <enabled>true</enabled> -->
 | 
			
		||||
 | 
			
		||||
      <!-- Enables debugging output -->
 | 
			
		||||
      <!-- <debug>false</debug> -->
 | 
			
		||||
 | 
			
		||||
      <!-- Debug flags -->
 | 
			
		||||
      <!-- <flags>0</flags> -->
 | 
			
		||||
 | 
			
		||||
      <!-- The file containing dispatcher policies -->
 | 
			
		||||
      <dispatcherConfig>/etc/vmware/hostd/dispatcher.xml</dispatcherConfig>
 | 
			
		||||
 | 
			
		||||
      <!-- The file containing tag extraction rules -->
 | 
			
		||||
      <tagExtractorConfig>/etc/vmware/hostd/tagExtractor.xml</tagExtractorConfig>
 | 
			
		||||
   </dispatcher>
 | 
			
		||||
 | 
			
		||||
   <plugins>
 | 
			
		||||
      <vimsvc>
 | 
			
		||||
         <path>libvimsvc.so</path>
 | 
			
		||||
 | 
			
		||||
         <!-- default administrator principal -->
 | 
			
		||||
         <!-- <defaultPrincipal>root</defaultPrincipal> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default file used to persist ACL data -->
 | 
			
		||||
         <!-- <authorization>/etc/vmware/hostd/authorization.xml</authorization> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default file used to supply required privileges for dynamic methods -->
 | 
			
		||||
         <!-- <dynMethodPrivConfig>/etc/vmware/hostd/dynMethodPriv.xml</dynMethodPrivConfig> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default setting for performing authorization checks -->
 | 
			
		||||
         <enableAuthCheck>true</enableAuthCheck>
 | 
			
		||||
 | 
			
		||||
         <!-- default setting for where vmware-hostd-ticket directory is created -->
 | 
			
		||||
         <!-- <localTicketParentDir>/var/run</localTicketParentDir> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default setting for life time of a local ticket -->
 | 
			
		||||
         <!-- <localTicketLifeSecs>10</localTicketLifeSecs> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default setting for maximum number of times a ticket can be used -->
 | 
			
		||||
         <!-- <localTicketMaxUse>1</localTicketMaxUse> -->
 | 
			
		||||
 | 
			
		||||
    <!-- time to retain tasks after they complete -->
 | 
			
		||||
    <!-- <taskRetentionInMins> 10 </taskRetentionInMins> -->
 | 
			
		||||
 | 
			
		||||
    <!-- cleanup interval time between task reaping -->
 | 
			
		||||
    <!-- <taskCleanupIntervalInMins> 1 </taskCleanupIntervalInMins> -->
 | 
			
		||||
 | 
			
		||||
         <!-- maximum number of events to store -->
 | 
			
		||||
         <!-- <maxEvents>1000</maxEvents> -->
 | 
			
		||||
 | 
			
		||||
    <!-- development build default setting for license mockup -->
 | 
			
		||||
    <licenseMockup>false</licenseMockup>
 | 
			
		||||
 | 
			
		||||
         <!-- Disable i18nFilter -->
 | 
			
		||||
         <!-- <i18nFilterDisabled> false </i18nFilterDisabled> -->
 | 
			
		||||
         <!-- cloning of objects by i18nFilter -->
 | 
			
		||||
         <!-- <i18nCloneDisabled> true </i18nCloneDisabled> -->
 | 
			
		||||
         <license>
 | 
			
		||||
            <!-- location of the read-write flexlm configuration file -->
 | 
			
		||||
            <!-- <config> /etc/vmware/license.cfg </config> -->
 | 
			
		||||
         </license>
 | 
			
		||||
         <userManager>
 | 
			
		||||
            <!-- Max time in seconds to wait for a subcommand to complete -->
 | 
			
		||||
            <!-- <subcommandWait> 10 </subcommandWait> -->
 | 
			
		||||
         </userManager>
 | 
			
		||||
 | 
			
		||||
         <!-- VC API lockdown mode (MN) - true to enable handling it -->
 | 
			
		||||
         <apiLockdown>true</apiLockdown>
 | 
			
		||||
 | 
			
		||||
         <requires>hostsvc solo</requires>
 | 
			
		||||
 | 
			
		||||
      </vimsvc>
 | 
			
		||||
      <hostsvc>
 | 
			
		||||
         <path>libhostsvc.so</path>
 | 
			
		||||
 | 
			
		||||
         <vflash>
 | 
			
		||||
            <defaultVFlashModule>vfc</defaultVFlashModule>
 | 
			
		||||
            <vffsUuid>0</vffsUuid>
 | 
			
		||||
            <refreshVffsInterval>30</refreshVffsInterval>
 | 
			
		||||
         </vflash>
 | 
			
		||||
 | 
			
		||||
         <datastore>
 | 
			
		||||
            <!-- default datastore inventory-->
 | 
			
		||||
            <!-- <inventory>/etc/vmware/hostd/datastores.xml</inventory> -->
 | 
			
		||||
 | 
			
		||||
            <!-- default datastore refresh interval in minutes -->
 | 
			
		||||
            <!-- use 0 to disable the auto refresh -->
 | 
			
		||||
            <!-- <refreshInterval>0</refreshInterval> -->
 | 
			
		||||
 | 
			
		||||
            <!-- default refresh interval for datastore-freespace when provisioning virtual disks -->
 | 
			
		||||
            <!-- <refreshVdiskInterval>30</refreshVdiskInterval> -->
 | 
			
		||||
         </datastore>
 | 
			
		||||
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <!-- turns mockup impl on/off -->
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
 | 
			
		||||
            <!-- default filepath for host info -->
 | 
			
		||||
            <filepath>/etc/vmware/hostd/mockup-host-config.xml</filepath>
 | 
			
		||||
         </mockup>
 | 
			
		||||
         <vmResources>/etc/vmware/hostd/vmResources.xml</vmResources>
 | 
			
		||||
 | 
			
		||||
         <!-- default location of the hostsvc config file -->
 | 
			
		||||
         <!-- <config>/etc/vmware/hostd/hostsvc.xml</config> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default location of the resource pool config file -->
 | 
			
		||||
         <!-- <pools>/etc/vmware/hostd/pools.xml</pools> -->
 | 
			
		||||
 | 
			
		||||
         <!-- default location of the host service list -->
 | 
			
		||||
         <services>/etc/vmware/service/</services>
 | 
			
		||||
 | 
			
		||||
         <storage>
 | 
			
		||||
            <!-- storage data synchronization policy-->
 | 
			
		||||
 | 
			
		||||
       <!-- policy: invalidate on configuration change (default) -->
 | 
			
		||||
            <!-- <syncpolicy>invalid_change</syncpolicy> -->
 | 
			
		||||
 | 
			
		||||
       <!-- policy: always fetch data when queried -->
 | 
			
		||||
            <!-- <syncpolicy>fetch_always</syncpolicy> -->
 | 
			
		||||
 | 
			
		||||
       <!-- policy: fetch data on configuration change -->
 | 
			
		||||
            <!-- <syncpolicy>fetch_change</syncpolicy> -->
 | 
			
		||||
 | 
			
		||||
            <!-- default storage inventory refetch interval, after getting multiple Path-state change events, in seconds -->
 | 
			
		||||
            <refetchStorageInterval>120</refetchStorageInterval>
 | 
			
		||||
         </storage>
 | 
			
		||||
 | 
			
		||||
         <rsrc>
 | 
			
		||||
            <!-- Refresh interval (in seconds) for root resource pool capacity -->
 | 
			
		||||
            <!-- <refreshInterval>60</refreshInterval> -->
 | 
			
		||||
         </rsrc>
 | 
			
		||||
         <vmfs2upgrade>
 | 
			
		||||
            <!-- <undoattempts>15</undoattempts> -->
 | 
			
		||||
            <!-- <timeoutmsec>2000</timeoutmsec> -->
 | 
			
		||||
         </vmfs2upgrade>
 | 
			
		||||
 | 
			
		||||
         <!-- Controls to enable/disable expressions in the datastore filter -->
 | 
			
		||||
         <!-- <datastoresystem> -->
 | 
			
		||||
       <!-- <diskfilter> -->
 | 
			
		||||
               <!-- <NoUsbDisks>true</NoUsbDisks> -->
 | 
			
		||||
               <!-- <UsedAsVmRdm>true</UsedAsVmRdm> -->
 | 
			
		||||
       <!-- </diskfilter> -->
 | 
			
		||||
         <!-- </datastoresystem> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Controls to enable/disable expressions in the SCSI LUN filter -->
 | 
			
		||||
         <!-- <scsilunfilter> -->
 | 
			
		||||
            <!-- <NoUsbDisks>true</NoUsbDisks> -->
 | 
			
		||||
         <!-- </scsilunfilter> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Controls to enable/disable expressions in the RDM filter -->
 | 
			
		||||
         <!-- <rdmfilter> -->
 | 
			
		||||
            <!-- <RdmCapable>true</RdmCapable> -->
 | 
			
		||||
         <!-- </rdmfilter> -->
 | 
			
		||||
    <!-- <maxVms> 512 </maxVms> -->
 | 
			
		||||
         <NetmapFile> /etc/vmware/netmap.conf </NetmapFile>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
         <!-- Storage I/O Resource Manager settings -->
 | 
			
		||||
         <storageiorm>
 | 
			
		||||
             <enabled>false</enabled>
 | 
			
		||||
             <congestionThreshold.min>5</congestionThreshold.min>
 | 
			
		||||
             <congestionThreshold.max>100</congestionThreshold.max>
 | 
			
		||||
             <congestionThreshold.default>30</congestionThreshold.default>
 | 
			
		||||
         </storageiorm>
 | 
			
		||||
      </hostsvc>
 | 
			
		||||
      <vmsvc>
 | 
			
		||||
         <path>libvmsvc.so</path>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
         <enableMockup>false</enableMockup>
 | 
			
		||||
 | 
			
		||||
    <!--
 | 
			
		||||
    Check for version mismatches against the vmkernel.
 | 
			
		||||
    This is disabled by default for developers but for all other
 | 
			
		||||
    users, they must keep their vmkernels upto date.
 | 
			
		||||
     -->
 | 
			
		||||
    <checkVersionMismatch> false </checkVersionMismatch>
 | 
			
		||||
         <!-- <vmDirectory> /home/vmware </vmDirectory> -->
 | 
			
		||||
    <!-- <maxSnapshotDepth> 32 </maxSnapshotDepth> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Configuration options for quiesced snapshots -->
 | 
			
		||||
         <quiescedSnap>
 | 
			
		||||
            <!-- Seconds that quiesce requests will queue before continuing. -->
 | 
			
		||||
            <!-- <serializeTimeout> 120 </serializeTimeout> -->
 | 
			
		||||
         </quiescedSnap>
 | 
			
		||||
 | 
			
		||||
    <!-- The maximum number of virtual disks allowed on this host -->
 | 
			
		||||
    <!-- <maxDisksPerVirtualMachine> 120 </maxDisksPerVirtualMachine> -->
 | 
			
		||||
 | 
			
		||||
    <!-- The timer interval for task updates in microseconds -->
 | 
			
		||||
    <!-- <taskTimerInterval> 1000000 </taskTimerInterval> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Default user context to use to perform VM operations -->
 | 
			
		||||
    <!-- <datastorePrincipal>root</datastorePrincipal> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Virtual machine VMotion parameters -->
 | 
			
		||||
         <vmotion>
 | 
			
		||||
            <!-- Timeout for VMotion prepare operation (milliseconds) -->
 | 
			
		||||
            <!-- <prepareTimeout> 30000 </prepareTimeout> -->
 | 
			
		||||
 | 
			
		||||
            <!-- Timeout for VMotion source initiate operation (milliseconds) -->
 | 
			
		||||
            <!-- <srcInitiateTimeout> 30000 </srcInitiateTimeout> -->
 | 
			
		||||
 | 
			
		||||
            <!-- Timeout for VMotion destination ID population (milliseconds) -->
 | 
			
		||||
            <!-- <dstIdTimeout> 120000 </dstIdTimeout> -->
 | 
			
		||||
         </vmotion>
 | 
			
		||||
         <!-- <defaultPowerOffType> soft </defaultPowerOffType> -->
 | 
			
		||||
         <!-- <defaultSuspendType> hard </defaultSuspendType> -->
 | 
			
		||||
         <!-- <defaultResetType> hard </defaultResetType> -->
 | 
			
		||||
         <!-- <validateVMId> false </validateVMId> -->
 | 
			
		||||
    <!-- <heartbeatCheckTimeInSecs> 30 </heartbeatCheckTimeInSecs> -->
 | 
			
		||||
         <!-- <heartbeatRedAlert> 0.40 </heartbeatRedAlert> -->
 | 
			
		||||
         <!-- <heartbeatYellowAlert> 0.80 </heartbeatYellowAlert> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Setting to enable/disable activation of change tracking -->
 | 
			
		||||
    <!-- when upgrading a virtual machine's HW version to HW7 or newer -->
 | 
			
		||||
    <!-- or when adding a new disk to a HW7 or newer VM. -->
 | 
			
		||||
    <!-- <useChangeTracking> true </useChangeTracking> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Setting to enable/disable the use of vigorVim to read the -->
 | 
			
		||||
         <!-- vm configuration information -->
 | 
			
		||||
         <useVigorVim> true </useVigorVim>
 | 
			
		||||
 | 
			
		||||
         <requires>vimsvc</requires>
 | 
			
		||||
 | 
			
		||||
      </vmsvc>
 | 
			
		||||
      <vcsvc>
 | 
			
		||||
         <path>libvcsvc.so</path>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
         <!-- VMotion parameters -->
 | 
			
		||||
         <vmotion>
 | 
			
		||||
            <!-- Location of the VMotion journal; either an absolute -->
 | 
			
		||||
            <!-- path or relative to the default log path -->
 | 
			
		||||
            <!-- <journalDir> journal </journalDir> -->
 | 
			
		||||
 | 
			
		||||
            <!-- Source-side VMotion timeout (milliseconds) -->
 | 
			
		||||
            <!-- <srcBeginTimeout> 240000 </srcBeginTimeout> -->
 | 
			
		||||
 | 
			
		||||
            <!-- Destination-side VMotion timeout (milliseconds) -->
 | 
			
		||||
            <!-- <dstBeginTimeout> 60000 </dstBeginTimeout> -->
 | 
			
		||||
         </vmotion>
 | 
			
		||||
 | 
			
		||||
         <!-- AgentManager parameters -->
 | 
			
		||||
         <agentMgr>
 | 
			
		||||
           <!-- Timeout (in seconds) for the upgrade command -->
 | 
			
		||||
           <!-- <timeout> 360 </timeout> -->
 | 
			
		||||
 | 
			
		||||
           <!-- Name of the upgrade directory (relative to a provided tmpdir) -->
 | 
			
		||||
           <!-- <upgradeDir> ha-agentmgr </upgradeDir> -->
 | 
			
		||||
 | 
			
		||||
           <!-- upgradeCerts is a path to a file containing accepted signer certificates -->
 | 
			
		||||
           <!-- <upgradeCerts>/usr/share/certs/vmware.cert</upgradeCerts> -->
 | 
			
		||||
 | 
			
		||||
           <!-- Path to shell -->
 | 
			
		||||
           <!-- <shellPath>/bin/sh</shellPath> -->
 | 
			
		||||
 | 
			
		||||
         </agentMgr>
 | 
			
		||||
 | 
			
		||||
         <requires>hostsvc</requires>
 | 
			
		||||
 | 
			
		||||
      </vcsvc>
 | 
			
		||||
      <solo>
 | 
			
		||||
         <path>libsolo.so</path>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
 | 
			
		||||
    <!-- The file containing the list of environment description files -->
 | 
			
		||||
    <environments>/etc/vmware/hostd/environments.xml</environments>
 | 
			
		||||
 | 
			
		||||
         <!-- The file containing the virtual machine inventory -->
 | 
			
		||||
         <vmInventory>/etc/vmware/hostd/vmInventory.xml</vmInventory>
 | 
			
		||||
 | 
			
		||||
         <!-- The file containing the AutoStart settings -->
 | 
			
		||||
         <!-- <vmAutoStart>/etc/vmware/hostd/vmAutoStart.xml</vmAutoStart> -->
 | 
			
		||||
 | 
			
		||||
         <!-- The file containing the resource pool and VM resource settings -->
 | 
			
		||||
         <!-- <resources>/etc/vmware/hostd/resources.xml</resources> -->
 | 
			
		||||
 | 
			
		||||
         <!-- The file containing the provisoning policies -->
 | 
			
		||||
         <provisioningPolicy>/etc/vmware/hostd/env/provisioningPolicy.xml</provisioningPolicy>
 | 
			
		||||
 | 
			
		||||
    <!-- The file containing the hardware info mockup -->
 | 
			
		||||
    <hwInfo>/etc/vmware/hostd/hwInfo.xml</hwInfo>
 | 
			
		||||
 | 
			
		||||
         <!-- Controls to enable/disable expressions in the RDM filter -->
 | 
			
		||||
         <!-- <rdmfilter> -->
 | 
			
		||||
            <!-- Only show disks that are attached to shared storage. -->
 | 
			
		||||
            <!-- <HbaIsShared>true</HbaIsShared> -->
 | 
			
		||||
 | 
			
		||||
            <!-- Only show disks that are not an extent of a VMFS volume. -->
 | 
			
		||||
            <!-- <UsedByVmfs>true</UsedByVmfs> -->
 | 
			
		||||
 | 
			
		||||
            <!-- Only show disks that are not already used as an RDM target. -->
 | 
			
		||||
            <!-- <UsedAsVmRdm>true</UsedAsVmRdm> -->
 | 
			
		||||
         <!-- </rdmfilter> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Disable Resource Pool Initialization -->
 | 
			
		||||
         <!-- <disableResourcePoolInit> false </disableResourcePoolInit> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Soap port. Also turns on proxy forwarding to a TCP port -->
 | 
			
		||||
    <soapPort> 8307 </soapPort>
 | 
			
		||||
 | 
			
		||||
    <!-- Secure Soap port for accecpting SSL tunneling from proxy -->
 | 
			
		||||
    <!-- If disabled, SSL tunneling is done over a named pipe. -->
 | 
			
		||||
    <!-- <secureSoapPort> 8306 </secureSoapPort> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Whether to enable secure Soap adapter -->
 | 
			
		||||
         <enableSecureSoap> false </enableSecureSoap>
 | 
			
		||||
 | 
			
		||||
    <!-- 64 bit support -->
 | 
			
		||||
    <!-- <support64bit> true </support64bit> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Enable Vmomi tracing -->
 | 
			
		||||
    <!-- <traceVmomi> true </traceVmomi> -->
 | 
			
		||||
 | 
			
		||||
    <!-- The log level at which to output vmomi tracing -->
 | 
			
		||||
    <traceAt> verbose </traceAt>
 | 
			
		||||
 | 
			
		||||
    <!-- Whether to only trace faults in the return -->
 | 
			
		||||
    <!-- <traceFaultsOnly> true </traceFaultsOnly> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Cause segv -->
 | 
			
		||||
    <!-- <causeSegv> false </causeSegv> -->
 | 
			
		||||
 | 
			
		||||
    <!-- Cause exception -->
 | 
			
		||||
    <!-- <causeException> false </causeException> -->
 | 
			
		||||
 | 
			
		||||
    <loglevels>
 | 
			
		||||
          <module>
 | 
			
		||||
             <name> disklib </name>
 | 
			
		||||
             <level> 0 </level>
 | 
			
		||||
          </module>
 | 
			
		||||
          <!-- <module> -->
 | 
			
		||||
             <!-- <name> baz </name> -->
 | 
			
		||||
             <!-- <level> 2 </level> -->
 | 
			
		||||
             <!-- <extension> bar </extension> -->
 | 
			
		||||
       <!-- </module> -->
 | 
			
		||||
    </loglevels>
 | 
			
		||||
 | 
			
		||||
    <!-- web server settings -->
 | 
			
		||||
    <webServer>
 | 
			
		||||
       
 | 
			
		||||
       <docRoot> /usr/lib/vmware/hostd/docroot/</docRoot>
 | 
			
		||||
       <cgiBinPath> /usr/lib/vmware/hostd/cgi-bin/</cgiBinPath>
 | 
			
		||||
    </webServer>
 | 
			
		||||
 | 
			
		||||
         <!-- Enable managed object browser -->
 | 
			
		||||
         <!-- <enableMob>true</enableMob> -->
 | 
			
		||||
 | 
			
		||||
    <!-- periodic keep alive logging -->
 | 
			
		||||
    <!-- <runTimerTest> false </runTimerTest> -->
 | 
			
		||||
    <!-- <runTimerIntervalInSecs> 3 </runTimerIntervalInSecs> -->
 | 
			
		||||
 | 
			
		||||
         <dynamo>
 | 
			
		||||
            <enabled> false </enabled>
 | 
			
		||||
 | 
			
		||||
            <manager id="0">
 | 
			
		||||
               <enabled> true </enabled>
 | 
			
		||||
               <moId>ha-dynamic-type-manager-python</moId>
 | 
			
		||||
               <type>soap-stdio</type>
 | 
			
		||||
               <soap-stdio>
 | 
			
		||||
                  <command>/usr/bin/sh</command>
 | 
			
		||||
                  <arg id="0">-l</arg>
 | 
			
		||||
                  <arg id="1">-c</arg>
 | 
			
		||||
                  <arg id="2">/usr/bin/python -m PyVmomiServer -g --loglevel info -s PyVmomiServer</arg>
 | 
			
		||||
               </soap-stdio>
 | 
			
		||||
            </manager>
 | 
			
		||||
 | 
			
		||||
            <manager id="1">
 | 
			
		||||
               <enabled> false </enabled>
 | 
			
		||||
               <moId>ha-dynamic-type-manager-vapi</moId>
 | 
			
		||||
               <type>soap-http</type>
 | 
			
		||||
               <soap-http>
 | 
			
		||||
                  <port>8088</port>
 | 
			
		||||
                  <command>/usr/bin/sh</command>
 | 
			
		||||
                  <arg id="0">-l</arg>
 | 
			
		||||
                  <arg id="1">-c</arg>
 | 
			
		||||
                  <arg id="2">/sbin/vapid -s vapid</arg>
 | 
			
		||||
               </soap-http>
 | 
			
		||||
            </manager>
 | 
			
		||||
 | 
			
		||||
            <manager id="2">
 | 
			
		||||
               <enabled> true </enabled>
 | 
			
		||||
               <moId>ha-dynamic-type-manager-local-cli</moId>
 | 
			
		||||
               <type>vmware-cli</type>
 | 
			
		||||
               <vmware-cli>
 | 
			
		||||
                  <path>/usr/lib/vmware/esxcli</path>
 | 
			
		||||
               </vmware-cli>
 | 
			
		||||
            </manager>
 | 
			
		||||
         </dynamo>
 | 
			
		||||
 | 
			
		||||
         <!-- Managed method executer -->
 | 
			
		||||
         <!-- <mme> -->
 | 
			
		||||
            <!-- <enabled> true </enabled> -->
 | 
			
		||||
         <!-- </mme> -->
 | 
			
		||||
 | 
			
		||||
         <requires>hostsvc</requires>
 | 
			
		||||
      </solo>
 | 
			
		||||
 | 
			
		||||
      <!-- Reverse HTTP Proxy service -->
 | 
			
		||||
      <proxysvc>
 | 
			
		||||
         <path>libproxysvc.so</path>
 | 
			
		||||
 | 
			
		||||
         <!-- default location of the proxy config file for hosted products-->
 | 
			
		||||
         <config>/etc/vmware/hostd/proxy.xml</config>
 | 
			
		||||
         <!-- default location of proxy config file for ESX-->
 | 
			
		||||
         <endpoints>/etc/vmware/rhttpproxy/endpoints.conf</endpoints>
 | 
			
		||||
         <requires>hostsvc</requires>
 | 
			
		||||
 | 
			
		||||
      </proxysvc>
 | 
			
		||||
 | 
			
		||||
      <statssvc>
 | 
			
		||||
         <path>libstatssvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <!-- turns mockup impl on/off -->
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
 | 
			
		||||
         <!-- Directory to store stats related files in -->
 | 
			
		||||
         <!-- <depotDir> /var/lib/vmware/hostd/stats/ </depotDir> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Name of the StatsDepot -->
 | 
			
		||||
         <!-- <depotName> hostAgentStats </depotName> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Max number of stats to purge in one shot -->
 | 
			
		||||
         <!-- <maxStatsPurged> 1000 </maxStatsPurged> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Real time stats collection interval -->
 | 
			
		||||
         <!-- <collectionInterval> 20 </collectionInterval> -->
 | 
			
		||||
 | 
			
		||||
         <!-- Enable historical stats collection -->
 | 
			
		||||
         <!-- <historicalStatsEnabled> true </historicalStatsEnabled> -->
 | 
			
		||||
         <!-- Enable collection of virtual disk stats -->
 | 
			
		||||
         <!-- <collectVdiskStats> true </collectVdiskStats> -->
 | 
			
		||||
         <!-- Enable collection of Host Datastore stats -->
 | 
			
		||||
         <!-- <collectHostDsStats> true </collectHostDsStats> -->
 | 
			
		||||
         <!-- Enable collection of Storage Path and Adapter stats -->
 | 
			
		||||
         <!-- <collectPathAdapterStats> true </collectPathAdapterStats> -->
 | 
			
		||||
         <!-- Enable collection of VM Datastore stats -->
 | 
			
		||||
         <!-- <collectVmDsStats>true </collectVmDsStats> -->
 | 
			
		||||
         <!-- Enable collection of VFlash Module stats -->
 | 
			
		||||
         <!-- <collectVFlashModuleStats> true </collectVFlashModuleStats> -->
 | 
			
		||||
         <!-- Enable collection of VSAN DOM stats -->
 | 
			
		||||
         <!-- <collectVSanDomStats> false </collectVSanDomStats> -->
 | 
			
		||||
 | 
			
		||||
      </statssvc>
 | 
			
		||||
 | 
			
		||||
      <partitionsvc>
 | 
			
		||||
         <path>libpartitionsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
      </partitionsvc>
 | 
			
		||||
 | 
			
		||||
      <internalsvc>
 | 
			
		||||
         <path>libinternalsvc.so</path>
 | 
			
		||||
         <requires>hostsvc</requires>
 | 
			
		||||
      </internalsvc>
 | 
			
		||||
 | 
			
		||||
      <!-- The nfc service -->
 | 
			
		||||
      <nfcsvc>
 | 
			
		||||
         <path>libnfcsvc.so</path>
 | 
			
		||||
         <enabled>true</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
      </nfcsvc>
 | 
			
		||||
 | 
			
		||||
      <snmpsvc>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <path>libsnmpsvc.so</path>
 | 
			
		||||
      </snmpsvc>
 | 
			
		||||
 | 
			
		||||
      <blklistsvc>
 | 
			
		||||
         <path>libblklistsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <!-- <leaseTimeoutSecs> 150 </leaseTimeoutSecs> -->
 | 
			
		||||
         <!-- <wblEnabled> true </wblEnabled> -->
 | 
			
		||||
      </blklistsvc>
 | 
			
		||||
 | 
			
		||||
      <cimsvc>
 | 
			
		||||
         <path>libcimsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <maxSelEntries>40</maxSelEntries>
 | 
			
		||||
         <pollTime>90</pollTime>
 | 
			
		||||
      </cimsvc>
 | 
			
		||||
 | 
			
		||||
      <directorysvc>
 | 
			
		||||
         <path>libdirectorysvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
      </directorysvc>
 | 
			
		||||
 | 
			
		||||
      <vdisksvc>
 | 
			
		||||
         <path>libvdisksvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
      </vdisksvc>
 | 
			
		||||
 | 
			
		||||
     <vslmsvc>
 | 
			
		||||
         <path>libvslmsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
      </vslmsvc>
 | 
			
		||||
 | 
			
		||||
      <httpnfcsvc>
 | 
			
		||||
         <path>libhttpnfcsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
         <requires>proxysvc</requires>
 | 
			
		||||
      </httpnfcsvc>
 | 
			
		||||
 | 
			
		||||
      <ovfmgrsvc>
 | 
			
		||||
         <path>libovfmgrsvc.so</path>
 | 
			
		||||
         <enabled>true</enabled>
 | 
			
		||||
      </ovfmgrsvc>
 | 
			
		||||
 | 
			
		||||
      <dynsvc>
 | 
			
		||||
         <path>libdynsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <dynamic>true</dynamic>
 | 
			
		||||
      </dynsvc>
 | 
			
		||||
 | 
			
		||||
      <guestsvc>
 | 
			
		||||
         <path>libguestsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
      </guestsvc>
 | 
			
		||||
 | 
			
		||||
      <hbrsvc>
 | 
			
		||||
         <path>libhbrsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
         <mockup>
 | 
			
		||||
         <!-- Mock HBR is on if running in the the simulator -->
 | 
			
		||||
            <enabled>false</enabled>
 | 
			
		||||
         </mockup>
 | 
			
		||||
         <requires>vmsvc</requires>
 | 
			
		||||
      </hbrsvc>
 | 
			
		||||
 | 
			
		||||
      <cbrcsvc>
 | 
			
		||||
         <path>libcbrcsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
      </cbrcsvc>
 | 
			
		||||
 | 
			
		||||
      <hostspecsvc>
 | 
			
		||||
         <path>libhostspecsvc.so</path>
 | 
			
		||||
         <enabled>false</enabled>
 | 
			
		||||
     </hostspecsvc>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
   </plugins>
 | 
			
		||||
 | 
			
		||||
   <!--Locale preferences-->
 | 
			
		||||
   <!--DefaultLocale - this is the preferred default locale -->
 | 
			
		||||
   <!--InstallPath   - this is the location of the locale files-->
 | 
			
		||||
   <!--
 | 
			
		||||
   <locale>
 | 
			
		||||
      <DefaultLocale>en_US</DefaultLocale>
 | 
			
		||||
      <InstallPath>./locale/</InstallPath>
 | 
			
		||||
   </locale>
 | 
			
		||||
   -->
 | 
			
		||||
 | 
			
		||||
</config>
 | 
			
		||||
							
								
								
									
										16
									
								
								talimatname/genel/v/vmware/datastores.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								talimatname/genel/v/vmware/datastores.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
<ConfigRoot>
 | 
			
		||||
  <LocalDatastores>
 | 
			
		||||
    <_length>1</_length>
 | 
			
		||||
    <_type>hostd.host.LocalDatastoreEntry[]</_type>
 | 
			
		||||
    <e id="0">
 | 
			
		||||
      <_type>hostd.host.LocalDatastoreEntry</_type>
 | 
			
		||||
      <id>1</id>
 | 
			
		||||
      <name>standard</name>
 | 
			
		||||
      <path>/var/lib/vmware/Shared VMs</path>
 | 
			
		||||
    </e>
 | 
			
		||||
  </LocalDatastores>
 | 
			
		||||
  <NasVolumes>
 | 
			
		||||
    <_length>0</_length>
 | 
			
		||||
    <_type>hostd.host.NasDatastoreEntry[]</_type>
 | 
			
		||||
  </NasVolumes>
 | 
			
		||||
</ConfigRoot>
 | 
			
		||||
							
								
								
									
										46
									
								
								talimatname/genel/v/vmware/environments.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								talimatname/genel/v/vmware/environments.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,46 @@
 | 
			
		|||
<Environment>
 | 
			
		||||
   <Cfg id = "1">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw3.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw3.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "2">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw4.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw4.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "3">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw6.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw6.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "4">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw7.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw7.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "5">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw8.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw8.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "6">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw9.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw9.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "7">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw10.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw10.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "8">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw11.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw11.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "9">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw12.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw12.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "10">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw13.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw13.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
   <Cfg id = "11">
 | 
			
		||||
       <Descriptor> /etc/vmware/hostd/env/ws-hw14.xml </Descriptor>
 | 
			
		||||
       <Options> /etc/vmware/hostd/env/vmconfigoption-ws-hw14.xml</Options>
 | 
			
		||||
   </Cfg>
 | 
			
		||||
</Environment>
 | 
			
		||||
							
								
								
									
										5
									
								
								talimatname/genel/v/vmware/pam.d-vmware-authd
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								talimatname/genel/v/vmware/pam.d-vmware-authd
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,5 @@
 | 
			
		|||
#%PAM-1.0
 | 
			
		||||
auth     required       pam_unix.so
 | 
			
		||||
account  required       pam_unix.so
 | 
			
		||||
password required       pam_permit.so
 | 
			
		||||
session  required       pam_unix.so
 | 
			
		||||
							
								
								
									
										50
									
								
								talimatname/genel/v/vmware/proxy.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								talimatname/genel/v/vmware/proxy.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,50 @@
 | 
			
		|||
<ConfigRoot>
 | 
			
		||||
  <httpPort>-1</httpPort>
 | 
			
		||||
  <httpsPort>443</httpsPort>
 | 
			
		||||
  <EndpointList>
 | 
			
		||||
    <_length>7</_length>
 | 
			
		||||
    <_type>vim.ProxyService.EndpointSpec[]</_type>
 | 
			
		||||
    <e id="0">
 | 
			
		||||
      <_type>vim.ProxyService.NamedPipeServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpAndHttps</accessMode>
 | 
			
		||||
      <pipeName>/var/run/vmware/proxy-webserver</pipeName>
 | 
			
		||||
      <serverNamespace>/</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
    <e id="1">
 | 
			
		||||
      <_type>vim.ProxyService.LocalServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpsWithRedirect</accessMode>
 | 
			
		||||
      <port>8307</port>
 | 
			
		||||
      <serverNamespace>/sdk</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
    <e id="2">
 | 
			
		||||
      <_type>vim.ProxyService.LocalServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpsWithRedirect</accessMode>
 | 
			
		||||
      <port>8308</port>
 | 
			
		||||
      <serverNamespace>/ui</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
    <e id="3">
 | 
			
		||||
      <_type>vim.ProxyService.NamedPipeServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpsOnly</accessMode>
 | 
			
		||||
      <pipeName>/var/run/vmware/proxy-vpxa</pipeName>
 | 
			
		||||
      <serverNamespace>/vpxa</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
    <e id="4">
 | 
			
		||||
      <_type>vim.ProxyService.NamedPipeServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpsWithRedirect</accessMode>
 | 
			
		||||
      <pipeName>/var/run/vmware/proxy-mob</pipeName>
 | 
			
		||||
      <serverNamespace>/mob</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
    <e id="5">
 | 
			
		||||
      <_type>vim.ProxyService.LocalServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpAndHttps</accessMode>
 | 
			
		||||
      <port>12001</port>
 | 
			
		||||
      <serverNamespace>/ha-nfc</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
    <e id="6">
 | 
			
		||||
      <_type>vim.ProxyService.LocalServiceSpec</_type>
 | 
			
		||||
      <accessMode>httpAndHttps</accessMode>
 | 
			
		||||
      <port>12000</port>
 | 
			
		||||
      <serverNamespace>/nfc</serverNamespace>
 | 
			
		||||
    </e>
 | 
			
		||||
  </EndpointList>
 | 
			
		||||
</ConfigRoot>
 | 
			
		||||
							
								
								
									
										234
									
								
								talimatname/genel/v/vmware/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										234
									
								
								talimatname/genel/v/vmware/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,234 @@
 | 
			
		|||
# Tanım: Vmware sanal makine uygulaması
 | 
			
		||||
# URL: https://www.vmware.com/products/workstation-for-linux.html
 | 
			
		||||
# Paketçi: milisarge
 | 
			
		||||
# Gerekler: sqlite3 xorg-app
 | 
			
		||||
# Grup: sistem
 | 
			
		||||
 | 
			
		||||
isim=vmware
 | 
			
		||||
surum=14.1.1
 | 
			
		||||
devir=1
 | 
			
		||||
_derlemeno=7528167
 | 
			
		||||
_surum=${surum}_${_derlemeno}
 | 
			
		||||
kaynak=(https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-${_surum/_/-}.x86_64.bundle
 | 
			
		||||
		vmware-vix-bootstrap
 | 
			
		||||
		config
 | 
			
		||||
		bootstrap
 | 
			
		||||
		pam.d-vmware-authd
 | 
			
		||||
		vmware-environment.sh
 | 
			
		||||
		config.xml
 | 
			
		||||
		datastores.xml
 | 
			
		||||
		environments.xml
 | 
			
		||||
		proxy.xml
 | 
			
		||||
		Makefile
 | 
			
		||||
		vmmon.patch
 | 
			
		||||
		vmnet.patch)
 | 
			
		||||
 | 
			
		||||
derle() {	
 | 
			
		||||
	extracted_dir="$SRC/extracted"
 | 
			
		||||
 | 
			
		||||
	[[ -d "$extracted_dir" ]] && rm -r "$extracted_dir"
 | 
			
		||||
	
 | 
			
		||||
	bash $(readlink -f "$SRC/VMware-Workstation-Full-${_surum/_/-}.x86_64.bundle") --extract "$extracted_dir"
 | 
			
		||||
	local vmware_installer_version=$(cat "$SRC/extracted/vmware-installer/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
 | 
			
		||||
	
 | 
			
		||||
	mkdir -p \
 | 
			
		||||
	"$PKG/etc"/{cups,pam.d,modprobe.d,profile.d,thnuclnt,vmware} \
 | 
			
		||||
	"$PKG/usr"/{share,bin} \
 | 
			
		||||
	"$PKG/usr/include/vmware-vix" \
 | 
			
		||||
	"$PKG/usr/lib"/{vmware/{setup,lib/libvmware-vim-cmd.so},vmware-vix,vmware-ovftool,vmware-installer/"$vmware_installer_version",cups/filter,modules-load.d} \
 | 
			
		||||
	"$PKG/usr/share"/{doc/vmware-vix,licenses/"$isim"} \
 | 
			
		||||
	"$PKG/var/lib/vmware/Shared VMs"
 | 
			
		||||
 | 
			
		||||
	cd "$SRC/extracted"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-workstation/share/* \
 | 
			
		||||
	vmware-workstation/man \
 | 
			
		||||
	vmware-network-editor-ui/share/* \
 | 
			
		||||
	vmware-player-app/share/* \
 | 
			
		||||
	"$PKG/usr/share"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-workstation/bin/* \
 | 
			
		||||
	vmware-vmx/{,s}bin/* \
 | 
			
		||||
	vmware-vix-core/bin/* \
 | 
			
		||||
	vmware-vprobe/bin/* \
 | 
			
		||||
	vmware-workstation-server/{vmware-hostd,vmware-vim-cmd,vmware-wssc-adminTool} \
 | 
			
		||||
	vmware-network-editor-ui/bin/* \
 | 
			
		||||
	vmware-player-app/bin/* \
 | 
			
		||||
	"$PKG/usr/bin"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-workstation/lib/* \
 | 
			
		||||
	vmware-player-app/lib/* \
 | 
			
		||||
	vmware-vmx/{lib/*,roms} \
 | 
			
		||||
	vmware-vprobe/lib/* \
 | 
			
		||||
	vmware-workstation-server/{bin,lib,hostd} \
 | 
			
		||||
	vmware-usbarbitrator/bin \
 | 
			
		||||
	vmware-network-editor/lib \
 | 
			
		||||
	"$PKG/usr/lib/vmware"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-player-setup/vmware-config \
 | 
			
		||||
	"$PKG/usr/lib/vmware/setup"
 | 
			
		||||
 | 
			
		||||
	cp -rL \
 | 
			
		||||
	vmware-workstation-server/config/etc/vmware/* \
 | 
			
		||||
	vmware-workstation-server/etc/vmware/* \
 | 
			
		||||
	"$SRC"/{bootstrap,config} \
 | 
			
		||||
	"$PKG/etc/vmware"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-vix-lib-Workstation1400/lib/Workstation-14.0.0 \
 | 
			
		||||
	vmware-vix-core/{lib/*,vixwrapper-config.txt} \
 | 
			
		||||
	"$PKG/usr/lib/vmware-vix"
 | 
			
		||||
	cp vmware-vix-core/vix-perl.tar.nogz "$PKG/usr/lib/vmware-vix/vix-perl.tar.gz"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-vix-core/doc/* \
 | 
			
		||||
	"$PKG/usr/share/doc/vmware-vix"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-ovftool/* \
 | 
			
		||||
	"$PKG/usr/lib/vmware-ovftool"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-installer/{python,sopython,vmis,vmis-launcher,vmware-installer,vmware-installer.py} \
 | 
			
		||||
	"$PKG/usr/lib/vmware-installer/$vmware_installer_version"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-player-app/etc/cups/* \
 | 
			
		||||
	"$PKG/etc/cups"
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-player-app/extras/.thnumod \
 | 
			
		||||
	"$PKG/etc/thnuclnt"
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-player-app/extras/thnucups \
 | 
			
		||||
	"$PKG/usr/lib/cups/filter"
 | 
			
		||||
 | 
			
		||||
	cp -r \
 | 
			
		||||
	vmware-vix-core/include/* \
 | 
			
		||||
	"$PKG/usr/include/vmware-vix"
 | 
			
		||||
	
 | 
			
		||||
	install -Dm 644 "vmware-workstation/doc/EULA" "$PKG/usr/share/licenses/$isim/VMware Workstation - EULA.txt"
 | 
			
		||||
	install -Dm 644 "vmware-workstation/doc"/*open_source_licenses.txt "$PKG/usr/share/licenses/$isim"
 | 
			
		||||
	mv "$PKG/usr/lib/vmware-ovftool/vmware.eula" "$PKG/usr/share/licenses/$isim/VMware OVF Tool component for Linux - EULA.txt"
 | 
			
		||||
	rm "$PKG/usr/lib/vmware-ovftool"/{vmware-eula.rtf,open_source_licenses.txt,manifest.xml}
 | 
			
		||||
 | 
			
		||||
	install -Dm 644 "vmware-vmx/etc/modprobe.d/modprobe-vmware-fuse.conf" "$PKG/etc/modprobe.d/vmware-fuse.conf"
 | 
			
		||||
 | 
			
		||||
	install -Dm 644 vmware-player-app/lib/isoimages/tools-key.pub "$PKG/usr/lib/vmware/isoimages/tools-key.pub"
 | 
			
		||||
 | 
			
		||||
	install -Dm 644 vmware-vmx/extra/modules.xml "$PKG/usr/lib/vmware/modules/modules.xml"
 | 
			
		||||
	install -Dm 644 vmware-installer/bootstrap "$PKG/etc/vmware-installer/bootstrap"
 | 
			
		||||
	install -Dm 644 "$SRC/vmware-vix-bootstrap" "$PKG/etc/vmware-vix/bootstrap"
 | 
			
		||||
 | 
			
		||||
	for hostd_file in config datastores environments proxy; do
 | 
			
		||||
	install -Dm 644 "$SRC/$hostd_file.xml" "$PKG/etc/vmware/hostd/$hostd_file.xml"
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	install -Dm 644 "$SRC/pam.d-vmware-authd" "$PKG/etc/pam.d/vmware-authd"
 | 
			
		||||
 | 
			
		||||
	echo -e "vmw_vmci\nvmmon" > "$PKG/usr/lib/modules-load.d/vmware.conf"
 | 
			
		||||
 | 
			
		||||
	chmod +x \
 | 
			
		||||
	"$PKG/usr/bin"/* \
 | 
			
		||||
	"$PKG/usr/lib/vmware/bin"/* \
 | 
			
		||||
	"$PKG/usr/lib/vmware/setup"/* \
 | 
			
		||||
	"$PKG/usr/lib/vmware/lib"/libvmware-gksu.so/gksu-run-helper \
 | 
			
		||||
	"$PKG/usr/lib/vmware-ovftool"/{ovftool,ovftool.bin} \
 | 
			
		||||
	"$PKG/usr/lib/vmware-installer/$vmware_installer_version"/{vmware-installer,vmis-launcher} \
 | 
			
		||||
	"$PKG/usr/lib/cups/filter"/* \
 | 
			
		||||
	"$PKG/usr/lib/vmware-vix/setup"/* \
 | 
			
		||||
	"$PKG/etc/thnuclnt/.thnumod"
 | 
			
		||||
 | 
			
		||||
	chmod -R 600 "$PKG/etc/vmware/ssl"
 | 
			
		||||
	chmod +s \
 | 
			
		||||
	"$PKG/usr/bin"/vmware-authd \
 | 
			
		||||
	"$PKG/usr/lib/vmware/bin"/{vmware-vmx,vmware-vmx-debug,vmware-vmx-stats}
 | 
			
		||||
	
 | 
			
		||||
	# Add symlinks the installer would create.
 | 
			
		||||
 | 
			
		||||
	for link in \
 | 
			
		||||
		licenseTool \
 | 
			
		||||
		vmplayer \
 | 
			
		||||
		vmware \
 | 
			
		||||
		vmware-app-control \
 | 
			
		||||
		vmware-enter-serial \
 | 
			
		||||
		vmware-fuseUI \
 | 
			
		||||
		vmware-gksu \
 | 
			
		||||
		vmware-hostd \
 | 
			
		||||
		vmware-modconfig \
 | 
			
		||||
		vmware-modconfig-console \
 | 
			
		||||
		vmware-mount \
 | 
			
		||||
		vmware-netcfg \
 | 
			
		||||
		vmware-tray \
 | 
			
		||||
		vmware-vim-cmd \
 | 
			
		||||
		vmware-vmblock-fuse \
 | 
			
		||||
		vmware-vprobe \
 | 
			
		||||
		vmware-wssc-adminTool \
 | 
			
		||||
		vmware-zenity 
 | 
			
		||||
	do
 | 
			
		||||
		ln -s /usr/lib/vmware/bin/appLoader "$PKG/usr/lib/vmware/bin/$link"
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	for link in \
 | 
			
		||||
		vmware-mount \
 | 
			
		||||
		vmware-usbarbitrator
 | 
			
		||||
	do
 | 
			
		||||
		ln -s /usr/lib/vmware/bin/$link "$PKG/usr/bin/$link"
 | 
			
		||||
	done
 | 
			
		||||
		
 | 
			
		||||
	ln -s /usr/lib/vmware/icu "$PKG/etc/vmware/icu"
 | 
			
		||||
	ln -s /usr/lib/vmware/lib/diskLibWrapper.so/diskLibWrapper.so "$PKG/usr/lib/diskLibWrapper.so"
 | 
			
		||||
	ln -s /usr/lib/vmware/lib/libvmware-hostd.so/libvmware-hostd.so "$PKG/usr/lib/vmware/lib/libvmware-vim-cmd.so/libvmware-vim-cmd.so"
 | 
			
		||||
	ln -s /usr/lib/vmware-ovftool/ovftool "$PKG/usr/bin/ovftool"
 | 
			
		||||
	ln -s /usr/lib/vmware-vix/libvixAllProducts.so "$PKG/usr/lib/libvixAllProducts.so"
 | 
			
		||||
 | 
			
		||||
	# Replace placeholder "variables" with real paths.
 | 
			
		||||
 | 
			
		||||
	for file in \
 | 
			
		||||
		gtk-3.0/gdk-pixbuf.loaders
 | 
			
		||||
	do
 | 
			
		||||
		sed -i 's,@@LIBCONF_DIR@@,/usr/lib/vmware/libconf,g' "$PKG/usr/lib/vmware/libconf/etc/$file"
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	sed -i 's,@@BINARY@@,/usr/bin/vmware,' "$PKG/usr/share/applications/vmware-workstation.desktop"
 | 
			
		||||
	sed -i 's,@@BINARY@@,/usr/bin/vmplayer,' "$PKG/usr/share/applications/vmware-player.desktop"
 | 
			
		||||
	sed -i 's,@@BINARY@@,/usr/bin/vmware-netcfg,' "$PKG/usr/share/applications/vmware-netcfg.desktop"
 | 
			
		||||
 | 
			
		||||
	sed -i 's,@@AUTHD_PORT@@,902,' "$PKG/usr/lib/vmware/hostd/docroot/client/clients.xml"
 | 
			
		||||
 | 
			
		||||
	sed \
 | 
			
		||||
	-e "s/@@VERSION@@/$vmware_installer_version/" \
 | 
			
		||||
	-e "s,@@VMWARE_INSTALLER@@,/usr/lib/vmware-installer/$vmware_installer_version," \
 | 
			
		||||
	-i "$PKG/etc/vmware-installer/bootstrap"
 | 
			
		||||
 | 
			
		||||
	# Patch up the VMware kernel sources
 | 
			
		||||
 | 
			
		||||
	dkms_dir="$PKG/usr/src/$isim-$_surum"
 | 
			
		||||
 | 
			
		||||
	install -Dm 644 "$SRC/Makefile" "$dkms_dir/Makefile"
 | 
			
		||||
 | 
			
		||||
	for module in vmmon vmnet; do # vmblock vmci vsock
 | 
			
		||||
		tar -xf "vmware-vmx/lib/modules/source/$module.tar" -C "$dkms_dir"
 | 
			
		||||
		patch -p2 --read-only=ignore --directory="$dkms_dir/$module-only" < "$SRC/$module.patch"
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	rm -r "$PKG/usr/lib/vmware/modules/source"
 | 
			
		||||
  
 | 
			
		||||
	local database_filename="$PKG/etc/vmware-installer/database"
 | 
			
		||||
	echo -n "" > "$database_filename"
 | 
			
		||||
 | 
			
		||||
	sqlite3 "$database_filename" "CREATE TABLE settings(key VARCHAR PRIMARY KEY, value VARCHAR NOT NULL, component_name VARCHAR NOT NULL);"
 | 
			
		||||
	sqlite3 "$database_filename" "INSERT INTO settings(key,value,component_name) VALUES('db.schemaVersion','2','vmware-installer');"
 | 
			
		||||
	sqlite3 "$database_filename" "CREATE TABLE components(id INTEGER PRIMARY KEY, name VARCHAR NOT NULL, version VARCHAR NOT NULL, buildNumber INTEGER NOT NULL, component_core_id INTEGER NOT NULL, longName VARCHAR NOT NULL, description VARCHAR, type INTEGER NOT NULL);"
 | 
			
		||||
 | 
			
		||||
	# Define some environment variables for VMware and remove the tests about kernel modules
 | 
			
		||||
	install -Dm 644 "$SRC/vmware-environment.sh" "$PKG/etc/conf.d/vmware"
 | 
			
		||||
	for program in vmware vmplayer vmware-netcfg vmware-tray; do
 | 
			
		||||
	sed -e '/export PRODUCT_NAME/asource /etc/conf.d/vmware' \
 | 
			
		||||
		-e 's/if "$BINDIR"\/vmware-modconfig --appname=.*/if true ||/' \
 | 
			
		||||
		-i "$PKG/usr/bin/$program"
 | 
			
		||||
	done
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								talimatname/genel/v/vmware/vmmon.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								talimatname/genel/v/vmware/vmmon.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
diff --git a/vmmon/Makefile b/vmmon/Makefile
 | 
			
		||||
index de8162e..6124a71 100644
 | 
			
		||||
--- a/vmmon/Makefile
 | 
			
		||||
+++ b/vmmon/Makefile
 | 
			
		||||
@@ -43,7 +43,11 @@ INCLUDE      += -I$(SRCROOT)/shared
 | 
			
		||||
 endif
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
+ifdef KVERSION
 | 
			
		||||
+VM_UNAME = $(KVERSION)
 | 
			
		||||
+else
 | 
			
		||||
 VM_UNAME = $(shell uname -r)
 | 
			
		||||
+endif
 | 
			
		||||
 
 | 
			
		||||
 # Header directory for the running kernel
 | 
			
		||||
 ifdef LINUXINCLUDE
 | 
			
		||||
							
								
								
									
										16
									
								
								talimatname/genel/v/vmware/vmnet.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								talimatname/genel/v/vmware/vmnet.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
diff --git a/vmnet/Makefile b/vmnet/Makefile
 | 
			
		||||
index 459846e..cd29652 100644
 | 
			
		||||
--- a/vmnet/Makefile
 | 
			
		||||
+++ b/vmnet/Makefile
 | 
			
		||||
@@ -43,7 +43,11 @@ INCLUDE      += -I$(SRCROOT)/shared
 | 
			
		||||
 endif
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
+ifdef KVERSION
 | 
			
		||||
+VM_UNAME = $(KVERSION)
 | 
			
		||||
+else
 | 
			
		||||
 VM_UNAME = $(shell uname -r)
 | 
			
		||||
+endif
 | 
			
		||||
 
 | 
			
		||||
 # Header directory for the running kernel
 | 
			
		||||
 ifdef LINUXINCLUDE
 | 
			
		||||
							
								
								
									
										9
									
								
								talimatname/genel/v/vmware/vmware-environment.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								talimatname/genel/v/vmware/vmware-environment.sh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
# Uncomment the line below if you have a problem of incompatible libraries
 | 
			
		||||
#export VMWARE_USE_SHIPPED_LIBS=yes
 | 
			
		||||
 | 
			
		||||
# Uncomment and fill the line below to change GTK theme
 | 
			
		||||
#export GTK_THEME=""
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Avoid an issue with some keyboard layouts using iBus
 | 
			
		||||
export GTK_IM_MODULE_FILE=/dev/null
 | 
			
		||||
							
								
								
									
										2
									
								
								talimatname/genel/v/vmware/vmware-vix-bootstrap
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								talimatname/genel/v/vmware/vmware-vix-bootstrap
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
BINDIR="/usr/bin"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue