// API callback
related_results_labels_thumbs({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$blogger":"http://schemas.google.com/blogger/2008","xmlns$georss":"http://www.georss.org/georss","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$thr":"http://purl.org/syndication/thread/1.0","id":{"$t":"tag:blogger.com,1999:blog-7979948"},"updated":{"$t":"2023-11-04T00:04:51.488+01:00"},"category":[{"term":"Tips"},{"term":"Utilities"},{"term":"SQL"},{"term":"Security"},{"term":"Troubleshooting"},{"term":"Scripting"},{"term":"Cluster"},{"term":"IIS"},{"term":"Terminal Server"},{"term":"Bug"},{"term":"Certifications"},{"term":"Development"},{"term":"Vista"},{"term":"Web 2.0"},{"term":"Printer"},{"term":"Backup"},{"term":"Linux"},{"term":"Windows 2008"},{"term":"Gadget"},{"term":"Log"},{"term":"NET Framework"},{"term":"Sniffer"},{"term":"VMware"},{"term":"Cloud Computing"},{"term":"DTS"},{"term":"Hakin9"},{"term":"HyperV"},{"term":"IE"},{"term":"MySQL"},{"term":"Patch"},{"term":"Performance"},{"term":"Setup"},{"term":"Spam"},{"term":"Video"},{"term":"WinFail2Ban"},{"term":"Wireless"},{"term":"64bit"},{"term":"Active Directory"},{"term":"Android"},{"term":"Book"},{"term":"Firmware"},{"term":"GPO"},{"term":"Google"},{"term":"HealthMonitor"},{"term":"ITIL"},{"term":"Java"},{"term":"Mac"},{"term":"Networking"},{"term":"Password"},{"term":"Portable"},{"term":"PostGreSQL"},{"term":"PowerShell"},{"term":"Python"},{"term":"Sites"},{"term":"VOIP"},{"term":"Apache"},{"term":"BlackList"},{"term":"C450IP"},{"term":"Certificates"},{"term":"Console"},{"term":"Crack"},{"term":"Curriculum"},{"term":"Documentation"},{"term":"Drupal"},{"term":"Dump"},{"term":"EMail"},{"term":"Exchange"},{"term":"HP"},{"term":"IM"},{"term":"IOT"},{"term":"Longhorn"},{"term":"Max"},{"term":"Mobile"},{"term":"MotoG"},{"term":"NTFS"},{"term":"News"},{"term":"ODBC"},{"term":"ORDB"},{"term":"Outlook"},{"term":"PHP"},{"term":"Prestashop"},{"term":"Project"},{"term":"Proxy"},{"term":"Raspberry"},{"term":"Refresh"},{"term":"SID"},{"term":"SNMP"},{"term":"SSIS"},{"term":"Seven"},{"term":"Shrink"},{"term":"Sysprep"},{"term":"Tomcat"},{"term":"Transaction"},{"term":"Virtual Lab"},{"term":"VirtualPC"},{"term":"Virus"},{"term":"WSL"},{"term":"arduino"},{"term":"kubernetes"}],"title":{"type":"text","$t":"Vittorio Pavesi"},"subtitle":{"type":"html","$t":"This blog contain some interesting links, some useful information and any other thing I would like to keep logged."},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https:\/\/blog.vittoriopavesi.com\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/-\/VMware?alt=json-in-script\u0026max-results=8"},{"rel":"alternate","type":"text/html","href":"https:\/\/blog.vittoriopavesi.com\/search\/label\/VMware"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"}],"author":[{"name":{"$t":"Vittorio Pavesi"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02804415638484029352"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgOoro_s3C1b_DZE-3GujtKIXlBpoOefHNYDXUx6bslh2x9OUVq7B19Zp9SsQRr2aY3GNydJfKVIbfM2wTsQWukqspPOeC0pq4yVLAkEg5tVzKX0NoL1EZHDPdNKJKgi3M\/s113\/vittorio.jpg"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"4"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"8"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-7979948.post-1886860970566300570"},"published":{"$t":"2017-03-26T23:45:00.001+02:00"},"updated":{"$t":"2017-03-26T23:45:41.109+02:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"PostGreSQL"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tips"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Troubleshooting"},{"scheme":"http://www.blogger.com/atom/ns#","term":"VMware"}],"title":{"type":"text","$t":"Access vPostgres "},"content":{"type":"html","$t":"\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\n\u003Ca href=\"https:\/\/2.bp.blogspot.com\/-zbP99_N6DFY\/WNg1Agxu4eI\/AAAAAAAALW8\/pw6xCRmTmCUzS8YOI--Qul-92jrVo9KNwCLcB\/s1600\/vCvPostgres.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" height=\"183\" src=\"https:\/\/2.bp.blogspot.com\/-zbP99_N6DFY\/WNg1Agxu4eI\/AAAAAAAALW8\/pw6xCRmTmCUzS8YOI--Qul-92jrVo9KNwCLcB\/s320\/vCvPostgres.png\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\nWhen you install a\u0026nbsp;\u003Cb\u003EvCenter Server Appliance (vCSA)\u003C\/b\u003E you are not requested to define a password for\u0026nbsp;\u003Cb\u003EvPostgres \u003C\/b\u003Eand the DBMS is installed with a random \u003Cb\u003Epassword for postgres user\u003C\/b\u003E that you don't know.\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThere are 2 solutions:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n1) \u003Cb\u003Egrab it\u003C\/b\u003E from C:\\Windows\\System32\\config\\systemprofile\\AppData\\Roaming\\postgresql\\pgpass.conf\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n2)\u003Cb\u003E reset it \u003C\/b\u003Eusing the following procedure:\u003Cbr \/\u003E\n- Add the following line to D:\\ProgramData\\VMware\\vCenterServer\\data\\vpostgres\\pg_hba.conf\u003Cbr \/\u003E\n(host\u0026nbsp;all\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;all\u0026nbsp;\u0026nbsp;\u0026nbsp;127.0.0.1\/32\u0026nbsp;trust)\u003Cbr \/\u003E\n- Reload the service parameters using this command: \"D:\\Program Files\\VMware\\vCenter Server\\vPostgres\\bin\\pg_ctl.exe\" reload\u0026nbsp; -D \"D:\/ProgramData\/VMware\/vCenterServer\/data\/vpostgres\"\u003Cbr \/\u003E\n- Connect without any password psql -h\u0026nbsp;\u003Cem\u003Elocalhost\u003C\/em\u003E\u0026nbsp;-U postgres\u003Cdiv class=\"blogger-post-footer\"\u003E\u003Cscript type=\"text\/javascript\"\u003E\u003C!--\ngoogle_ad_client = \"pub-9208424847702026\";\ngoogle_ad_width = 728;\ngoogle_ad_height = 90;\ngoogle_ad_format = \"728x90_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel = \"\";\ngoogle_ui_features = \"rc:6\";\n\/\/--\u003E\n\u003C\/script\u003E\n\u003Cscript type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"\u003E\n\u003C\/script\u003E\u003C\/div\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/blog.vittoriopavesi.com\/feeds\/1886860970566300570\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.blogger.com\/comment.g?blogID=7979948\u0026postID=1886860970566300570","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/1886860970566300570"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/1886860970566300570"},{"rel":"alternate","type":"text/html","href":"https:\/\/blog.vittoriopavesi.com\/2017\/03\/access-vpostgres.html","title":"Access vPostgres "}],"author":[{"name":{"$t":"Vittorio Pavesi"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02804415638484029352"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgOoro_s3C1b_DZE-3GujtKIXlBpoOefHNYDXUx6bslh2x9OUVq7B19Zp9SsQRr2aY3GNydJfKVIbfM2wTsQWukqspPOeC0pq4yVLAkEg5tVzKX0NoL1EZHDPdNKJKgi3M\/s113\/vittorio.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/2.bp.blogspot.com\/-zbP99_N6DFY\/WNg1Agxu4eI\/AAAAAAAALW8\/pw6xCRmTmCUzS8YOI--Qul-92jrVo9KNwCLcB\/s72-c\/vCvPostgres.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-7979948.post-8171288135087907937"},"published":{"$t":"2016-03-29T10:51:00.001+02:00"},"updated":{"$t":"2017-03-17T11:26:26.342+01:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Development"},{"scheme":"http://www.blogger.com/atom/ns#","term":"PowerShell"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Troubleshooting"},{"scheme":"http://www.blogger.com/atom/ns#","term":"VMware"}],"title":{"type":"text","$t":"vSphere 6 HTML Console"},"content":{"type":"html","$t":"\u003Ca href=\"https:\/\/3.bp.blogspot.com\/-DUf9VELpkEA\/VvpBtPalePI\/AAAAAAAAH9c\/flvks8rARbAc6zLzAtk4SyOod2u8JLyjw\/s1600\/Untitled.png\" imageanchor=\"1\" style=\"clear: right; float: right; margin-bottom: 1em; margin-left: 1em;\"\u003E\u003Cimg border=\"0\" height=\"225\" src=\"https:\/\/3.bp.blogspot.com\/-DUf9VELpkEA\/VvpBtPalePI\/AAAAAAAAH9c\/flvks8rARbAc6zLzAtk4SyOod2u8JLyjw\/s400\/Untitled.png\" width=\"400\" \/\u003E\u003C\/a\u003EIf you want to provide an HTML console for vSphere 6 you can just follow these simple steps:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Col\u003E\n\u003Cli\u003EDownload ZIP from VMware Site\u0026nbsp;https:\/\/www.vmware.com\/support\/developer\/html-console\/ \u0026nbsp;(HTML, JS, CSS)\u003C\/li\u003E\n\u003Cli\u003EInstall the vCenter Certificate into the web server providing HTML console (REALLY IMPORTANT)\u003C\/li\u003E\n\u003Cli\u003ECreate an HTML page with the following code\u003C\/li\u003E\n\u003C\/ol\u003E\n\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\n\u003Cbr \/\u003E\n\u003Cdiv class=\"portlet-body\"\u003E\n\u003Cdiv id=\"output_text\"\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;!DOCTYPE html\n PUBLIC\"-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN\"\n\"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-strict.dtd\"\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;html\n xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;head\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;meta http-equiv=\"content-type\" \ncontent=\"text\/html; charset=utf-8\" \/\u0026gt;\n\u0026lt;title\u0026gt;Console\u0026lt;\/title\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;\/head\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;body\u0026gt;\n\u0026lt;link rel=\"stylesheet\" \ntype=\"text\/css\" href=\"wmks-all.css\" \n\/\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;script type=\"text\/javascript\" \nsrc=\"jquery-1.8.3.min.js\"\u0026gt;\u0026lt;\/script\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;script\n type=\"text\/javascript\" \nsrc=\"jquery-ui.min.js\"\u0026gt;\u0026lt;\/script\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;script type=\"text\/javascript\" \nsrc=\"wmks.js\" \ntype=\"text\/javascript\"\u0026gt;\u0026lt;\/script\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;div id=\"wmksContainer\" \nstyle=\"position:absolute;width:100%;height:100%\"\u0026gt;\u0026lt;\/div\u0026gt;\u0026nbsp;\n\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;script\u0026gt;\n\n var wmks = WMKS.createWMKS(\"wmksContainer\",{})\n .register(WMKS.CONST.Events.CONNECTION_STATE_CHANGE, \nfunction(event,data){\n if(data.state == WMKS.CONST.ConnectionState.CONNECTED)\n  {\n   console.log(\"connection state change : connected\");\n  }\n });\n \nwmks.connect(\"wss:\/\/ESXhost:443\/ticket\/TICKETNUMBER\");\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;\/script \u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;\/body\u0026gt;\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\n\u003Cspan style=\"color: blue; font-family: \u0026quot;courier new\u0026quot; , \u0026quot;courier\u0026quot; , monospace; font-size: x-small;\"\u003E\u0026lt;\/html\u0026gt;\u003C\/span\u003E\u003C\/div\u003E\n\u003C\/div\u003E\n\u003Cbr \/\u003E\nIn order to generate ticket you can use something like this:\u003Cbr \/\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace;\"\u003EAdd-PSSnapin VMware.VimAutomation.Core\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace;\"\u003E$VCenter = \"vcenter.vc.local\"\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace;\"\u003EConnect-VIServer $VCenter -User vc\\administrator -Password Password\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace;\"\u003E$Vm = Get-VM VIRTUALMACHINE1\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace;\"\u003E$Ticket = $Vm.ExtensionData.\u003Cwbr\u003E\u003C\/wbr\u003EAcquireTicket(\"webmks\")\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace;\"\u003E$ESXHost = $Ticket.host\u003C\/span\u003E\u003C\/div\u003E\n\u003Cdiv style=\"background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;\"\u003E\n\u003Cspan style=\"color: blue; font-family: monospace , monospace; font-size: 12.8px;\"\u003E$TicketNumber = $Ticket.ticket\u003C\/span\u003E\u003C\/div\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nThe logic is:\u003Cbr \/\u003E\n\u003Cbr \/\u003E\nMore details here:\u0026nbsp;https:\/\/www.vmware.com\/support\/developer\/html-console\/html-console-sdk-100-programmer-guide.pdf\u003Cbr \/\u003E\n\u003Cbr \/\u003E\n\u003Cbr \/\u003E\u003Cdiv class=\"blogger-post-footer\"\u003E\u003Cscript type=\"text\/javascript\"\u003E\u003C!--\ngoogle_ad_client = \"pub-9208424847702026\";\ngoogle_ad_width = 728;\ngoogle_ad_height = 90;\ngoogle_ad_format = \"728x90_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel = \"\";\ngoogle_ui_features = \"rc:6\";\n\/\/--\u003E\n\u003C\/script\u003E\n\u003Cscript type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"\u003E\n\u003C\/script\u003E\u003C\/div\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/blog.vittoriopavesi.com\/feeds\/8171288135087907937\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.blogger.com\/comment.g?blogID=7979948\u0026postID=8171288135087907937","title":"34 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/8171288135087907937"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/8171288135087907937"},{"rel":"alternate","type":"text/html","href":"https:\/\/blog.vittoriopavesi.com\/2016\/03\/vsphere-6-html-console.html","title":"vSphere 6 HTML Console"}],"author":[{"name":{"$t":"Vittorio Pavesi"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02804415638484029352"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgOoro_s3C1b_DZE-3GujtKIXlBpoOefHNYDXUx6bslh2x9OUVq7B19Zp9SsQRr2aY3GNydJfKVIbfM2wTsQWukqspPOeC0pq4yVLAkEg5tVzKX0NoL1EZHDPdNKJKgi3M\/s113\/vittorio.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"https:\/\/3.bp.blogspot.com\/-DUf9VELpkEA\/VvpBtPalePI\/AAAAAAAAH9c\/flvks8rARbAc6zLzAtk4SyOod2u8JLyjw\/s72-c\/Untitled.png","height":"72","width":"72"},"thr$total":{"$t":"34"}},{"id":{"$t":"tag:blogger.com,1999:blog-7979948.post-250155700992756664"},"published":{"$t":"2009-07-30T18:21:00.004+02:00"},"updated":{"$t":"2009-07-30T18:31:38.075+02:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Tips"},{"scheme":"http://www.blogger.com/atom/ns#","term":"VMware"}],"title":{"type":"text","$t":"VMware Snapshot breaks cluster"},"content":{"type":"html","$t":"\u003Cimg style=\"MARGIN: 0px 10px 10px 0px; WIDTH: 320px; FLOAT: left; HEIGHT: 180px; CURSOR: hand\" id=\"BLOGGER_PHOTO_ID_5364290101047936930\" border=\"0\" alt=\"\" src=\"http:\/\/3.bp.blogspot.com\/_OHxyZ_c181U\/SnHJbPkbR6I\/AAAAAAAAAQo\/-i7JZFZGGps\/s320\/vmware.jpg\" \/\u003EAfter I made a snapshot of Windows clustered servers the service didn't start anymore.\u003Cbr \/\u003E\u003Cbr \/\u003EI tried to fix it using \/FixQuorum but it didn't work.\u003Cbr \/\u003E\u003Cbr \/\u003EThe solution is really simple but crazy: \u003Cspan style=\"color:#ff0000;\"\u003EDELETE SNAPSHOT\u003C\/span\u003E\u003Cdiv class=\"blogger-post-footer\"\u003E\u003Cscript type=\"text\/javascript\"\u003E\u003C!--\ngoogle_ad_client = \"pub-9208424847702026\";\ngoogle_ad_width = 728;\ngoogle_ad_height = 90;\ngoogle_ad_format = \"728x90_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel = \"\";\ngoogle_ui_features = \"rc:6\";\n\/\/--\u003E\n\u003C\/script\u003E\n\u003Cscript type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"\u003E\n\u003C\/script\u003E\u003C\/div\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/blog.vittoriopavesi.com\/feeds\/250155700992756664\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.blogger.com\/comment.g?blogID=7979948\u0026postID=250155700992756664","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/250155700992756664"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/250155700992756664"},{"rel":"alternate","type":"text/html","href":"https:\/\/blog.vittoriopavesi.com\/2009\/07\/vmware-snapshot-breaks-cluster.html","title":"VMware Snapshot breaks cluster"}],"author":[{"name":{"$t":"Vittorio Pavesi"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02804415638484029352"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgOoro_s3C1b_DZE-3GujtKIXlBpoOefHNYDXUx6bslh2x9OUVq7B19Zp9SsQRr2aY3GNydJfKVIbfM2wTsQWukqspPOeC0pq4yVLAkEg5tVzKX0NoL1EZHDPdNKJKgi3M\/s113\/vittorio.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"http:\/\/3.bp.blogspot.com\/_OHxyZ_c181U\/SnHJbPkbR6I\/AAAAAAAAAQo\/-i7JZFZGGps\/s72-c\/vmware.jpg","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-7979948.post-2126249899777178760"},"published":{"$t":"2008-10-31T19:04:00.000+01:00"},"updated":{"$t":"2008-10-31T19:24:30.458+01:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Scripting"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tips"},{"scheme":"http://www.blogger.com/atom/ns#","term":"VMware"}],"title":{"type":"text","$t":"VMware HBA High Availability"},"content":{"type":"html","$t":"\u003Ca href=\"http:\/\/2.bp.blogspot.com\/_OHxyZ_c181U\/SQtJVPWoYWI\/AAAAAAAAAOM\/Oq78DzdrPrM\/s1600-h\/vmwarelogo.gif\"\u003E\u003Cimg id=\"BLOGGER_PHOTO_ID_5263381218760089954\" style=\"FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 271px; CURSOR: hand; HEIGHT: 92px\" alt=\"\" src=\"http:\/\/2.bp.blogspot.com\/_OHxyZ_c181U\/SQtJVPWoYWI\/AAAAAAAAAOM\/Oq78DzdrPrM\/s400\/vmwarelogo.gif\" border=\"0\" \/\u003E\u003C\/a\u003E\u003Cbr \/\u003E\u003Cdiv\u003E\u003Ca href=\"http:\/\/2.bp.blogspot.com\/_OHxyZ_c181U\/SQtJNvzmMjI\/AAAAAAAAAOE\/n2x3xWa0lRQ\/s1600-h\/vmwarelogo.gif\"\u003E\u003C\/a\u003EWe were testing High Availability of \u003Cstrong\u003EVMware ESX 3.5\u003C\/strong\u003E and we noticed it doesn't manage the failure of all HBA.\u003C\/div\u003E\u003Cdiv\u003E\u003C\/div\u003E\u003Cdiv\u003ELet's suppose each host has 2 paths to reach S.A.N., when a single path fails (e.g. broken fiber, HBA fault...) multipath software manage the connection and everything work. When all paths fail, VMware doesn't degrade to \"maintenance state\" and doesn't make failover.\u003C\/div\u003E\u003Cdiv\u003E\u003C\/div\u003E\u003Cdiv\u003EA geek linux colleague (\u003Ca href=\"https:\/\/gna.org\/users\/baux\"\u003EMaurizio\u003C\/a\u003E) created a simple script that every minute detect fault state and shutdown ESX Host if all paths fails.\u003C\/div\u003E\u003Cdiv\u003E\u003C\/div\u003E\u003Cdiv\u003ECode:\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003E#!\/bin\/sh\u003Cbr \/\u003Efor co in `seq 1 3`;\u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Edo \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Efibcount=`\/usr\/sbin\/esxcfg-mpath -lgrep Dead \/usr\/bin\/wc -l` \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Eif [ $fibcount -lt 4 ]; \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Ethen \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Elogger -t \"fibertest\" \"fiber ok\" \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Eexit 0 \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Efi \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Eif [ $fibcount -eq 4 ] \u0026amp;\u0026amp; [ $co -eq 3 ]; \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Ethen \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Elogger -t \"fibertest\" \"System rebooted, all fiber broken\" \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Esleep 2 \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003E\/sbin\/halt \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Efi \u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;color:#3333ff;\"\u003Esleep 5\u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003Cspan style=\"color:#3333ff;\"\u003E\u003Cspan style=\"font-family:courier new;font-size:85%;\"\u003Edone\u003Cbr \/\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/div\u003E\u003Cdiv\u003E\u003C\/div\u003E\u003Cdiv class=\"blogger-post-footer\"\u003E\u003Cscript type=\"text\/javascript\"\u003E\u003C!--\ngoogle_ad_client = \"pub-9208424847702026\";\ngoogle_ad_width = 728;\ngoogle_ad_height = 90;\ngoogle_ad_format = \"728x90_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel = \"\";\ngoogle_ui_features = \"rc:6\";\n\/\/--\u003E\n\u003C\/script\u003E\n\u003Cscript type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"\u003E\n\u003C\/script\u003E\u003C\/div\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"https:\/\/blog.vittoriopavesi.com\/feeds\/2126249899777178760\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https:\/\/www.blogger.com\/comment.g?blogID=7979948\u0026postID=2126249899777178760","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/2126249899777178760"},{"rel":"self","type":"application/atom+xml","href":"https:\/\/www.blogger.com\/feeds\/7979948\/posts\/default\/2126249899777178760"},{"rel":"alternate","type":"text/html","href":"https:\/\/blog.vittoriopavesi.com\/2008\/10\/vmware-hba-high-availability.html","title":"VMware HBA High Availability"}],"author":[{"name":{"$t":"Vittorio Pavesi"},"uri":{"$t":"http:\/\/www.blogger.com\/profile\/02804415638484029352"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"28","height":"32","src":"\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgOoro_s3C1b_DZE-3GujtKIXlBpoOefHNYDXUx6bslh2x9OUVq7B19Zp9SsQRr2aY3GNydJfKVIbfM2wTsQWukqspPOeC0pq4yVLAkEg5tVzKX0NoL1EZHDPdNKJKgi3M\/s113\/vittorio.jpg"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"http:\/\/2.bp.blogspot.com\/_OHxyZ_c181U\/SQtJVPWoYWI\/AAAAAAAAAOM\/Oq78DzdrPrM\/s72-c\/vmwarelogo.gif","height":"72","width":"72"},"thr$total":{"$t":"1"}}]}});