Guest User

Untitled

a guest
Jul 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.13 KB | None | 0 0
  1. ==> /var/log/vdi/nmv.log <==
  2. [Wed Apr 4 12:05:25 2012] [debug] GET /api/ProfileManager/Provision (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  3. [Wed Apr 4 12:05:25 2012] [debug] Dispatching callback.
  4. [Wed Apr 4 12:05:25 2012] [debug] Dispatching "VDI::NMV::Controller::API::ProfileManager->get_provision_list".
  5.  
  6. ==> /var/log/vdi/nms.log <==
  7. 2012/04/04 12:05:25 - DEBUG - 26239 - Last key: provision_type, Opt path: provision
  8.  
  9. ==> /var/log/vdi/nmv.log <==
  10. [Wed Apr 4 12:05:25 2012] [debug] 200 OK (0.012395s, 80.678/s).
  11. [Wed Apr 4 12:05:27 2012] [debug] GET /api/VDI/View/10.3.199.44/vCenter/10.3.199.43/Cluster/VDIQA1/NfsOptions (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  12. [Wed Apr 4 12:05:27 2012] [debug] Dispatching callback.
  13. [Wed Apr 4 12:05:27 2012] [debug] Dispatching "VDI::NMV::Controller::API::VDI::View::vCenter::Cluster->get_nfs_options".
  14.  
  15. ==> /var/log/vdi/nms.log <==
  16. 2012/04/04 12:05:27 - DEBUG - 26239 - Last key: NfsShare, Opt path: global.View[hostname=10.3.199.44].vCenter[hostname=10.3.199.43].Cluster[name=VDIQA1]
  17. 2012/04/04 12:05:27 - DEBUG - 26239 - Raw filter = hostname=10.3.199.44
  18. 2012/04/04 12:05:27 - WARN - 26239 - 'global.View..vCenter' does not exist
  19. 2012/04/04 12:05:27 - WARN - 26239 - Option 'global.View[hostname=10.3.199.44].vCenter[hostname=10.3.199.43].Cluster[name=VDIQA1].NfsShare' does not exist
  20. 2012/04/04 12:05:27 - DEBUG - 26239 - Loading vswitches of ESX 10.3.199.24
  21. 2012/04/04 12:05:27 - DEBUG - 26239 - Reading vSwitch 'vSwitch0' information
  22. 2012/04/04 12:05:27 - DEBUG - 26239 - Port group VM Network
  23. 2012/04/04 12:05:27 - DEBUG - 26239 - Port group Management Network
  24. 2012/04/04 12:05:27 - DEBUG - 26239 - Virtual NIC vmk0, ip = 10.3.199.24, mask = 255.255.254.0
  25. 2012/04/04 12:05:27 - DEBUG - 26239 - Reading vSwitch 'vSwitch1' information
  26. 2012/04/04 12:05:27 - DEBUG - 26239 - Port group VM NFS
  27. 2012/04/04 12:05:27 - DEBUG - 26239 - Port group NFS Network
  28. 2012/04/04 12:05:27 - DEBUG - 26239 - Virtual NIC vmk1, ip = 10.200.200.24, mask = 255.255.255.0
  29. 2012/04/04 12:05:27 - DEBUG - 26239 - Networks found:
  30. $VAR1 = [
  31. {
  32. 'ip' => '10.3.199.24',
  33. 'mask' => '255.255.254.0'
  34. },
  35. {
  36. 'ip' => '10.200.200.24',
  37. 'mask' => '255.255.255.0'
  38. }
  39. ];
  40. 2012/04/04 12:05:27 - DEBUG - 26239 - IP 10.* / 255.255.254.0
  41. 2012/04/04 12:05:27 - DEBUG - 26239 - Mask 255.255.254.0 = 255, 255, 254, 0
  42. 2012/04/04 12:05:27 - DEBUG - 26239 - New '10' = 23
  43. 2012/04/04 12:05:27 - DEBUG - 26239 - IP 10.* / 255.255.255.0
  44. 2012/04/04 12:05:27 - DEBUG - 26239 - Mask 255.255.255.0 = 255, 255, 255, 0
  45. 2012/04/04 12:05:27 - DEBUG - 26239 - Miimum bits: $VAR1 = {
  46. '10' => 23
  47. };
  48. 2012/04/04 12:05:27 - DEBUG - 26239 - Checking subnet 10.*
  49. 2012/04/04 12:05:27 - DEBUG - 26239 - Free subnet: 10.201.201.1/255.255.255.0
  50.  
  51. ==> /var/log/vdi/nmv.log <==
  52. [Wed Apr 4 12:05:27 2012] [debug] 200 OK (0.212186s, 4.713/s).
  53. [Wed Apr 4 12:05:28 2012] [debug] GET /api/VDI/View/10.3.199.44/vCenter/10.3.199.43/CustomizationSpec (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  54. [Wed Apr 4 12:05:28 2012] [debug] Dispatching callback.
  55. [Wed Apr 4 12:05:28 2012] [debug] Dispatching "VDI::NMV::Controller::API::VDI::View::vCenter->get_customization_spec_list".
  56. [Wed Apr 4 12:05:28 2012] [debug] 200 OK (0.562630s, 1.777/s).
  57. [Wed Apr 4 12:05:28 2012] [debug] GET /api/VDI/View/10.3.199.44/vCenter/10.3.199.43/Cluster/VDIQA1/VirtualMachine (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  58. [Wed Apr 4 12:05:28 2012] [debug] Dispatching callback.
  59. [Wed Apr 4 12:05:28 2012] [debug] Dispatching "VDI::NMV::Controller::API::VDI::View::vCenter::Cluster->get_virtual_machine_list".
  60.  
  61. ==> /var/log/vdi/nms.log <==
  62. 2012/04/04 12:05:28 - DEBUG - 26239 - Get all virtual machines
  63. 2012/04/04 12:05:29 - DEBUG - 26239 - Looking for '.+' in Cluster VDIQA1...7 found
  64.  
  65. ==> /var/log/vdi/nmv.log <==
  66. [Wed Apr 4 12:05:29 2012] [debug] 200 OK (0.609857s, 1.640/s).
  67.  
  68. ==> /var/log/vdi/nms.log <==
  69. 2012/04/04 12:05:33 - INFO - 26239 - 19 record(s) have been removed from statistics during rotation
  70.  
  71. ==> /var/log/vdi/nmv.log <==
  72. [Wed Apr 4 12:05:38 2012] [debug] GET /api/VDI/View/10.3.199.44/vCenter/10.3.199.43/Cluster/VDIQA1/VirtualMachine/VDT-WIN7GOLD/Snapshot (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  73. [Wed Apr 4 12:05:38 2012] [debug] Dispatching callback.
  74. [Wed Apr 4 12:05:38 2012] [debug] Dispatching "VDI::NMV::Controller::API::VDI::View::vCenter::Cluster->get_virtual_machine_snapshot_list".
  75.  
  76. ==> /var/log/vdi/nms.log <==
  77. 2012/04/04 12:05:39 - DEBUG - 26239 - Found snapshotshot: Base of 2012-03-28T13:35:26.778877Z(/Base)
  78. 2012/04/04 12:05:39 - DEBUG - 26239 - Reading children...
  79. 2012/04/04 12:05:39 - DEBUG - 26239 - Found snapshotshot: New of 2012-04-01T08:48:10.439045Z(/Base/New)
  80.  
  81. ==> /var/log/vdi/nmv.log <==
  82. [Wed Apr 4 12:05:39 2012] [debug] 200 OK (0.171422s, 5.834/s).
  83. [Wed Apr 4 12:05:40 2012] [debug] GET /api/VDI/View/10.3.199.44/vCenter/10.3.199.43/Cluster/VDIQA1/NexentaTemplate (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  84. [Wed Apr 4 12:05:40 2012] [debug] Dispatching callback.
  85. [Wed Apr 4 12:05:40 2012] [debug] Dispatching "VDI::NMV::Controller::API::VDI::View::vCenter::Cluster->get_nexenta_template_list".
  86.  
  87. ==> /var/log/vdi/nms.log <==
  88. 2012/04/04 12:05:40 - DEBUG - 26239 - Get all virtual machines
  89. 2012/04/04 12:05:41 - DEBUG - 26239 - Looking for '.+' in Cluster VDIQA1...9 found
  90.  
  91. ==> /var/log/vdi/nmv.log <==
  92. [Wed Apr 4 12:05:41 2012] [debug] 200 OK (0.754606s, 1.325/s).
  93.  
  94. ==> /var/log/vdi/nms.log <==
  95. 2012/04/04 12:05:45 - INFO - 26239 - 19 record(s) have been removed from statistics during rotation
  96.  
  97. ==> /var/log/vdi/nmv.log <==
  98. [Wed Apr 4 12:05:55 2012] [error] Connection timeout.
  99. [Wed Apr 4 12:05:55 2012] [debug] GET /api/EventManager/LongPolling/Signals (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  100. [Wed Apr 4 12:05:55 2012] [debug] Dispatching callback.
  101. [Wed Apr 4 12:05:55 2012] [debug] Dispatching "VDI::NMV::Controller::API::EventManager->events_long_polling_signals".
  102. [Wed Apr 4 12:05:55 2012] [error] Connection timeout.
  103. [Wed Apr 4 12:05:56 2012] [debug] POST /api/VDI/View/10.3.199.44/vCenter/10.3.199.43/Cluster/VDIQA1/DeploySummary (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  104. [Wed Apr 4 12:05:56 2012] [debug] Dispatching callback.
  105. [Wed Apr 4 12:05:56 2012] [debug] Dispatching "VDI::NMV::Controller::API::VDI::View::vCenter::Cluster->get_deploy_summary".
  106.  
  107. ==> /var/log/vdi/nms.log <==
  108. 2012/04/04 12:05:56 - DEBUG - 26239 - Gathering cluster's resources info: $VAR1 = {
  109. 'cluster' => bless( {
  110. 'targetBalance' => '282',
  111. 'effectiveCpu' => '26112',
  112. 'totalMemory' => '206149025792',
  113. 'effectiveMemory' => '189762',
  114. 'overallStatus' => bless( {
  115. 'val' => 'green'
  116. }, 'ManagedEntityStatus' ),
  117. 'currentFailoverLevel' => '-1',
  118. 'currentBalance' => '0',
  119. 'numCpuCores' => '12',
  120. 'numHosts' => '1',
  121. 'totalCpu' => '28800',
  122. 'numEffectiveHosts' => '1',
  123. 'numVmotions' => '0',
  124. 'numCpuThreads' => '24'
  125. }, 'ClusterComputeResourceSummary' ),
  126. 'opts' => {
  127. 'maxcount' => '250',
  128. 'desktop_template' => 'VDT-WIN7GOLD',
  129. 'profile_name' => 'Default-stripe',
  130. 'profile_type' => 'Default-stripe',
  131. 'mincount' => '250'
  132. }
  133. };
  134. 2012/04/04 12:05:56 - DEBUG - 26239 - Info: effective_cpu - 26112, effective_memory - 189762
  135. 2012/04/04 12:05:56 - DEBUG - 26239 - Info: cpu_cores - 12, cpu_threads - 24, esx_hosts_count - 1
  136. 2012/04/04 12:05:56 - DEBUG - 26239 - Locating 'VDT-WIN7GOLD' desktop template
  137. 2012/04/04 12:05:57 - DEBUG - 26239 - Loading Profiles
  138. 2012/04/04 12:05:57 - DEBUG - 26239 - Use profile '/var/lib/nexenta/vdi/profiles/Default-stripe/resource.xml'
  139. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  140. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ns_core_num
  141. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_core_mhz
  142. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_memory_size_mb
  143. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ns_memory_size_mb
  144. 2012/04/04 12:05:57 - INFO - 26239 - Use profile '/var/lib/nexenta/vdi/profiles/Default-stripe/desktop.xml'
  145. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  146. 2012/04/04 12:05:57 - DEBUG - 26239 - loading allow_multiply_sessions
  147. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_cpu_reservation
  148. 2012/04/04 12:05:57 - DEBUG - 26239 - loading power_policy
  149. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds_loc
  150. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_mem_reservation
  151. 2012/04/04 12:05:57 - DEBUG - 26239 - loading postsync_script
  152. 2012/04/04 12:05:57 - DEBUG - 26239 - loading delete_policy
  153. 2012/04/04 12:05:57 - DEBUG - 26239 - loading autologoff_time
  154. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ok_threshold
  155. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_agent_port
  156. 2012/04/04 12:05:57 - DEBUG - 26239 - loading extra
  157. 2012/04/04 12:05:57 - DEBUG - 26239 - loading customization_spec
  158. 2012/04/04 12:05:57 - DEBUG - 26239 - loading headroom
  159. 2012/04/04 12:05:57 - DEBUG - 26239 - loading external_percent
  160. 2012/04/04 12:05:57 - DEBUG - 26239 - loading refresh_policy_type
  161. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds
  162. 2012/04/04 12:05:57 - DEBUG - 26239 - loading persistence
  163. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_coeff
  164. 2012/04/04 12:05:57 - DEBUG - 26239 - loading overcommit
  165. 2012/04/04 12:05:57 - DEBUG - 26239 - loading delta
  166. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds_only
  167. 2012/04/04 12:05:57 - DEBUG - 26239 - loading display_protocol
  168. 2012/04/04 12:05:57 - DEBUG - 26239 - loading logoff_script
  169. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: resource_profile - VDI::NMS::ResourceProfile=HASH(0xd70f450), desktop_profile - VDI::NMS::DesktopProfile=HASH(0xd804b28)
  170. 2012/04/04 12:05:57 - DEBUG - 26239 - Fundamental calculations
  171. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: total_cores = 12, ns_count - 1, desktops_count - 250
  172. 2012/04/04 12:05:57 - DEBUG - 26239 - Loading and overloading from profile
  173. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_cpu_reservation in desktop.guest resources
  174. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: 0
  175. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_mem_reservation in desktop.guest resources
  176. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: 512
  177. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for ns_core_num in resource
  178. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: int(desktops_max_count / 25) +1
  179. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  180. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for ns_memory_size_mb in resource
  181. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: int(4kb + desktops_max_count / ns_count * 125)
  182. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  183. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_core_mhz in resource
  184. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: desktop_template_cpu_size
  185. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  186. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_memory_size_mb in resource
  187. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: desktop_template_mem_size
  188. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  189. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating minimum resources reservation for Desktop
  190. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: desktop_template_mem_size - 512, desktop_template_cpu_size - 0, desktop_template_vcpu - 1
  191. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating minimum resources reservation for NS
  192. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: vCPU - 11, cpu_core_mhz - 2400, ns_cpu_size - 26400, ns_memory_size - 35344
  193. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating NS overhead
  194. 2012/04/04 12:05:57 - INFO - 26239 - Not valid number of vCPU 11 - must be between 1 and 8
  195. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating desktop overhead
  196. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: ns_memory_overhead - , desktop_memory_overhead - 164.96
  197. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating minimum resoruces for rpools
  198. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: desktop_rpool_memory - 169240, desktop_rpool_cpu_size - 0,ns_rpool_memory - 35344, ns_rpool_cpu_size - 26400
  199. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating free resources
  200. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: free_memory - -14822, free_cpu - -288
  201. 2012/04/04 12:05:57 - DEBUG - 26239 - Validating resources
  202. 2012/04/04 12:05:57 - INFO - 26239 - Not enough cores. Skipped because of quiet
  203. 2012/04/04 12:05:57 - INFO - 26239 - Not enough cpu or memory. Skipped because of quiet
  204. 2012/04/04 12:05:57 - DEBUG - 26239 - Allocating free resources
  205. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating desktop rpool reservations
  206. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: desktop_rpool_cpu_limit: -1 desktop_rpool_mem_limit: -1
  207. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating NS rpool reservations
  208. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: ns_rpool_mem_limit - -1, ns_rpool_cpu_limit - 26400
  209. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: ns_rpool_mem_reserv - 35344, ns_rpool_cpu_reserv - 26400
  210. 2012/04/04 12:05:57 - DEBUG - 26239 - res_opts: $VAR1 = {
  211. 'max_machine_mem' => 262144,
  212. 'cpu_reserv' => 26400,
  213. 'mem_reserv' => 35344,
  214. 'ns_rpool_cpu_reserv' => 26400,
  215. 'ns_rpool_cpu_limit' => 26400,
  216. 'desktop_rpool_mem_limit' => -1,
  217. 'max_vcpu' => 8,
  218. 'ns_rpool_mem_limit' => -1,
  219. 'free_cpu' => -288,
  220. 'mem_limit' => 35344,
  221. 'desktop_rpool_cpu_reserv' => 0,
  222. 'ns_rpool_mem_reserv' => 35344,
  223. 'can_deploy' => 0,
  224. 'cpu_limit' => 26400,
  225. 'desktop_rpool_cpu_limit' => -1,
  226. 'desktop_rpool_mem_reserv' => 169240,
  227. 'mem_size' => 35344,
  228. 'free_memory' => -14822,
  229. 'cpu_cores' => 11
  230. };
  231. 2012/04/04 12:05:57 - DEBUG - 26239 - Loading profile 'Default-stripe'
  232. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  233. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_vdev_cache_size
  234. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_write_limit_override
  235. 2012/04/04 12:05:57 - DEBUG - 26239 - loading swapfs_minfree
  236. 2012/04/04 12:05:57 - DEBUG - 26239 - loading perf_delta
  237. 2012/04/04 12:05:57 - DEBUG - 26239 - loading max_hdd_drives
  238. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs_vdev_max_pending
  239. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_max
  240. 2012/04/04 12:05:57 - DEBUG - 26239 - loading dedup
  241. 2012/04/04 12:05:57 - DEBUG - 26239 - loading compression
  242. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_grow_retry
  243. 2012/04/04 12:05:57 - DEBUG - 26239 - loading max_ssd_drives
  244. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ssd_usage
  245. 2012/04/04 12:05:57 - DEBUG - 26239 - loading volume_cache_size
  246. 2012/04/04 12:05:57 - DEBUG - 26239 - loading syspool_type
  247. 2012/04/04 12:05:57 - DEBUG - 26239 - loading sync
  248. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_meta_limit
  249. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_prefetch_disable
  250. 2012/04/04 12:05:57 - DEBUG - 26239 - loading recordsize
  251. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_p_min_shift
  252. 2012/04/04 12:05:57 - DEBUG - 26239 - loading volume_log_size
  253. 2012/04/04 12:05:57 - DEBUG - 26239 - loading mem_size
  254. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ns_location
  255. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: volume, Opt path: profile
  256. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  257. 2012/04/04 12:05:57 - INFO - 26239 - Use profile '/var/lib/nexenta/vdi/profiles/Default-stripe/desktop.xml'
  258. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  259. 2012/04/04 12:05:57 - DEBUG - 26239 - loading allow_multiply_sessions
  260. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_cpu_reservation
  261. 2012/04/04 12:05:57 - DEBUG - 26239 - loading power_policy
  262. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds_loc
  263. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_mem_reservation
  264. 2012/04/04 12:05:57 - DEBUG - 26239 - loading postsync_script
  265. 2012/04/04 12:05:57 - DEBUG - 26239 - loading delete_policy
  266. 2012/04/04 12:05:57 - DEBUG - 26239 - loading autologoff_time
  267. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ok_threshold
  268. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_agent_port
  269. 2012/04/04 12:05:57 - DEBUG - 26239 - loading extra
  270. 2012/04/04 12:05:57 - DEBUG - 26239 - loading customization_spec
  271. 2012/04/04 12:05:57 - DEBUG - 26239 - loading headroom
  272. 2012/04/04 12:05:57 - DEBUG - 26239 - loading external_percent
  273. 2012/04/04 12:05:57 - DEBUG - 26239 - loading refresh_policy_type
  274. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds
  275. 2012/04/04 12:05:57 - DEBUG - 26239 - loading persistence
  276. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_coeff
  277. 2012/04/04 12:05:57 - DEBUG - 26239 - loading overcommit
  278. 2012/04/04 12:05:57 - DEBUG - 26239 - loading delta
  279. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds_only
  280. 2012/04/04 12:05:57 - DEBUG - 26239 - loading display_protocol
  281. 2012/04/04 12:05:57 - DEBUG - 26239 - loading logoff_script
  282. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for extra in desktop.deploy settings
  283. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: 0
  284. 2012/04/04 12:05:57 - DEBUG - 26239 - Desktop mincount = 250, maxcount = 250, extra = 0 %
  285. 2012/04/04 12:05:57 - DEBUG - 26239 - Desktop count after adding extra = 251
  286. 2012/04/04 12:05:57 - DEBUG - 26239 - Found virtual disk 'Hard disk 1' of size 16777216 KB on desktop template 'VDT-WIN7GOLD'
  287. 2012/04/04 12:05:57 - DEBUG - 26239 - Found virtual disk 'Hard disk 2' of size 1048576 KB on desktop template 'VDT-WIN7GOLD'
  288. 2012/04/04 12:05:57 - DEBUG - 26239 - Desktop template real size is 18253611008
  289. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  290. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_vdev_cache_size
  291. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_write_limit_override
  292. 2012/04/04 12:05:57 - DEBUG - 26239 - loading swapfs_minfree
  293. 2012/04/04 12:05:57 - DEBUG - 26239 - loading perf_delta
  294. 2012/04/04 12:05:57 - DEBUG - 26239 - loading max_hdd_drives
  295. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs_vdev_max_pending
  296. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_max
  297. 2012/04/04 12:05:57 - DEBUG - 26239 - loading dedup
  298. 2012/04/04 12:05:57 - DEBUG - 26239 - loading compression
  299. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_grow_retry
  300. 2012/04/04 12:05:57 - DEBUG - 26239 - loading max_ssd_drives
  301. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ssd_usage
  302. 2012/04/04 12:05:57 - DEBUG - 26239 - loading volume_cache_size
  303. 2012/04/04 12:05:57 - DEBUG - 26239 - loading syspool_type
  304. 2012/04/04 12:05:57 - DEBUG - 26239 - loading sync
  305. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_meta_limit
  306. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_prefetch_disable
  307. 2012/04/04 12:05:57 - DEBUG - 26239 - loading recordsize
  308. 2012/04/04 12:05:57 - DEBUG - 26239 - loading zfs:zfs_arc_p_min_shift
  309. 2012/04/04 12:05:57 - DEBUG - 26239 - loading volume_log_size
  310. 2012/04/04 12:05:57 - DEBUG - 26239 - loading mem_size
  311. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ns_location
  312. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for mem_size in storage.memory
  313. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: 0
  314. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for volume_cache_size in storage.volume
  315. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: {mem_size} / 1
  316. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for volume_log_size in storage.volume
  317. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: {mem_size} / 2
  318. 2012/04/04 12:05:57 - DEBUG - 26239 - Memory given to NS: 35344
  319. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for overcommit in desktop.pool settings
  320. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: Aggressive
  321. 2012/04/04 12:05:57 - DEBUG - 26239 - Overcommit = <aggressive>
  322. 2012/04/04 12:05:57 - DEBUG - 26239 - 251 desktops on each ESX in cluster
  323. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculate cache using '$mem_size / 1'
  324. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculated NS volume: $VAR1 = {
  325. 'desktop_template' => '18253611008',
  326. 'data_raw_size' => '4851165560832',
  327. 'data' => '323411037388',
  328. 'cache' => '37060870144'
  329. };
  330. 2012/04/04 12:05:57 - DEBUG - 26239 - Gathering cluster's resources info: $VAR1 = {
  331. 'cluster' => bless( {
  332. 'targetBalance' => '282',
  333. 'effectiveCpu' => '26112',
  334. 'totalMemory' => '206149025792',
  335. 'effectiveMemory' => '189762',
  336. 'overallStatus' => bless( {
  337. 'val' => 'green'
  338. }, 'ManagedEntityStatus' ),
  339. 'currentFailoverLevel' => '-1',
  340. 'currentBalance' => '0',
  341. 'numCpuCores' => '12',
  342. 'numHosts' => '1',
  343. 'totalCpu' => '28800',
  344. 'numEffectiveHosts' => '1',
  345. 'numVmotions' => '0',
  346. 'numCpuThreads' => '24'
  347. }, 'ClusterComputeResourceSummary' ),
  348. 'opts' => {
  349. 'max_machine_mem' => 262144,
  350. 'ns_rpool_cpu_reserv' => 26400,
  351. 'mem_reserv' => 35344,
  352. 'cpu_reserv' => 26400,
  353. 'desktop_rpool_mem_limit' => -1,
  354. 'ns_rpool_cpu_limit' => 26400,
  355. 'mincount' => '250',
  356. 'max_vcpu' => 8,
  357. 'ns_rpool_mem_limit' => -1,
  358. 'desktop_rpool_cpu_reserv' => 0,
  359. 'mem_limit' => 35344,
  360. 'free_cpu' => -288,
  361. 'can_deploy' => 0,
  362. 'ns_rpool_mem_reserv' => 35344,
  363. 'cpu_limit' => 26400,
  364. 'desktop_template' => 'VDT-WIN7GOLD',
  365. 'desktop_rpool_mem_reserv' => 169240,
  366. 'desktop_rpool_cpu_limit' => -1,
  367. 'profile_type' => 'Default-stripe',
  368. 'maxcount' => '250',
  369. 'mem_size' => 35344,
  370. 'free_memory' => -14822,
  371. 'cpu_cores' => 11,
  372. 'profile_name' => 'Default-stripe'
  373. }
  374. };
  375. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: effective_cpu - 26112, effective_memory - 189762
  376. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: cpu_cores - 12, cpu_threads - 24, esx_hosts_count - 1
  377. 2012/04/04 12:05:57 - DEBUG - 26239 - Locating 'VDT-WIN7GOLD' desktop template
  378. 2012/04/04 12:05:57 - DEBUG - 26239 - Loading Profiles
  379. 2012/04/04 12:05:57 - DEBUG - 26239 - Use profile '/var/lib/nexenta/vdi/profiles/Default-stripe/resource.xml'
  380. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  381. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ns_core_num
  382. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_core_mhz
  383. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_memory_size_mb
  384. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ns_memory_size_mb
  385. 2012/04/04 12:05:57 - INFO - 26239 - Use profile '/var/lib/nexenta/vdi/profiles/Default-stripe/desktop.xml'
  386. 2012/04/04 12:05:57 - DEBUG - 26239 - Last key: option, Opt path: profile
  387. 2012/04/04 12:05:57 - DEBUG - 26239 - loading allow_multiply_sessions
  388. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_cpu_reservation
  389. 2012/04/04 12:05:57 - DEBUG - 26239 - loading power_policy
  390. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds_loc
  391. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_mem_reservation
  392. 2012/04/04 12:05:57 - DEBUG - 26239 - loading postsync_script
  393. 2012/04/04 12:05:57 - DEBUG - 26239 - loading delete_policy
  394. 2012/04/04 12:05:57 - DEBUG - 26239 - loading autologoff_time
  395. 2012/04/04 12:05:57 - DEBUG - 26239 - loading ok_threshold
  396. 2012/04/04 12:05:57 - DEBUG - 26239 - loading desktop_agent_port
  397. 2012/04/04 12:05:57 - DEBUG - 26239 - loading extra
  398. 2012/04/04 12:05:57 - DEBUG - 26239 - loading customization_spec
  399. 2012/04/04 12:05:57 - DEBUG - 26239 - loading headroom
  400. 2012/04/04 12:05:57 - DEBUG - 26239 - loading external_percent
  401. 2012/04/04 12:05:57 - DEBUG - 26239 - loading refresh_policy_type
  402. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds
  403. 2012/04/04 12:05:57 - DEBUG - 26239 - loading persistence
  404. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_coeff
  405. 2012/04/04 12:05:57 - DEBUG - 26239 - loading overcommit
  406. 2012/04/04 12:05:57 - DEBUG - 26239 - loading delta
  407. 2012/04/04 12:05:57 - DEBUG - 26239 - loading replica_ds_only
  408. 2012/04/04 12:05:57 - DEBUG - 26239 - loading display_protocol
  409. 2012/04/04 12:05:57 - DEBUG - 26239 - loading logoff_script
  410. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: resource_profile - VDI::NMS::ResourceProfile=HASH(0xd263780), desktop_profile - VDI::NMS::DesktopProfile=HASH(0xd8d2c20)
  411. 2012/04/04 12:05:57 - DEBUG - 26239 - Fundamental calculations
  412. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: total_cores = 12, ns_count - 1, desktops_count - 250
  413. 2012/04/04 12:05:57 - DEBUG - 26239 - Loading and overloading from profile
  414. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_cpu_reservation in desktop.guest resources
  415. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: 0
  416. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_mem_reservation in desktop.guest resources
  417. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: 512
  418. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for ns_core_num in resource
  419. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: int(desktops_max_count / 25) +1
  420. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  421. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for ns_memory_size_mb in resource
  422. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: int(4kb + desktops_max_count / ns_count * 125)
  423. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  424. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_core_mhz in resource
  425. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: desktop_template_cpu_size
  426. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  427. 2012/04/04 12:05:57 - DEBUG - 26239 - Looking for desktop_memory_size_mb in resource
  428. 2012/04/04 12:05:57 - DEBUG - 26239 - Use overloaded user value: desktop_template_mem_size
  429. 2012/04/04 12:05:57 - DEBUG - 26239 - Applying user modified function
  430. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating minimum resources reservation for Desktop
  431. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: desktop_template_mem_size - 512, desktop_template_cpu_size - 0, desktop_template_vcpu - 1
  432. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating minimum resources reservation for NS
  433. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: vCPU - 11, cpu_core_mhz - 2400, ns_cpu_size - 26400, ns_memory_size - 35344
  434. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating NS overhead
  435. 2012/04/04 12:05:57 - INFO - 26239 - Not valid number of vCPU 11 - must be between 1 and 8
  436. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating desktop overhead
  437. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: ns_memory_overhead - , desktop_memory_overhead - 164.96
  438. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating minimum resoruces for rpools
  439. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: desktop_rpool_memory - 169240, desktop_rpool_cpu_size - 0,ns_rpool_memory - 35344, ns_rpool_cpu_size - 26400
  440. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating free resources
  441. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: free_memory - -14822, free_cpu - -288
  442. 2012/04/04 12:05:57 - DEBUG - 26239 - Validating resources
  443. 2012/04/04 12:05:57 - INFO - 26239 - Not enough cores. Skipped because of quiet
  444. 2012/04/04 12:05:57 - INFO - 26239 - Not enough cpu or memory. Skipped because of quiet
  445. 2012/04/04 12:05:57 - DEBUG - 26239 - Allocating free resources
  446. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating desktop rpool reservations
  447. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: desktop_rpool_cpu_limit: -1 desktop_rpool_mem_limit: -1
  448. 2012/04/04 12:05:57 - DEBUG - 26239 - Calculating NS rpool reservations
  449. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: ns_rpool_mem_limit - -1, ns_rpool_cpu_limit - 26400
  450. 2012/04/04 12:05:57 - DEBUG - 26239 - Info: ns_rpool_mem_reserv - 35344, ns_rpool_cpu_reserv - 26400
  451. 2012/04/04 12:05:57 - DEBUG - 26239 - res_opts: $VAR1 = {
  452. 'max_machine_mem' => 262144,
  453. 'cpu_reserv' => 26400,
  454. 'mem_reserv' => 35344,
  455. 'ns_rpool_cpu_reserv' => 26400,
  456. 'ns_rpool_cpu_limit' => 26400,
  457. 'desktop_rpool_mem_limit' => -1,
  458. 'max_vcpu' => 8,
  459. 'ns_rpool_mem_limit' => -1,
  460. 'free_cpu' => -288,
  461. 'mem_limit' => 35344,
  462. 'desktop_rpool_cpu_reserv' => 0,
  463. 'ns_rpool_mem_reserv' => 35344,
  464. 'can_deploy' => 0,
  465. 'cpu_limit' => 26400,
  466. 'desktop_rpool_cpu_limit' => -1,
  467. 'desktop_rpool_mem_reserv' => 169240,
  468. 'mem_size' => 35344,
  469. 'free_memory' => -14822,
  470. 'cpu_cores' => 11
  471. };
  472. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c50048279c77
  473. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  474. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c5004825f1bb
  475. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  476. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c50048266517
  477. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  478. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c5004827190b
  479. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  480. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c50048276bbb
  481. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  482. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c5004827c6e3
  483. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  484. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5001517959680b18
  485. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: ssd
  486. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c500482740bf
  487. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  488. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5001517959680695
  489. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: ssd
  490. 2012/04/04 12:05:59 - DEBUG - 26239 - naa.5000c5004829385f
  491. 2012/04/04 12:05:59 - DEBUG - 26239 - VDI 5 SDK ScsiLun type: hdd
  492. 2012/04/04 12:05:59 - DEBUG - 26239 - Required HDD: 323411037388, raw HDD: 2400000000000
  493. 2012/04/04 12:05:59 - DEBUG - 26239 - Required SSD: 37060870144, raw SSD: 320083771392
  494.  
  495. ==> /var/log/vdi/nmv.log <==
  496. [Wed Apr 4 12:05:59 2012] [debug] 200 OK (2.998383s, 0.334/s).
  497. [Wed Apr 4 12:05:59 2012] [debug] GET /api/EventManager/LongPolling/Signals (Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0).
  498. [Wed Apr 4 12:05:59 2012] [debug] Dispatching callback.
  499. [Wed Apr 4 12:05:59 2012] [debug] Dispatching "VDI::NMV::Controller::API::EventManager->events_long_polling_signals".
  500.  
  501. ==> /var/log/vdi/nms.log <==
  502. 2012/04/04 12:06:05 - INFO - 26239 - 16 record(s) have been removed from statistics during rotation
  503. ^C
  504. root@vdi-qa:~#
Add Comment
Please, Sign In to add comment