tag:blogger.com,1999:blog-69602843517636805832024-03-05T07:03:02.643-08:00VirtualSinghVirtualSinghKaramhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.comBlogger71125tag:blogger.com,1999:blog-6960284351763680583.post-88679582786432666132020-07-28T22:44:00.001-07:002020-07-28T22:44:35.180-07:00Error : Unknown CPI error "Unknown" with message 'getaddrinfo': Name or service not known (esxiXX.XX.XX:443) in 'create stemcell' CPI method (CPI request ID:''cpi-XXXXXX) in BOSH DIRECTOR on vSphereI got stuck on this error in my homelab while learning BOSH Director from scratch. And it is a well-known issue which we could get stuck sometimes and its "DNS".<div>I am deploying bosh director where I have DNS working perfectly fine from my machine, within and outside. Even my mobile was able to resolve DNS for all my servers, just to ensure its working fine. But the error kept on saying its a DNS issue.</div><div><br /></div><div>So BOSH Director was successfully deployed, but while uploading stemcell failed because of the DNS issue. </div><div>What I have figured out, BOSH Director VM in my case is 172.20.10.6 which must have DNS resolution to ESXi as it is going to upload the stemcell VM to a shared Datastore of an ESXi host and onwards you could create your deployment. I was trying to dig into BOSH Director VM for which I was not able to find the password with default installation as mentioned on <a href="https://bosh.io/docs/init-vsphere/">bosh.io</a> </div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8rkp31RDS3sBqNbYNeX3y0bIZHoy8UmNXZqitlzaVRjux8UHMTKN1mWytUH7qEvrubjc2SacKQ6DV-29qZL14pyWPERNkxL9PsqB2XJztLzSqqrenFtGTKpJvlvBKMlOLzplCHM4ABkA/s1119/Screen+Shot+2020-07-25+at+9.30.59+PM.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="375" data-original-width="1119" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8rkp31RDS3sBqNbYNeX3y0bIZHoy8UmNXZqitlzaVRjux8UHMTKN1mWytUH7qEvrubjc2SacKQ6DV-29qZL14pyWPERNkxL9PsqB2XJztLzSqqrenFtGTKpJvlvBKMlOLzplCHM4ABkA/w500-h168/Screen+Shot+2020-07-25+at+9.30.59+PM.png" width="500" /></a></div><div><br /><div> </div></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div>Now after a while, I figured that you can SSH into bosh director via a <a href="https://bosh.io/docs/jumpbox/">jumpbox</a> user which is to be specified at the time of create-env for which you have to add <u>-o bosh-deployment/jumpbox-user.yml.</u></div><div><br /></div><div>After creating jumpbox user I logged into BOSH Director, I found the default DNS to be 8.8.8.8 and there was no I was able to make any changes with the default installation.</div><div>Now, this global DNS setting is supposed to be pushed by some configuration files. I even logged into stemcell having USERNAME:- vcap & PASSWORD to be c1oudc0w as mentioned on <a href="https://bosh.io/docs/vm-config/">bosh.io</a> to verify if this DNS setting could be already there but no luck!</div><div><br /></div><div>After a lot of internet search was not able to come across an article that could have helped me to resolve this.</div><div><br /></div><div>This 8.8.8.8 global DNS setting is pushed by /bosh-deployment/bosh.yml<br /><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMQL6gkBahfqywRYF2a0AXcibWlBjeD1-C7NZjMgetYjDu8VF8bw9PAsBQD3jHpiMXj0t2_empWDTUIMO7q1oXFWPTG86WyC65iDVXOYxJlZoGuTTJKHDoGY0UAFeOSaUaenZLWMZN5D4/s241/Screenshot+from+2020-07-28+21-49-52.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="162" data-original-width="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMQL6gkBahfqywRYF2a0AXcibWlBjeD1-C7NZjMgetYjDu8VF8bw9PAsBQD3jHpiMXj0t2_empWDTUIMO7q1oXFWPTG86WyC65iDVXOYxJlZoGuTTJKHDoGY0UAFeOSaUaenZLWMZN5D4/s0/Screenshot+from+2020-07-28+21-49-52.png" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div>So there are two ways to fix this:- </div><div>1. You edit this file with your own DNS Server IP then initiate deployment.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuHzUCh1g4OOsW16tKTuF1BhwvJb9dFra9b4gEU7-hBLFsHY4wo3W8etkkr7nsOJUQZG9fjbt2EHRCZJ4v5pL0AM_qD4xh2c1-15mAExF-jafyruingBRmdsVnPgWIZlUECsO5NAmf3I/s250/Screenshot+from+2020-07-28+20-40-10.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="164" data-original-width="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuHzUCh1g4OOsW16tKTuF1BhwvJb9dFra9b4gEU7-hBLFsHY4wo3W8etkkr7nsOJUQZG9fjbt2EHRCZJ4v5pL0AM_qD4xh2c1-15mAExF-jafyruingBRmdsVnPgWIZlUECsO5NAmf3I/s0/Screenshot+from+2020-07-28+20-40-10.png" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhej9Cd5jzlCqzIy9DPQ9pXusVm_4Yvq1Ec6m-huBNo88h2HUXKiVB7ZzdZaMtClVXSiz5L54nK5w64w4-qw3Ro82AICay_UaV2QMyRZqTNi9bvjgCYZWZQ2vFGP2aeRg6a3u6AkOqx3nQ/s640/Screenshot+from+2020-07-28+20-37-30.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="579" data-original-width="640" height="454" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhej9Cd5jzlCqzIy9DPQ9pXusVm_4Yvq1Ec6m-huBNo88h2HUXKiVB7ZzdZaMtClVXSiz5L54nK5w64w4-qw3Ro82AICay_UaV2QMyRZqTNi9bvjgCYZWZQ2vFGP2aeRg6a3u6AkOqx3nQ/w500-h454/Screenshot+from+2020-07-28+20-37-30.png" width="500" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div>2. You can edit this file and declare an ARRAY type variable at the time of environment creation.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnG9cr5n17lKdBG_2teYr62hq83oBFrkFsTt-UpVPxAZ4mnDc5UfPt7z2guUTun09axsPPlVW70st6yuOvJyApThne51s9pSdb-4ZYyb6GUU38StyVViJkiisDevioU2pvuNhc5L5HKMI/s281/Screenshot+from+2020-07-29+11-06-23.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="150" data-original-width="281" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnG9cr5n17lKdBG_2teYr62hq83oBFrkFsTt-UpVPxAZ4mnDc5UfPt7z2guUTun09axsPPlVW70st6yuOvJyApThne51s9pSdb-4ZYyb6GUU38StyVViJkiisDevioU2pvuNhc5L5HKMI/s0/Screenshot+from+2020-07-29+11-06-23.png" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div>And here I declared my DNS to be array type and it will be there in my bosh0 VM which is created after this create-env.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz8wjJhUk467Z0v7eA_fz4pgVLz2euhZDk4-ohb0JlEAWYjYT5B902Vw3gBatUurB20J4oB-Zf1kRdqLOhuDiuZIPpA_M2arz0LLyLsDuSCKbgMU87aCo4iHKN6wGW95Zlbfg0d12bquQ/s1794/Screenshot+from+2020-07-29+11-07-45.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="777" data-original-width="1794" height="341" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz8wjJhUk467Z0v7eA_fz4pgVLz2euhZDk4-ohb0JlEAWYjYT5B902Vw3gBatUurB20J4oB-Zf1kRdqLOhuDiuZIPpA_M2arz0LLyLsDuSCKbgMU87aCo4iHKN6wGW95Zlbfg0d12bquQ/w781-h341/Screenshot+from+2020-07-29+11-07-45.png" width="781" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgODNJK1I59sqOL3Go4fZaro5TuUOm7bH37GzgvZEJPgXgTWwDFE6dOvibcQrKtHpo1iAM8MgaubE8vTift1voXm42HYAowW_djRzGtJqIIyc-83XX0fWlO1lJGmNwR215z0ObeF2shy-k/s894/Screenshot+from+2020-07-28+19-02-05.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="659" data-original-width="894" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgODNJK1I59sqOL3Go4fZaro5TuUOm7bH37GzgvZEJPgXgTWwDFE6dOvibcQrKtHpo1iAM8MgaubE8vTift1voXm42HYAowW_djRzGtJqIIyc-83XX0fWlO1lJGmNwR215z0ObeF2shy-k/s320/Screenshot+from+2020-07-28+19-02-05.png" width="320" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div>And finally, uploading stemcell completed successfully.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_9wYGy_RJsb_GvaeZXlziVBlMxVHg4V8CJGa-uql4YnoA70G6Hd4EPFa6eeVNTeoIzxXVDErdzlsu9ZH8JU2gKcC9onurw23Fk-3DtoUojC-Hu1R_vDSOh4fQ5fYuKIiChnKAUlP9lEI/s1491/Screenshot+from+2020-07-28+18-11-35.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="293" data-original-width="1491" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_9wYGy_RJsb_GvaeZXlziVBlMxVHg4V8CJGa-uql4YnoA70G6Hd4EPFa6eeVNTeoIzxXVDErdzlsu9ZH8JU2gKcC9onurw23Fk-3DtoUojC-Hu1R_vDSOh4fQ5fYuKIiChnKAUlP9lEI/w625-h124/Screenshot+from+2020-07-28+18-11-35.png" width="625" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-22445267207646442122020-03-09T10:02:00.001-07:002020-03-09T10:11:47.319-07:00Kubernetes the Hard Way on VMware Workstation <div dir="ltr" style="text-align: left;" trbidi="on">
Time to play with some Github. I am new to this ecosystem of DevOps where one can easily fork the content published and modify according to their requirement.<br />
<div>
<br /></div>
<div>
I am learning Kubernetes for the past few months and is preparing for CKA(Certified Kubernetes Administrator). One of the most important parts as per some findings and experience shared by the opensource community is KUBERNETES-THE-HARD-WAY.</div>
<div>
<br /></div>
<div>
It took some time for me to understand this so-called "KUBERNETES". I must say I learned a lot from an online Udemy course <span style="font-family: "sf pro display" , , "blinkmacsystemfont" , "segoe ui" , "roboto" , "helvetica" , "arial" , sans-serif , "apple color emoji" , "segoe ui emoji" , "segoe ui symbol"; font-size: x-small; letter-spacing: -0.02rem;"><a href="https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests/" style="font-family: "sf pro display", -apple-system, BlinkMacSystemFont, "segoe ui", Roboto, Helvetica, Arial, sans-serif, "apple color emoji", "segoe ui emoji", "segoe ui symbol"; letter-spacing: -0.02rem;">Certified Kubernetes Administrator (CKA) with Practice Tests</a> by </span><a class="instructor-links--names--7UPZj" href="https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests/#instructor-1" style="box-sizing: border-box; color: #0f7c90; display: inline; font-family: "sf pro text", -apple-system, BlinkMacSystemFont, "segoe ui", Roboto, Helvetica, Arial, sans-serif, "apple color emoji", "segoe ui emoji", "segoe ui symbol"; font-size: 14px; margin: 0px 0px 0px 4px; outline: none; padding: 0px; text-decoration-line: none;">Mumshad Mannambeth</a>. He is a kind of Gem for this technology. </div>
<div>
<br /></div>
<div>
In this course, labs are available on your web browser with no additional charge and you can spin it N number of times in a day. I have completed all the labs once.</div>
<div>
<br /></div>
<div>
Afterward, I had to get my hands dirty on the Ubuntu terminal to configure the Kubernetes Cluster manually.</div>
<div>
<br /></div>
<div>
Instead of posting it on the blog, I have posted it on Github.</div>
<div>
<b><br /></b></div>
<div>
<ul style="text-align: left;">
<li><b><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/01-prerequisites.md">Prerequisites</a></b></li>
<li><b><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/02-client-tools.md">Installing the Client Tools</a></b></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/04-certificate-authority.md"><b>Provisioning a CA & Generating TLS Certificates</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/05-kubernetes-configuration-files.md"><b>Generating Kubernetes Configuration files for Authentication</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/06-data-encryption-keys.md"><b>Generating the data encryption config and key</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/07-bootstrapping-etcd.md"><b>Bootstrapping the etcd cluster</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/08-bootstrapping-kubernetes-controllers.md"><b>Bootstrapping the Kubernetes Control Plane</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/09-bootstrapping-kubernetes-workers.md"><b>Bootstrapping the Kubernetes Worker001 Node</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/10-tls-bootstrapping-kubernetes-workers.md"><b>TLS Bootstrapping Worker002 Node</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/11-pod-network-routes.md"><b>Deploy Pod Networking</b></a></li>
<li><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/13-kube-apiserver-to-kubelet.md"><b>RBAC for kubelet Authorization</b></a></li>
<li><b><a href="https://github.com/Kskohli/kubernetes-the-hard-way/blob/master/docs/14-dns-addon.md">Deploying DNS for pods</a></b></li>
</ul>
<div>
A majot difference in bootstrapping cluster using hard-way and using Kubeadm is:-</div>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVOF1rvQoJ9MEE3VIiRq_kxZJwW0ZFevhtYBM4DQsVgFTmgS9HFgnghpc2Tu3rqy4s67LCIkhK7oDRX0vsiNULWcdsLpeaGsvxG6DCo-5nGNS3lBEfkgDMjz6W63Oq_Yh9RqNFWnQQYj4/s1600/Screenshot+from+2020-03-09+22-34-51.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="573" data-original-width="1600" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVOF1rvQoJ9MEE3VIiRq_kxZJwW0ZFevhtYBM4DQsVgFTmgS9HFgnghpc2Tu3rqy4s67LCIkhK7oDRX0vsiNULWcdsLpeaGsvxG6DCo-5nGNS3lBEfkgDMjz6W63Oq_Yh9RqNFWnQQYj4/s640/Screenshot+from+2020-03-09+22-34-51.png" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
In case of Manual Bootstrap:- Kube-Scheduler, Kube-Proxy, Kube-Controller-Manager, etcd, Kube-APIServer are running as a Service</div>
<div>
<br /></div>
<div>
In case of Cluster Bootstrapped using Kubeadm:- All of the components are running as pods under kube-system namespace.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-85383476404113927132019-04-10T05:24:00.002-07:002020-01-08T23:37:37.305-08:00Invoke-NSXWebRequest in PowerCLI<div dir="ltr" style="text-align: left;" trbidi="on">
From a few days, I was trying to use <b>Invoke-NSXWebRequest</b> to make a RESTApi Call in PowerCLI.<br />
<br />
I was not sure how to do this at once, Learning something is always good. I know I am not that good at scripting, but at least I know how to get my work done.<br />
Not every cmdlet is available in <b>POWERNSX </b> as of now, but nowadays EVERYTHING IS API & API IS EVERYTHING.<br />
<br />
So here I have enabled high availability for NSX Edge using POWERNSX & RESTAPI<br />
<br />
<textarea cols="65" rows="2">$uri = '/api/4.0/edges/edge-2/highavailability/config'
</textarea><br />
from <a href="https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_api.pdf">NSXRestAPI Documentation</a> following syntax<br />
<br />
<textarea cols="65" rows="2">PUT /api/4.0/edges/{edgeId}/highavailability/config </textarea><br />
where method type is <b>PUT</b><br />
<b><br /></b>
<br />
<textarea cols="65" rows="10">$Body ='<highavailability>
<ipaddresses>
<ipaddress>192.168.222.1/30</ipAddress>
<ipaddress>192.168.222.2/30</ipAddress>
</ipAddresses>
<declaredeadtime>6</declareDeadTime>
<enabled>true</enabled>
</highAvailability>'
</textarea><br />
Defined a Variable named <b>$Body</b> and passed onto the given content.<br />
<br />
<textarea cols="65" rows="3">$MyConnection = Connect-NsxServer -vCenterServer sa-vcsa-01.vclass.local -Username administrator@vsphere.local -Password VMware1!</textarea>
<br />
<textarea cols="65" rows="3">Invoke-NSXWebRequest -Uri $uri -Method Put -Body $body -connection $MyConnection</textarea> <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_uypXyTGvXRxs5a-lf2WIyzMrdJuVj7l2SF_MCJhU7jdcoZaIQthLACwU8b33uS5xsXmHvseuEY8FnTnV4k4IM9D-vu830jEkSkiEQMNS9S_SXIcYBD9jiETiAgTFmeJ8AJChIpOORTQ/s1600/Api.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="554" data-original-width="1251" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_uypXyTGvXRxs5a-lf2WIyzMrdJuVj7l2SF_MCJhU7jdcoZaIQthLACwU8b33uS5xsXmHvseuEY8FnTnV4k4IM9D-vu830jEkSkiEQMNS9S_SXIcYBD9jiETiAgTFmeJ8AJChIpOORTQ/s400/Api.png" width="400" /></a></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-77751648865976341032018-03-29T04:51:00.002-07:002018-03-29T04:54:35.173-07:00Re-Deploying an EdgeGateway using RESTAPI<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: justify;">
<span style="text-align: left;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="text-align: left;">I am upgrading my lab from vCloud Director from 8.20 to 9.0. One of the tasks is to upgrade existing vShield Edge or Edge Gateway from 5.5.4 to 6.3.4.</span><span style="text-align: left;">Although it's optional, anyhow we have to upgrade as we were moving from Isolated Port Group network backing to VXLNA backed Port Groups. </span><span style="text-align: left;">As I always strive to find different ways to perform the same task, I came across this POSTMAN from which this task could also be initiated.</span><span style="text-align: left;">Hereby attached is the screenshot along with how one can navigate to the edge gateway of an ORG.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="text-align: left;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="text-align: left;">As mentioned in the previous post, <a href="https://virtualsingh.blogspot.in/2017/11/login-in-vcloud-director-using-rest-api.html">Login to vCD using POSTMAN</a> you may get started following that.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwBZl7XLyP2wlbmV0vT2uNLimFATYipyHyMq7Jj_xfraSH1jA_sjHCCDO85OpKg1xKXPqUhma2lC6Pvl0gbEeyeIlaBoi9zuKIxdMxyTCWoTQcN5CrY3tLk3O7q_6yrZP1I1DSHwwOqNU/s1600/Screen+Shot+2017-12-28+at+11.29.37+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="796" data-original-width="1112" height="457" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwBZl7XLyP2wlbmV0vT2uNLimFATYipyHyMq7Jj_xfraSH1jA_sjHCCDO85OpKg1xKXPqUhma2lC6Pvl0gbEeyeIlaBoi9zuKIxdMxyTCWoTQcN5CrY3tLk3O7q_6yrZP1I1DSHwwOqNU/s640/Screen+Shot+2017-12-28+at+11.29.37+PM.png" width="640" /></a></div>
<br />
<br />
Searched for ORGANIZATION named VIRTUAL SINGH, double-click on href.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSBpyN_Hz90LPE6PvLwZvMD1q5Pingt1nufXnyIbLRdI9wRxcjKUSBH-bIGICu07EADSFmY8j6tafF0P-4jrw7FDO7wTagJP8gq7bEO8Gx3czOGzmCdIs-HbnFL3RiY30NhOduprg0P18/s1600/Screen+Shot+2017-12-28+at+11.33.06+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="782" data-original-width="1107" height="451" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSBpyN_Hz90LPE6PvLwZvMD1q5Pingt1nufXnyIbLRdI9wRxcjKUSBH-bIGICu07EADSFmY8j6tafF0P-4jrw7FDO7wTagJP8gq7bEO8Gx3czOGzmCdIs-HbnFL3RiY30NhOduprg0P18/s640/Screen+Shot+2017-12-28+at+11.33.06+PM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Navigated to myVDC named VSINGH VDC.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBzhuZAXPpVMgqUxC2TZb8m5V1RXnM_0dukFfhyphenhyphenVU99JFZYowebv9BGgvUmfCAjqsNG7Y3_cWHWWvizO5TaiygaIXmK3QaRcHZwkj_tYfqirbxPyoqpSdkWvmwvqLEvBgjmWC9qFuYyWA/s1600/Screen+Shot+2017-12-28+at+11.43.26+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="788" data-original-width="1105" height="456" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBzhuZAXPpVMgqUxC2TZb8m5V1RXnM_0dukFfhyphenhyphenVU99JFZYowebv9BGgvUmfCAjqsNG7Y3_cWHWWvizO5TaiygaIXmK3QaRcHZwkj_tYfqirbxPyoqpSdkWvmwvqLEvBgjmWC9qFuYyWA/s640/Screen+Shot+2017-12-28+at+11.43.26+PM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Here navigating to ProviderVDC named GoldPvdc </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnrI5-9zvL3r_rkZi0AhxEF30QCe514JWVW-XlpBBBjJSzj6Si5hMMqRFhq-jKURPulMPs-qlgAm5nd9mbVmnYFPhgNQzIL9Yg4-I7H8FYGDt4GUOOB1paiC_6uoDiTec_cW64Ne8eLEc/s1600/Screen+Shot+2017-12-29+at+12.01.47+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="783" data-original-width="1109" height="449" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnrI5-9zvL3r_rkZi0AhxEF30QCe514JWVW-XlpBBBjJSzj6Si5hMMqRFhq-jKURPulMPs-qlgAm5nd9mbVmnYFPhgNQzIL9Yg4-I7H8FYGDt4GUOOB1paiC_6uoDiTec_cW64Ne8eLEc/s640/Screen+Shot+2017-12-29+at+12.01.47+AM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Finding the networking href for VDC</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-kUHGCncd9HJDQ-J41hjmLqcSnB3BNuhg7MT8SBojdaN_X4LW-FysTj5s0AQaxQF4QaZmR8fVQS5NdpRBemHSDFbzED0RyIDGBZgaQR_rGGoe5w8KhBsYQPJ-QlENc1lx4foaz4gPdVQ/s1600/Screen+Shot+2017-12-29+at+12.02.46+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="721" data-original-width="1017" height="451" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-kUHGCncd9HJDQ-J41hjmLqcSnB3BNuhg7MT8SBojdaN_X4LW-FysTj5s0AQaxQF4QaZmR8fVQS5NdpRBemHSDFbzED0RyIDGBZgaQR_rGGoe5w8KhBsYQPJ-QlENc1lx4foaz4gPdVQ/s640/Screen+Shot+2017-12-29+at+12.02.46+AM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Finding the appropriate Edge Gateway<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw8cFVDN5I71BNMh06dS4TgMed_Me-fRB-He7x7NNuAL7ovrO4nKsyyFdk57kEk-YuRyipUFmJ6OonaESzdMbC6-ZowwkFRQyz4u6IvxEMgIwLrldaHlUERvivlhtNuxosesjh66T8TyU/s1600/Screen+Shot+2017-12-29+at+12.03.45+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="724" data-original-width="1027" height="449" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw8cFVDN5I71BNMh06dS4TgMed_Me-fRB-He7x7NNuAL7ovrO4nKsyyFdk57kEk-YuRyipUFmJ6OonaESzdMbC6-ZowwkFRQyz4u6IvxEMgIwLrldaHlUERvivlhtNuxosesjh66T8TyU/s640/Screen+Shot+2017-12-29+at+12.03.45+AM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
And Using POST method to Redploy the edge gateway.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvlp4805q0weJR2__Za2nv25whfk4VIH-Z16FcLHrU-6DXnNPxKwaEy4zS3gb88BBZiUBuUZKtHYXlIpLxYc5QlrpNNXJQo_vOtz1lT-DDIkvhHG-VmMhpqJyNsL5gEDQxy67xVF-6Sk/s1600/Screen+Shot+2017-12-29+at+12.04.23+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="722" data-original-width="1019" height="451" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvlp4805q0weJR2__Za2nv25whfk4VIH-Z16FcLHrU-6DXnNPxKwaEy4zS3gb88BBZiUBuUZKtHYXlIpLxYc5QlrpNNXJQo_vOtz1lT-DDIkvhHG-VmMhpqJyNsL5gEDQxy67xVF-6Sk/s640/Screen+Shot+2017-12-29+at+12.04.23+AM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Edge gateway redeploying initiated using REST API from Postman Client in vCloud Director.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3w0biOM30h_WASkqRpfWgi1rBXoZc_ml9RGCSxNki_o76ap65tjLxFGWrh81Er_I6OnhN_bDfJlkhTckyNfZxfxx0WUBwlydWAJRvFVW8quVhm1T4WK07GtLbNPOGtfzsv-7KuciNXXI/s1600/Screen+Shot+2017-12-29+at+12.04.51+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="617" data-original-width="1256" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3w0biOM30h_WASkqRpfWgi1rBXoZc_ml9RGCSxNki_o76ap65tjLxFGWrh81Er_I6OnhN_bDfJlkhTckyNfZxfxx0WUBwlydWAJRvFVW8quVhm1T4WK07GtLbNPOGtfzsv-7KuciNXXI/s640/Screen+Shot+2017-12-29+at+12.04.51+AM.png" width="640" /></a></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-79063500129036598802018-03-28T06:58:00.002-07:002018-03-28T06:58:17.248-07:00Virtual Machine - Edit Settings - (Disk) Part 3(ii)<div dir="ltr" style="text-align: left;" trbidi="on">
In my <a href="http://virtualsingh.blogspot.in/2017/10/virtual-machine-edit-settings-disk-part.html">previous post</a>, I have talked about Virtual Machine Storage Policies.<br />
In this post, we"ll be talking about Different types of disk provisioning:-<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5puKqp7LWzU9DVckwzQ5Wwkewo9y51Brb7SrKK2nLn65BfvNiK0DiefrPj4X5cIochtwVXx2NUVf92OgCZHw1Bo-zwXUzahsfM0qsnz91db5fYHzHjlbuCb_Q1TnV8wRVGJHSicJ7J8o/s1600/Screen+Shot+2017-08-22+at+8.45.42+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="294" data-original-width="579" height="324" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5puKqp7LWzU9DVckwzQ5Wwkewo9y51Brb7SrKK2nLn65BfvNiK0DiefrPj4X5cIochtwVXx2NUVf92OgCZHw1Bo-zwXUzahsfM0qsnz91db5fYHzHjlbuCb_Q1TnV8wRVGJHSicJ7J8o/s640/Screen+Shot+2017-08-22+at+8.45.42+PM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
There are 3 different types of disk provisioning:- </div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul style="text-align: left;">
<li><b>Thin Provision</b></li>
<li><b>Thick Provision: i)Eager Zeroed</b></li>
<ul><ul><ul></ul>
</ul>
</ul>
<li><b> ii) Lazy Zeroed</b></li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: left;">
By default, a Virtual Machine is <b>Thick Lazy-Zeroed </b>in case of <b>Block-Level </b>storage. You can change the type of disk provisioning at the time of creating a VM in Block-Level Storage. Now I"ll talk about the three types:-</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>1. Thin Provisioning:- </b>Allocation and Zeroing of blocks are done on demand upon the first write to block. The file blocks are zeroed out when blocks are allocated. File block allocation will be dynamic i.e non-contiguous. Mostly used in Cloud environments or automated infrastructures where provisioning required will be fastest. This now defaults in case of <b>Virtual SAN.</b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b>2.</b> <b>Thick Provision: i)Eager Zeroed:- </b>File blocks allocated are allocated and Zeroed at the time of vmdk(Disk) creation. In this blocks will be fully allocated & will have highest chances of contiguous file blocks allocation. It will be taking more time during creation.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>3.</b> <b>Thick Provision: </b><b>ii) Lazy Zeroed:- </b>Blocks are fully preallocated but blocks are zeroed out when each block is first written to. It will be faster than <b>Thick Provision Eager Zeroed. </b>Chances will be higher of contiguous file block allocation.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
There is a topic of debate when to use <b>Thick Provision Eager Zeroed</b> and When to use <b>Thick Provisioned Lazy Zeroed. </b>There's an interesting topic available <a href="http://rickardnobel.se/eager-thick-vs-lazy-thick-disk-performance/">Eager thick vs Lazy thick disk performance</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-27400658019945172882018-02-14T08:51:00.002-08:002018-02-20T08:44:19.424-08:00Vembu BDR Suite : Product Review<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlMYGQ58f_r0lsR517A49kRP-Fi7zzKgNkrO15IaDTb2Y8qOvyetJcS1Jjd2o3hrCmFgk-EBlK9SFrq_gFROQUwc2ydhc7P_RzNgk2MxZHwlVhumv5cbzwYwuM-s-DsyQxWN7nzpRdEA8/s1600/320+X+108.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="108" data-original-width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlMYGQ58f_r0lsR517A49kRP-Fi7zzKgNkrO15IaDTb2Y8qOvyetJcS1Jjd2o3hrCmFgk-EBlK9SFrq_gFROQUwc2ydhc7P_RzNgk2MxZHwlVhumv5cbzwYwuM-s-DsyQxWN7nzpRdEA8/s1600/320+X+108.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #222222; text-align: left;"><br /><span style="font-family: "times" , "times new roman" , serif;">Vembu BDR(Backup & Disaster Recovery) is a trusted solution for Small, Medium and Large Businesses reaching 100+ countries, having 4k+ partners and 60k+ Businesses. </span></span><span style="font-family: "times" , "times new roman" , serif;"><span style="color: #222222; text-align: left;">Vembu Technologies has recently released a backup and DR suite called </span><a href="https://www.vembu.com/vembu-bdr-suite-download/" style="text-align: left;">Vembu BDR Suite v3.9.0</a><span style="text-align: left;">. </span><span style="text-align: left;">Their Offerings are in 2: </span><a href="https://www.vembu.com/vembu-bdr-suite/" style="text-align: left;">Vembu BDR Suite</a><span style="text-align: left;"> & </span><a href="https://www.vembu.com/vembu-cloud-services/" style="text-align: left;">Vembu Cloud Services</a><span style="text-align: left;">. </span></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="font-family: "times" , "times new roman" , serif; text-align: left;">Vembu has a lot in their product line so covering each and every feature will be beyond this post. I"ll try to cover all the possible features in a series of blog posts.</span></div>
<b><span style="font-family: "times" , "times new roman" , serif;"><br /></span></b>
<br />
<ul style="text-align: left;">
<li><b><b><a href="https://www.vembu.com/vembu-bdr-suite/">Vembu BDR Suite</a>:</b> It is a suite of four services, built into one unified web-based user interface, which includes:-</b></li>
</ul>
<br />
<ol style="text-align: left;">
<li><a href="https://www.vembu.com/pdf/guide/vembu-vmbackup-user-guide.pdf">Vembu VMBackup:</a> For VMs created on <a href="https://www.vembu.com/vmware-backup/">VMware ESXi</a> and <a href="https://www.vembu.com/hyper-v-backup/">Microsoft Hyper-V VMbackup</a> could be used. It supports application-aware backups without installing any agent. Apart from backup and restore of virtual machines, Vembu VMBackup also supports replicating virtual machines from one production hosts to another that's an interesting feature. </li>
<li><a href="https://www.vembu.com/vembu-imagebackup/">Vembu ImageBackup</a>:-Vembu ImageBackup (Part of Vembu BDR Suite) is a comprehensive data protection and disaster recovery solution designed to meet the needs of physical data centers and workstations for SMBs and Enterprises. Users can now provide their data centers and Workstations(desktops and laptops) the utmost protection they deserve with Vembu ImageBackup. It requires an agent to be installed on your machine. It uses Disk Image Backup, CBT and Application Aware Backups.</li>
<li><a href="https://www.vembu.com/pdf/guide/vembu-networkbackup-guide.pdf">Vembu NetworkBackup:-</a> It supports specific files/folder backup and application backups such as Microsoft Exchange, Microsoft SQL Server, Microsoft Active Directory, Microsoft SharePoint, Outlook, and MySQL.</li>
<li><a href="https://www.vembu.com/vembu-offsitedr/">Vembu OffsiteDR</a>:-Vembu OffsiteDR (Part of Vembu BDR Suite) is a comprehensive data protection solution that is designed to help users restore their backups that are replicated from Vembu BDR Server to their very own data center. For this feature to work one has to deploy a <b><a href="https://www.vembu.com/vembu-offsitedr/">Vembu Offsite DR Server.</a></b></li>
</ol>
<b><br /></b>
<br />
<ul style="text-align: left;"><b>
<li><b><a href="https://www.vembu.com/vembu-cloud-services/">Vembu Cloud Service</a>s:- </b><b>It is a suite of four services, built into one unified web-based user interface, which</b> includes:-</li>
</b></ul>
<b> </b><br />
<ol style="text-align: left;">
<li><a href="https://www.vembu.com/vembu-clouddr/" style="font-family: inherit;">Vembu CloudDR</a><span style="font-family: inherit;"><span style="color: #222222;">:- </span></span>Vembu CloudDR is a Disaster Recovery strategy wherein users can restore their backup data directly from our Vembu Cloud Server with minimalistic downtime anywhere anytime. Users can now replicate their data from their backup server to our Vembu Cloud Server seamlessly where all your data is kept secured using AES - 256 bit encryption during rest and during replication.</li>
<li><a href="https://www.vembu.com/vembu-onlinebackup/" style="font-family: inherit;">Vembu OnlineBackup</a><span style="font-family: inherit;"><span style="color: #222222;">:-</span></span>Vembu OnlineBackup is a comprehensive data protection solution designed to provide the best backup and recovery solutions for business data of Small and medium businesses. Vembu OnlineBackup supports specific files/folder backup and application backups such as Microsoft Exchange, Microsoft SQL Server, Microsoft Active Directory, Microsoft SharePoint, Outlook, and MySQL. It allows users to store their business data safe and secure over Vembu cloud and provides a restore anywhere/anytime model.</li>
<li><a href="https://www.vembu.com/vembu-saasbackup/" style="font-family: inherit;">Vembu SaaSBackup</a><span style="font-family: inherit;"><span style="color: #222222;">:-</span></span>Vembu SaaSBackup is a comprehensive data protection solution designed to meet the needs of small and medium businesses protecting their mail servers with domain and user level backups. Vembu SaaSbackup currently provides backup support to Microsoft Office 365 and Google Apps. With backup data stored over Vembu cloud, users are provided with the option of restore anywhere-anytime with the least possible downtime.</li>
<li><a href="https://www.vembu.com/vembu-bdr360/" style="font-family: inherit;">Vembu BDR360</a><span style="color: #222222; font-family: inherit;">:-</span>Vembu BDR360 is a centralized monitoring and management portal which provides end to end visibility to all your IT environment that is backed up(VMs, physical servers, applications etc.,) using Vembu BDR Suite products. It allows administrators to manage backups across diverse environment at ease.<br /><br /><span style="font-size: large;"><br /><u>Reviews:-</u></span></li>
</ol>
<ul style="text-align: left;">
<li style="text-align: left;">Backups have been made simpler with this. Installation is easy, Management & configuration of backups is simple with just a few clicks to initiate.</li>
<li>Available as a .exe installer for Windows & .sh shell executable for Ubuntu. Whether you are running your on-prem or in Cloud Infrastructure i.e for <a href="https://www.vembu.com/aws-ec2-backup-solution/">AWS</a> ec2 instances or for <a href="https://www.vembu.com/microsoft-azure-vm-backup-solution/">Azure</a> VMs. Installation is same. You can check system requirements <a href="https://www.vembu.com/pdf/datasheet/system-requirements-datasheet.pdf">here</a>.</li>
<li style="text-align: left;">I have installed Vembu BDR on <a href="https://virtualsingh.blogspot.com/2018/01/vembu-windows-installation-">Windows Server 2012</a> & <a href="https://virtualsingh.blogspot.com/2018/01/vembu-linux-installation.html">Ubuntu 16.04 LTS</a>. When I started reviewing this product it was v3.8.0 and now v3.9.0 is GA so anyways I have to upgrade in the lab. I have upgraded to Windows-based Vembu BDR Server which is done with just a few clicks.</li>
<li style="text-align: left;">File System:- <a href="https://www.vembu.com/efficient-storage-management/">VembuHIVE</a> which is a vembu proprietary for BDR solutions.</li>
<li style="text-align: left;">It uses PostgreSQL 9.6 database version.</li>
<li style="text-align: left;">So if you are looking to migrate from one OS version to another, it will be like you have to backup of your DB and have to restore it to other O.S.</li>
<li style="text-align: left;">There is a riveting comparison between <a href="https://www.vembu.com/pdf/datasheet/vembu-bdr-suite-free-vs-paid-edition.pdf">free and paid edition.</a></li>
<li style="text-align: left;">In order to activate Vembu BDR suite, the machine is required to have internet connectivity either directly or in restricted environments could be done via proxy. Every 7 days it is going to check with vembu license server for your currently added license.<br />As of now, there is no option available for <b>OFFLINE</b> licensing of this product, but I am very sure these folks will come up near future.</li>
<li style="text-align: left;">It supports integration with <b>REST API </b>based client means if you are looking for some automation with a tool or a script, that would be amazing. For REST-API based parameters, you may check on this <a href="http://vembu-docs.s3.amazonaws.com/vembu-vmbackup-api-documentation/getting-started.html">link</a>. I will be looking forward to integrating it with vRealize Automation & vRealize Orchestrator to make Day2 activities less complex.</li>
<li style="text-align: left;">With the latest release they have come up with pretty much interesting feature and one of them is <a href="https://www.vembu.com/pre-post-backup-commands/">Pre/Post Backup commands</a> which could be a PowerShell, Ruby, Perl script.</li>
<li style="text-align: left;">The first-time configuration after installation is:-</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM8TZU4T-dVb5K6O0U3mVMDPudP4Zm-IcrxAmss3QlYM9RyCknrCPJhUr8ol_Fx5d0PjqMMoqvy8kc5xyOXtU7FNKe-asyssGpGN0rwDNWzwc5HdFinSSd-xYdU95gYEKSZltAEYRKwFI/s1600/Screen+Shot+2018-01-06+at+7.48.05+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="276" data-original-width="603" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM8TZU4T-dVb5K6O0U3mVMDPudP4Zm-IcrxAmss3QlYM9RyCknrCPJhUr8ol_Fx5d0PjqMMoqvy8kc5xyOXtU7FNKe-asyssGpGN0rwDNWzwc5HdFinSSd-xYdU95gYEKSZltAEYRKwFI/s400/Screen+Shot+2018-01-06+at+7.48.05+PM.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ul>
<li style="text-align: left;">You have to specify the time zone in which it is installed so that reports and we console will have the same time settings.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi67dGS6YN6dgUl2qQ5a3mQP3VQ6LJtOcNsmNRWTvrW9FhFrj2yqIsI80djc3OSjx-zkdbdaEEqybQm85Y12-jdLOlVO4zWLtuzDRSqjiRbRKIJR2OLxPhehKb8i-qxza2MHDpV9IRmcKs/s1600/Screen+Shot+2018-01-06+at+7.48.32+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="267" data-original-width="608" height="175" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi67dGS6YN6dgUl2qQ5a3mQP3VQ6LJtOcNsmNRWTvrW9FhFrj2yqIsI80djc3OSjx-zkdbdaEEqybQm85Y12-jdLOlVO4zWLtuzDRSqjiRbRKIJR2OLxPhehKb8i-qxza2MHDpV9IRmcKs/s400/Screen+Shot+2018-01-06+at+7.48.32+PM.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ul>
<li style="text-align: left;">For registration, you have to create a unique vembu ID.</li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtQUdoinbr2KgqPE-hdYHcvgvGYu4hfTD561-sV9u_NdXmIG4ywGlPGAA4_FLpbJagIiv9AAKWNwq3-H1cet_kO6p6snZVDxtTAMNgYJN_CZAMmlBAx26x8nryrrMb54m2lrKYZda7DQg/s1600/Screen+Shot+2018-01-06+at+8.28.07+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="505" data-original-width="1250" height="257" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtQUdoinbr2KgqPE-hdYHcvgvGYu4hfTD561-sV9u_NdXmIG4ywGlPGAA4_FLpbJagIiv9AAKWNwq3-H1cet_kO6p6snZVDxtTAMNgYJN_CZAMmlBAx26x8nryrrMb54m2lrKYZda7DQg/s640/Screen+Shot+2018-01-06+at+8.28.07+PM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<ul style="text-align: left;">
<li>In the snippet, above shown are the different features of VembuCloud Services such as <a href="https://www.vembu.com/vembu-onlinebackup/">OnlineBackup</a>, <a href="https://www.vembu.com/vembu-clouddr/">CloudDR</a>, <a href="https://www.vembu.com/vembu-offsitedr/">OffsiteDR</a>, <a href="https://www.vembu.com/vembu-bdr360/">BDR360</a>, <a href="https://www.vembu.com/vembu-saasbackup/">SaaSBackup</a>.</li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgckg6uc29_92saj7U91flKUsuSWPyzgnk36Rz8UbuE-kf7hgwp9__p_3P02LkdsijBdIgY5_w1_CZi3L5XntygT7bo8u1IfaiUdhh71uSQ7_yMMiNhEerX05QWOUHj4P30_NuqyOucc1w/s1600/Screen+Shot+2018-01-06+at+7.49.18+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="424" data-original-width="603" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgckg6uc29_92saj7U91flKUsuSWPyzgnk36Rz8UbuE-kf7hgwp9__p_3P02LkdsijBdIgY5_w1_CZi3L5XntygT7bo8u1IfaiUdhh71uSQ7_yMMiNhEerX05QWOUHj4P30_NuqyOucc1w/s320/Screen+Shot+2018-01-06+at+7.49.18+PM.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ul>
<li>You have to register your product for the trial version and later you can go for the paid license. Its license is available on <a href="https://www.vembu.com/vembu-bdr-suite-pricing/">subscription and perpetual </a>which has different prices for features.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirv2vzWenrGP-Ppz0jjZaH7XZw5p_1uRBQIHWfh8EqeyQqZZufXQo3EOKs99Eue7R8w5wu5Ky3XobfME096LhIa_bJyiQ8M7Xt5D0toaXZiDprAvQ9WTXys-YRq4JfuP55xaX0fxbu3nw/s1600/Screen+Shot+2018-01-06+at+7.53.18+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="661" data-original-width="881" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirv2vzWenrGP-Ppz0jjZaH7XZw5p_1uRBQIHWfh8EqeyQqZZufXQo3EOKs99Eue7R8w5wu5Ky3XobfME096LhIa_bJyiQ8M7Xt5D0toaXZiDprAvQ9WTXys-YRq4JfuP55xaX0fxbu3nw/s320/Screen+Shot+2018-01-06+at+7.53.18+PM.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ul>
<li style="text-align: left;">Next is you have to add your <a href="https://www.vembu.com/vmware-backup/">vCenter Server, ESXi for VMware environment</a> or <a href="https://www.vembu.com/hyper-v-backup/">Hyper-V</a> for your Microsoft environment.</li>
<li style="text-align: left;">I tested and initiated a backup on Linux as well as windows VMs. It needs the most important utility to be running on your operating system i.e VMware tools in order to quiesce I/O.</li>
<li style="text-align: left;">It supports Full as well as Incremental backups.</li>
<li style="text-align: left;">I"ll be covering each and every feature in a series of posts for this product.</li>
</ul>
<br />
<br />
<span style="background-color: white; color: #444444; font-family: "arial" , "helvetica" , sans-serif; font-size: 13px;">**</span><b style="-webkit-text-stroke-color: rgb(0, 0, 0); background-color: white; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;">Please note that this review was sponsored by Vembu</b><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<style> <!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;} td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;} --> </style>
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-87036918658298503852018-01-01T04:09:00.002-08:002018-01-01T04:09:21.718-08:00Encrypted password to login to vCenter in POWERCLI<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
$Password = Read-Host -Prompt "Enter Password" -AsSecureString<br />
$DecodedPassword = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($Password))<br />
Connect-VIServer -Server vcsa-a.vclass.local -User administrator@vsphere.local -Password $DecodedPassword<br />
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlwSybQ4Ltib2DV66VEYTTLBugQ6TFb-xJBC3pfSmXpvbDGFfjVGazct24lMdNlyq9D9mWqxSz86zOreMKUXxWAkkaS7o1mI6SQlBTAqjVOxgMrTHqZDCfiAoJLPEmvoo-PYe_3XWBVz0/s1600/vCenterconnect.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="581" data-original-width="1019" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlwSybQ4Ltib2DV66VEYTTLBugQ6TFb-xJBC3pfSmXpvbDGFfjVGazct24lMdNlyq9D9mWqxSz86zOreMKUXxWAkkaS7o1mI6SQlBTAqjVOxgMrTHqZDCfiAoJLPEmvoo-PYe_3XWBVz0/s640/vCenterconnect.JPG" width="640" /></a></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-70710345731270612702017-12-31T02:42:00.002-08:002017-12-31T02:44:48.838-08:00Uservars.ESXiShellInteractiveTimeOut & Uservars.ESXiShellTimeOut<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<ul style="text-align: left;">
<li>By Default, both the parameters have a default value as:-<br /><br />i) UserVars.ESXiShellTimeOut =0 <br />ii) UserVars.ESXiShellInteractiveTimeOut=0<br /><br />Value 0 means, it is disable</li>
<li>But if you are in production and had some urgent maintenance or activity enabling SSH & its timeout value could be cumbersome.</li>
<li>If you have different values as per your environment, you can change the value to 0.<br /><br /><br /><br /><div style="text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqDbkRGH4sJVkeL52Cnop-XwsycoXHEOwx6m3qsGXjs0oiRLdVGtu1COjflNJjfnLWzKYy8QyJLuIaQXhorThpV5WIUn3XYJyN-SFGEjg7JnbqT8TdBlrkmMKFs4wRW9740AXbOfLgojM/s1600/Screen+Shot+2017-12-31+at+4.11.14+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="219" data-original-width="848" height="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqDbkRGH4sJVkeL52Cnop-XwsycoXHEOwx6m3qsGXjs0oiRLdVGtu1COjflNJjfnLWzKYy8QyJLuIaQXhorThpV5WIUn3XYJyN-SFGEjg7JnbqT8TdBlrkmMKFs4wRW9740AXbOfLgojM/s640/Screen+Shot+2017-12-31+at+4.11.14+PM.png" width="640" /></a></div>
<br /></li>
<li><div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
<span style="color: black;">$Compute_Cluster = Get-Cluster -Name Compute | Get-VMHost<br />$Compute_Cluster | Get-AdvancedSetting -Name UserVars.ESXiShellTimeOut | Set-AdvancedSetting -Value 0<br />$Compute_Cluster | Get-AdvancedSetting -Name UserVars.ESXiShellInteractiveTimeOut | Set-AdvancedSetting -Value 0</span></div>
</li>
</ul>
</div>
<br />
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-7931772637255376192017-12-14T09:53:00.001-08:002017-12-24T03:15:20.720-08:00Turn ON/OFF SSH on All ESXi host in vCenter/Cluster<div dir="ltr" style="text-align: left;" trbidi="on">
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
<br />
$AllEsxi = get-vmhost<br />
<span style="font-size: 14.6667px;">$AllEsxi | get-VMhostService | where {$_.key -eq "TSM-SSH"} | Set-VMHostService -Policy ON</span><br />
<span style="font-size: 14.6667px;"><span style="color: black; font-family: "calibri"; font-size: small;"><span style="font-size: 14.6667px;">$Allesxi| Get-VMHostService | where {$_.key -eq "TSM-SSH"} | Start-V</span></span><span style="color: black; font-size: 14.6667px;">MHostService </span></span></div>
</div>
<div lang="en-US" style="margin: 0in;">
<div style="font-family: calibri; font-size: 11pt;">
<br /></div>
<br />
Output:-<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHdd-nVVJp1sh6GwHh-emGBThyH3sgrqoOrPrvx7gN25lbGmiLRBJ7Im4qz1lMRoU4KaIh94-sYhp5_zojGakePqWcyL-4wy-tv6he4zrUs6wChFMz-zlA5g7QyUoQHa7BgCqtmmkTteQ/s1600/Screen+Shot+2017-12-14+at+11.35.06+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="139" data-original-width="648" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHdd-nVVJp1sh6GwHh-emGBThyH3sgrqoOrPrvx7gN25lbGmiLRBJ7Im4qz1lMRoU4KaIh94-sYhp5_zojGakePqWcyL-4wy-tv6he4zrUs6wChFMz-zlA5g7QyUoQHa7BgCqtmmkTteQ/s640/Screen+Shot+2017-12-14+at+11.35.06+PM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<ul style="text-align: left;">
<li>First, we declare a variable $AllEsxi which stores result from Get-VMhost<span style="font-size: 11pt;"> & then we are enabling SSH on all the given hosts.</span></li>
<li>If you want to turn OFF the SSH on all the hosts, simply replace ON with OFF and run the command.</li>
<li>To turn off & stop the service on all the host.</li>
</ul>
<div>
<br class="Apple-interchange-newline" />
<span style="background-color: #eeeeee; color: #555555; font-family: "calibri"; font-size: 14.6667px;"> </span><br />
<div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
<span style="background-color: #eeeeee; color: #555555; font-family: "calibri"; font-size: 14.6667px;">$AllEsxi | Get-VMhostService | where {$_.key -eq "TSM-SSH"} | Set-VMHostService -Policy OFF </span><br />
<span style="background-color: #eeeeee; color: #555555; font-family: "calibri"; font-size: 14.6667px;"><span style="color: black; font-size: x-small;"><span style="font-size: 14.6667px;">$Allesxi| Get-VMHostService | where {$_.key -eq "TSM-SSH"} | Stop-V</span></span><span style="color: black; font-family: "calibri"; font-size: 14.6667px;">MHostService </span></span></div>
<br />
<br />
<ul style="text-align: left;">
<li>If you want to do it at Cluster level, then specify the cluster variable or then use the following:-<br /></li>
</ul>
<div>
<div style="background-color: #eeeeee; border: 2px solid rgb(221, 221, 221); color: #555555; padding: 2px 6px 4px;">
$Cluster_Host = Get-Cluster MyCluster | Get-VMHost<br />
<div style="font-family: calibri; font-size: 14.6667px;">
<span style="font-size: 14.6667px;">$Cluster_Host | get-VMhostService | where {$_.key -eq "TSM-SSH"} | Set-VMHostService -Policy ON</span></div>
<div style="font-family: calibri; font-size: 14.6667px;">
<span style="font-size: 14.6667px;"><span style="color: black; font-family: "calibri"; font-size: small;"><span style="font-size: 14.6667px;"><span style="color: #555555;">$Cluster_Host </span>| Get-VMHostService | where {$_.key -eq "TSM-SSH"} | Start-V</span></span><span style="color: black; font-size: 14.6667px;">MHostService </span></span></div>
</div>
<br /></div>
<ul style="text-align: left;">
<li>If you want to turn ON/OFF service at cluster level, then specify the cluster variable or use the following:-</li>
</ul>
<div>
<div style="background-color: #eeeeee; border: 2px solid rgb(221, 221, 221); color: #555555; padding: 2px 6px 4px;">
<span style="color: #555555; font-family: "calibri"; font-size: 14.6667px;"><span style="font-size: 14.6667px;">$Cluster_Host </span>| Get-VMhostService | where {$_.key -eq "TSM-SSH"} | Set-VMHostService -Policy OFF</span><br />
<span style="color: #555555; font-family: "calibri"; font-size: 14.6667px;"><span style="color: black; font-size: x-small;"><span style="font-size: 14.6667px;"><span style="color: #555555; font-size: 14.6667px;">$Cluster_Host | </span>Get-VMHostService | where {$_.key -eq "TSM-SSH"} | Stop-V</span></span><span style="color: black; font-family: "calibri"; font-size: 14.6667px;">MHostService </span></span></div>
<br />
<br />
<ul style="text-align: left;"></ul>
</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-32728744646437838322017-11-16T19:50:00.000-08:002018-03-29T04:54:52.616-07:00Login in vCloud Director using REST API Client - POSTMAN<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul style="text-align: left;">
<li>Nowadays most of the virtualization products support <a href="https://en.wikipedia.org/wiki/Representational_state_transfer">REST-API</a>. </li>
<li>I first learned to interact using rest-api is with<b> <a href="http://ravellosystems.com/">RavelloSystems</a></b>(a cloud platform by Oracle)</li>
<li>The best client I have come across for it is <b><a href="https://www.getpostman.com/">POSTMAN</a> client</b> available for windows, mac & Linux. I have installed it on my MacBook & windows 10 machine. </li>
<li>So this time I wanted to interact with <b>vCloud Director 8.2 & 9.0</b> using <a href="https://en.wikipedia.org/wiki/Representational_state_transfer">REST-API</a></li>
<li>After a long day meeting and looking for how to log in successfully in vCD using postman client, somehow I figured it late night</li>
<li>So the basic options that we use in it are <b>GET, PUT, POST & DELETE.</b></li>
<li>So if you have worked on <b>HTML</b> it makes it easy to understand the output.</li>
<li>As VMware has already started in vCenter 6.5 -<a href="http://cloudmaniac.net/vsphere-api-explorer/"> REST API explorer.</a></li>
</ul>
<h2 style="text-align: left;">
Steps to login in vCD using POSTMAN</h2>
<div style="text-align: left;">
<ul style="text-align: left;">
<li>URL for vCD i.e<div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
<b>https://IP or FQDN/api/sessions</b></div>
</li>
<li>Authentication- <b>Basic</b> (As per snapshot no. 1)<br /> <b>Username</b>- <b>administrator</b><b class="">@system</b> :- If you are a system administrator.<br /> I found it difficult for the username which took me this much time. So this user can be a LDAP integrated user or Active Directory.<br /> <b>Password- </b> As per your directory</li>
<li>Once authorized with <b>Status:200 OK . </b>In the <b>AUTHORIZATION</b> tab as highlighted, we have <b>HEADERS </b>tab where we will recieve a <b class="">x-vc</b><b>loud-authorization: token.</b></li>
<li>Instead of using your credentials for authentication, we can use the custom header (As per snapshot no. 2 & 3).</li>
<li>Now we are ready to work on this REST-API for interaction using postman client.</li>
</ul>
</div>
<div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCOeKolzrOVrAT7s5rJxbm-Sk_VWm64Ryej9E7463ITGQKgfhIiiwYGX8K7oMPaGq70jY7jju_a0kIbCqNIoe8l0OlfXNX7jcm4iXDgcgMOudDE2KxrhkdqLNJlsPM13ewOtZojJ0_NS8/s1600/Screen+Shot+2017-11-17+at+1.25.50+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="646" data-original-width="1228" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCOeKolzrOVrAT7s5rJxbm-Sk_VWm64Ryej9E7463ITGQKgfhIiiwYGX8K7oMPaGq70jY7jju_a0kIbCqNIoe8l0OlfXNX7jcm4iXDgcgMOudDE2KxrhkdqLNJlsPM13ewOtZojJ0_NS8/s640/Screen+Shot+2017-11-17+at+1.25.50+AM.png" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVEiMvI1tt7n226nxlZi_DCJTbgakDTEL2CPeMZFysMVQM34OMUPCR-tT5W_JexRLHNck_n39mNNK8Q2fjpJH3NOi7DVs_mJe8Ww4MSo0y85b326vD6HT_MNF66n1y6pXw8bJDiaDNpDA/s1600/Screen+Shot+2017-11-17+at+1.22.27+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="664" data-original-width="1226" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVEiMvI1tt7n226nxlZi_DCJTbgakDTEL2CPeMZFysMVQM34OMUPCR-tT5W_JexRLHNck_n39mNNK8Q2fjpJH3NOi7DVs_mJe8Ww4MSo0y85b326vD6HT_MNF66n1y6pXw8bJDiaDNpDA/s640/Screen+Shot+2017-11-17+at+1.22.27+AM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc_mFdOgAiyl-d1QQbyKTdfl-o2S-kK_rdvFHWQ3iggrOnxZABj9WgaGtz83f8koODIl-RTO9cflWACPlGQRaDR4BliDgLtc8xXNzKXI8b5m_23hMZRq5VzBI5ovmF9uQgyJ520VzQUho/s1600/Screen+Shot+2017-11-17+at+1.25.16+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="587" data-original-width="1231" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc_mFdOgAiyl-d1QQbyKTdfl-o2S-kK_rdvFHWQ3iggrOnxZABj9WgaGtz83f8koODIl-RTO9cflWACPlGQRaDR4BliDgLtc8xXNzKXI8b5m_23hMZRq5VzBI5ovmF9uQgyJ520VzQUho/s640/Screen+Shot+2017-11-17+at+1.25.16+AM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com3tag:blogger.com,1999:blog-6960284351763680583.post-45367610055039776842017-10-29T07:09:00.001-07:002017-10-29T07:14:34.869-07:00Virtual Machine - Edit Settings - (Disk) Part 3(i)<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
So after writing the series for CPU & Memory. This series will be dedicated to Settings related to vmdk i.e Virtual Machine Disk.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWVGIZ1Okx3t1MXeMF-pqx1FKo7mEYoRmZSm_3KQi3RVZxkpKaZBoo7haNklvsXcAVEudeaiPoO5f1gDJWRW2QfHM2Knh2hwZtBd6EkEzCOvz1mBzes2vi5FVRHh__obVis0Tid4NRxug/s1600/Screen+Shot+2017-08-22+at+8.45.42+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="294" data-original-width="579" height="324" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWVGIZ1Okx3t1MXeMF-pqx1FKo7mEYoRmZSm_3KQi3RVZxkpKaZBoo7haNklvsXcAVEudeaiPoO5f1gDJWRW2QfHM2Knh2hwZtBd6EkEzCOvz1mBzes2vi5FVRHh__obVis0Tid4NRxug/s640/Screen+Shot+2017-08-22+at+8.45.42+PM.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul style="text-align: left;">
<li>The first option is the size of the virtual machine which can be in MB, GB or TB.</li>
<li>Maximum Size is the size of the datastore up to which VM hard disk could expand.</li>
</ul>
<div>
<a href="https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.storage.doc/GUID-A8BA9141-31F1-4555-A554-4B5B04D75E54.html"><b>VM Storage Policies</b> </a>in production environments is created for <b>storage tiering</b> if using traditional storage i.e <b>Block-Level Storage</b>, <b>Virtual San</b> or a <b>Virtual Volume</b>.</div>
<div>
<br /></div>
<div>
<b><a href="https://docs.vmware.com/en/VMware-vSphere/5.5/com.vmware.vsphere.storage.doc/GUID-9A3650CE-36AA-459F-BC9F-D6D6DAAA9EB9.html">VM Storage policies</a> </b>can be created & managed from <b>vSphere Web Client</b>. I"ll be writing a series of post for different policies which can be created for <b>Virtual SAN</b>, <b>Virtual Volume</b> & <b>Block level storage.</b></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-38416237297545906132017-10-15T06:54:00.005-07:002017-11-28T00:38:18.081-08:00vSAN Policies with PowerCLI(FTT=1,Stripe=3, Object Space Reservation = 50%)<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<p style = "padding : 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border : #dddddd 2px solid">
New-SpbmStoragePolicy -Name OBS -AnyOfRuleSets (New-SpbmRuleSet (New-SpbmRule -Capability (Get-SpbmCapability -Name "VSAN.hostfailuresToTolerate") -Value 1), (New-SpbmRule -Capability (Get-SpbmCapability -Name "VSAN.stripeWidth") -Value 3),(New-SpbmRule -Capability (Get-SpbmCapability -Name VSAN.proportionalCapacity)-Value 50)) <p> <br />
<br />
Output:-<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwP2xpnMEkywR9aoAQMozOqcssVRasjbz4YfOpIxmVZbm-ODpULilTW6N_ni9QN2DHy9uFVYjJj4GXEpbTmEvBm8c8Umf3rM7Y8XqSG5y8Qpc0gz4kRzOkW_XcupY7i-nPAnVMEmlWH3U/s1600/Screen+Shot+2017-10-15+at+7.21.01+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="112" data-original-width="859" height="82" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwP2xpnMEkywR9aoAQMozOqcssVRasjbz4YfOpIxmVZbm-ODpULilTW6N_ni9QN2DHy9uFVYjJj4GXEpbTmEvBm8c8Umf3rM7Y8XqSG5y8Qpc0gz4kRzOkW_XcupY7i-nPAnVMEmlWH3U/s640/Screen+Shot+2017-10-15+at+7.21.01+PM.png" width="640" /></a></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-47447050517498927582017-10-15T06:12:00.003-07:002017-11-28T00:39:54.817-08:00vSAN Policies with PowerCLI(FTT=1, RAID5/6)<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<p style = "padding : 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border : #dddddd 2px solid">
New-SpbmStoragePolicy -Name PowerCLI-RAID5 ` -AnyOfRuleSets ` (New-SpbmRuleSet ` (New-SpbmRule -Capability (Get-SpbmCapability -Name "VSAN.hostFailuresToTolerate" ) -Value 1),(New-SpbmRule -Capability (Get-SpbmCapability -Name "VSAN.replicaPreference" ) -Value "RAID-5/6 (Erasure Coding) - Capacity"))<p><br />
<br />
Output:-<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRG_GugcsGl7RfG_u36wXzSTND8kY_5MvUoQ_J9g8WRHT5JbVNyLG9IJFtDRg8gbb4Y0pU1XFHye2VkCRaeuVV8BI01zFUT3y8J4mnfmpobmwlswf8awtIQdPJp_-nek4WMbOIaPENGWo/s1600/Screen+Shot+2017-10-15+at+6.41.35+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="103" data-original-width="852" height="76" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRG_GugcsGl7RfG_u36wXzSTND8kY_5MvUoQ_J9g8WRHT5JbVNyLG9IJFtDRg8gbb4Y0pU1XFHye2VkCRaeuVV8BI01zFUT3y8J4mnfmpobmwlswf8awtIQdPJp_-nek4WMbOIaPENGWo/s640/Screen+Shot+2017-10-15+at+6.41.35+PM.png" width="640" /></a></div>
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-43173984073276410342017-10-15T03:58:00.001-07:002017-11-28T00:40:39.313-08:00vSAN Policies with PowerCLI(Striping=3)<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<!--StartFragment--><p style = "padding : 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border : #dddddd 2px solid">New-SpbmStoragePolicy
-Name Stripe=3 -RuleSet(New-SpbmRuleSet -Name "striping=3"
-AllOfRules @((NewSpbmRule -Capability VSAN.stripewidth 3)))<p><!--EndFragment--></div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
Output:-</div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy1A0ZJLJynCRt7EsrpESK6vVdPex2IXsBA0XCEl0fxewk7DzDU4CA2C5b5wNSUyijmgpCiykncYCyOlhJwyqcRrPJOHsIz-wByc-dr5-LwlcNOOdbU17zzewpbgLc8OteOkhAtFGAieY/s1600/Screen+Shot+2017-10-15+at+4.27.46+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="96" data-original-width="854" height="68" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy1A0ZJLJynCRt7EsrpESK6vVdPex2IXsBA0XCEl0fxewk7DzDU4CA2C5b5wNSUyijmgpCiykncYCyOlhJwyqcRrPJOHsIz-wByc-dr5-LwlcNOOdbU17zzewpbgLc8OteOkhAtFGAieY/s640/Screen+Shot+2017-10-15+at+4.27.46+PM.png" width="640" /></a></div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-32852431416975649072017-10-15T03:55:00.000-07:002017-11-28T00:40:56.163-08:00vSAN Policies with PowerCLI (No redundancy i.e FTT=0)<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<!--StartFragment--><p style = "padding : 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border : #dddddd 2px solid">New-SpbmStoragePolicy
-Name FTT=0 -RuleSet(New-SpbmRuleSet -Name "NoRedundancy" -AllOfRules
@((New-SpbmRule -Capability VSAN.hostFailuresToTolerate 0))) <p><!--EndFragment--><br />
<br />
Output:-</div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBYp6m7x61uJHBHcmFpz7q32l6QQuOw-LJuzx7gcZcfkL3-Z0UZqsHirgFpi1mVnP2CZkTUCQQkGoaZbMjdM6iJa0EKZzJ8xupOldR9eoB278Jb0KDoLIrtF3ahnGSwpdu__Fo3Xuh4oo/s1600/Screen+Shot+2017-10-15+at+4.23.11+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="135" data-original-width="855" height="99" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBYp6m7x61uJHBHcmFpz7q32l6QQuOw-LJuzx7gcZcfkL3-Z0UZqsHirgFpi1mVnP2CZkTUCQQkGoaZbMjdM6iJa0EKZzJ8xupOldR9eoB278Jb0KDoLIrtF3ahnGSwpdu__Fo3Xuh4oo/s640/Screen+Shot+2017-10-15+at+4.23.11+PM.png" width="640" /></a></div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
<div lang="en-US" style="font-family: Calibri; font-size: 11.0pt; margin: 0in;">
<br /></div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-32240522500333639322017-10-15T03:25:00.003-07:002017-10-15T03:25:33.697-07:00Check IP for Management VMkernel<div dir="ltr" style="text-align: left;" trbidi="on">
<br class="Apple-interchange-newline" /><span style="font-family: calibri, sans-serif;">esxcli network ip interface ipv4 get</span><br />
<span style="font-family: calibri, sans-serif;"><br /></span>
<span style="font-family: calibri, sans-serif;">Output:-</span><br />
<span style="font-family: calibri, sans-serif;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitsTlu4yoXpI5G6lhN7m4BH3omFbINAvGz2fEKG332LkLiyOAcqStRuU3rMa875SUUGd3auynf8l86JkPItT66-GGz98reD88xKOIznyszCqCNMXta1mDiDR-AdLEnR2ggVH_6GfZVEbc/s1600/Screen+Shot+2016-12-25+at+11.56.28+AM.png" imageanchor="1" style="font-family: calibri, sans-serif; font-size: large; font-weight: bold; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" class="" height="66" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitsTlu4yoXpI5G6lhN7m4BH3omFbINAvGz2fEKG332LkLiyOAcqStRuU3rMa875SUUGd3auynf8l86JkPItT66-GGz98reD88xKOIznyszCqCNMXta1mDiDR-AdLEnR2ggVH_6GfZVEbc/s640/Screen+Shot+2016-12-25+at+11.56.28+AM.png" width="640" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-62994303977403723372017-10-15T03:24:00.008-07:002017-10-15T03:24:57.171-07:00Network Port Binding for software iscsi<div dir="ltr" style="text-align: left;" trbidi="on">
esxcli iscsi networkportal add -A vmhba33 -n vmk2<br />
<br />
Output:-<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcAXc3OkgtOOn4cNNcuXJ5yXLL3PvNtotwWZaq4hGFq71473mDatNriFJ3iNUvTbsSEeFimrl6zcuO_2eIgy_7LTNbAsHOa43rQkJj6HdzYiJKcadQbM9UPuQm659o02ybApKobHQXkfg/s1600/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcAXc3OkgtOOn4cNNcuXJ5yXLL3PvNtotwWZaq4hGFq71473mDatNriFJ3iNUvTbsSEeFimrl6zcuO_2eIgy_7LTNbAsHOa43rQkJj6HdzYiJKcadQbM9UPuQm659o02ybApKobHQXkfg/s1600/4.jpg" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-63721289869270822672017-10-15T03:24:00.004-07:002017-10-15T03:24:20.567-07:00Add software iscsi target using esxcli<div dir="ltr" style="text-align: left;" trbidi="on">
esxcli iscsi software set -e true<br />
<br />
Output:-<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPbUYw8hxu42z2TdRELpwimTHGROeQ3InI_7mwJerXzFzThEvcx-FxZ8wXUDDIV5q0YkSlMPe_6tJqvwHaZwEH3HgG_dg0Cq0OhVP0u3_DhebuCwD_c3tPNC6JOXa7qBRFz_JRSXAkFQA/s1600/Screen+Shot+2016-12-25+at+11.47.31+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="91" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPbUYw8hxu42z2TdRELpwimTHGROeQ3InI_7mwJerXzFzThEvcx-FxZ8wXUDDIV5q0YkSlMPe_6tJqvwHaZwEH3HgG_dg0Cq0OhVP0u3_DhebuCwD_c3tPNC6JOXa7qBRFz_JRSXAkFQA/s640/Screen+Shot+2016-12-25+at+11.47.31+AM.png" width="640" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-79768403386251671042017-10-15T03:23:00.008-07:002017-10-15T03:23:48.704-07:00Add Target for software iscsi using esxcli<div dir="ltr" style="text-align: left;" trbidi="on">
esxcli iscsi adapter discovery sendtarget add -a iscsi.vclass.local:3260 -A vmhba33<br />
<br />
Output:-<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn6zMP-6-LNS1if84XWMVqQVXjNxLg8-vKRYJWg5d65jOICTXqL1jAzV5VR8cJ4ZmSWo-0coCUWJBIu40E2bd3hpj5Zb3eBi5l9Kc7lNio7b-__wP4L0PpG56SPfpkBzMIbddLhoyKuwI/s1600/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn6zMP-6-LNS1if84XWMVqQVXjNxLg8-vKRYJWg5d65jOICTXqL1jAzV5VR8cJ4ZmSWo-0coCUWJBIu40E2bd3hpj5Zb3eBi5l9Kc7lNio7b-__wP4L0PpG56SPfpkBzMIbddLhoyKuwI/s1600/3.jpg" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-51044595853072748782017-10-15T03:23:00.003-07:002017-11-28T00:41:28.467-08:00Enable software iscsi on esxi02<div dir="ltr" style="text-align: left;" trbidi="on">
<p style = "padding : 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border : #dddddd 2px solid">
Get-VMHostStorage -VMHost esxi02.vclass.local | Set-VMHostStorage –SoftwareIscsiEnabled $True <p><br />
<br />
Output:-<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYkc23xHc7K_DtQmLIHz0gzt4PsZQmgB8jouoFe6BP41mpUZk4XKT7SnBBXOitcJ6Ulw0AjcuaeJlsmgyzwy_H58wNK7HHwTxC8y6uB65QwnLRfbsRQgHgy99T9O2xWQpnJhRluZyBOGE/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYkc23xHc7K_DtQmLIHz0gzt4PsZQmgB8jouoFe6BP41mpUZk4XKT7SnBBXOitcJ6Ulw0AjcuaeJlsmgyzwy_H58wNK7HHwTxC8y6uB65QwnLRfbsRQgHgy99T9O2xWQpnJhRluZyBOGE/s1600/2.jpg" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-42069178482102766302017-10-15T03:22:00.004-07:002017-10-15T03:22:39.798-07:00Create a Port Group for vMotion(TCP/IP Stack enabled for vMotion)<div dir="ltr" style="text-align: left;" trbidi="on">
New-VMHostNetworkAdapter -VMHost esxi02.vclass.local -PortGroup vMotion -VirtualSwitch vSwitch2 -IP 172.20.12.52 -SubnetMask 255.255.255.0 -VMotionEnabled $true<br />
<br />
Output:-<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-6H5ddk8HoHIld5V5Z7O_miJdYZBoxLv-rUhxP1Ylr-SwutHL-DUlUNZzQ3zjnFH-DSY143gDFzBgymhMgRe31qXJnDHSYQeNgNAyBlTHnT3wnJS5i9xvbCNKVi58lOQoJOvAoOapcPQ/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-6H5ddk8HoHIld5V5Z7O_miJdYZBoxLv-rUhxP1Ylr-SwutHL-DUlUNZzQ3zjnFH-DSY143gDFzBgymhMgRe31qXJnDHSYQeNgNAyBlTHnT3wnJS5i9xvbCNKVi58lOQoJOvAoOapcPQ/s1600/1.jpg" /></a><br />
<br /></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-76225231554660245122017-10-15T03:21:00.002-07:002017-11-28T00:44:00.495-08:00GUID in Windows<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "calibri" , sans-serif;"><p style = "padding : 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border : #dddddd 2px solid">powershell -Command "[guid]::NewGuid().ToString()" <p></span><br />
<span style="font-family: "calibri" , sans-serif;"><br /></span>
<span style="font-family: "calibri" , sans-serif;">Output:-</span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGXSsNeG2x73VX5uZPzdWmc7CwQvNoMrmxf8QNU9wtEu0H5Xku-qpBtbcOg3-MM0wg7yiIAMX29dKEVtjCehUUjn926tmFpdkLSjI_7K2dKkohwSU8m_liZgm3A4N6jPD8Sjw9eZ8_K3c/s1600/Screenshot+%2528231%2529.png" imageanchor="1" style="font-size: x-large; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="67" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGXSsNeG2x73VX5uZPzdWmc7CwQvNoMrmxf8QNU9wtEu0H5Xku-qpBtbcOg3-MM0wg7yiIAMX29dKEVtjCehUUjn926tmFpdkLSjI_7K2dKkohwSU8m_liZgm3A4N6jPD8Sjw9eZ8_K3c/s640/Screenshot+%2528231%2529.png" width="640" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-91093069990994234532017-10-15T03:10:00.000-07:002017-10-15T03:17:08.288-07:00Join a host to active directory domain<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "calibri" , sans-serif; font-size: large;">Get-VMHostAuthentication -VMHost </span><span style="color: red; font-family: "calibri" , sans-serif; font-size: large;">esxi01.vclass.local </span><span style="font-family: "calibri" , sans-serif; font-size: large;">| Set-VMHostAuthentication -JoinDomain vclass.local -Username administrator -Password VMware1!</span><br />
<span style="font-family: "calibri" , sans-serif; font-size: large;"><br /></span>
<span style="font-family: "calibri" , sans-serif; font-size: large;">Output:-</span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg9QeeF0RvpldQv-SHB4hHVPFZSFFcpYX3G-EknNgDnmarqgiHl_6M7_cmJe3CS0FbFG64r3AdEeuygq4dAY6cklXbmNpouGrSBqSwDQMYUycXyqqqj1EW4hzbzv6nRgACeQIdx-2QtoM/s1600/powercli.jpg" imageanchor="1" style="font-family: calibri, sans-serif; font-size: x-large; line-height: 25.68px; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg9QeeF0RvpldQv-SHB4hHVPFZSFFcpYX3G-EknNgDnmarqgiHl_6M7_cmJe3CS0FbFG64r3AdEeuygq4dAY6cklXbmNpouGrSBqSwDQMYUycXyqqqj1EW4hzbzv6nRgACeQIdx-2QtoM/s400/powercli.jpg" width="400" /></a></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-47035909270579398552017-08-17T06:38:00.002-07:002017-10-25T10:58:51.645-07:00Virtual Machine - CPU (Reservations, Shares & Limits) Part 1(viii)<div dir="ltr" style="text-align: left;" trbidi="on">
As I said, we"ll be covering the CPU - Reservation, Shares & Limits.<br />
<br />
The SI Unit for CPU is hertz(Hz), frequency or clock cycles per second that were somewhat limited to the first generation CPUs. Now in the 21st Century, CPU's have larger processing capability with more clock cycles per second thereby measured in MHz(MegaHertz) i.e <span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">one million cycles per second </span>& GHz(GigaHertz) i.e <span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">one billion cycles per second.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><b><br /></b></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><b><u>RESERVATION</u>: </b>Guaranteed minimum allocation of Resources.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><b><u>LIMIT</u>: </b>Upper bound of given resource or the maximum amount of resource CONSUMER is entitled from physical(ESXi). </span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span><span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><b><u>SHARES</u>: </b>Priority of a VM's access to a given resource.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"></span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span><span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">In Case of CPU, Share values can be defined as Low, Normal, High & Custom.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">In the 2 VMs named, CPU1(Girish01-2), CPU2(Girish01-3). I am running a script to increase the CPU activity.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">In other 3 VMs named VM01(Low), VM02(Normal) & VM03(High) running normally with different share values.</span><br />
<div style="text-align: left;">
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMTuBUxgpv4N9LMaZvH9qK1GSwIaO9ZA1YEYNZw0rAnWOw2SFXDulAe0j2dyY76H6rLj072tX30WLB0ByaxmhI-EB8ma_5LhizqoucJjrOoMqsShC0MoHlutKo-iS0mpqpBKGTvo7MByA/s1600/CPU+Shares1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMTuBUxgpv4N9LMaZvH9qK1GSwIaO9ZA1YEYNZw0rAnWOw2SFXDulAe0j2dyY76H6rLj072tX30WLB0ByaxmhI-EB8ma_5LhizqoucJjrOoMqsShC0MoHlutKo-iS0mpqpBKGTvo7MByA/s400/CPU+Shares1.jpg" width="400" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">People are use to ask is there a performance impact on the VMs!! Nah!. There will be <b>NO IMPACT </b>till the time every one is not hungry for resource as soon as every one is hungry for the resource, there you go!!</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">As given in the screenshot with the help of CPU shares, the VM01 with high is getting more priority and henceforth.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIabGou8va-huQVyrXlMMtskIqHV1jZlghY18Moh8rvvwUUC9pSQe3hrjlV88DadgSLQfi7-xTgMU0WGCAgy6XL6S1e2jdtS7VkfS0yC1mt7MrAZlQ-zS5COpKfjOpIlo3-BZY8wSRYY4/s1600/CPU+Contention.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="121" data-original-width="897" height="84" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIabGou8va-huQVyrXlMMtskIqHV1jZlghY18Moh8rvvwUUC9pSQe3hrjlV88DadgSLQfi7-xTgMU0WGCAgy6XL6S1e2jdtS7VkfS0yC1mt7MrAZlQ-zS5COpKfjOpIlo3-BZY8wSRYY4/s640/CPU+Contention.jpg" width="640" /></a></div>
<br />
<br />
Reference:<a href="https://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.resourcemanagement.doc_41/getting_started_with_resource_management/c_shares.html">Click here.</a><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span></div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0tag:blogger.com,1999:blog-6960284351763680583.post-74663319305815744102017-08-10T06:17:00.002-07:002018-09-30T07:29:49.721-07:00Installing PowerCLI Version 10<div dir="ltr" style="text-align: left;" trbidi="on">
Check the version of PowerShell in windows System,<br />
In order to install powercli 6.5.2 , the version of PowerShell should be 5 or above.<br />
To install PowerShell 5 for windows server 2012, <a href="https://www.google.mu/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiFxN2P3czVAhXpCcAKHWRkBdoQFggkMAA&url=http%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D717507&usg=AFQjCNEH6QkzbXJs6pGpTgLternzlzcUKg">click here</a>.<br />
Download it, install and update the windows server.<br />
Once done run this command to check the PowerShell version<br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<ul style="text-align: left;">
<li><div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
$psversiontable</div>
<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwRiYjtV-gwH6r0BIx7P7eON8ljzX5Uqpyu2hnJwtwCvWwFt-Dl5mYMjfYUCt1Qw-kcHFpEnphbFMIR0ceIYIDP0K4j20zGqYVffQKpCWR5huXekbSTad6JJu_TlbsUx2OgLKo6xcxsEI/s1600/Screen+Shot+2017-08-10+at+5.06.17+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="278" data-original-width="475" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwRiYjtV-gwH6r0BIx7P7eON8ljzX5Uqpyu2hnJwtwCvWwFt-Dl5mYMjfYUCt1Qw-kcHFpEnphbFMIR0ceIYIDP0K4j20zGqYVffQKpCWR5huXekbSTad6JJu_TlbsUx2OgLKo6xcxsEI/s400/Screen+Shot+2017-08-10+at+5.06.17+PM.png" width="400" /></a><br />
</li>
</ul>
<div>
<br /></div>
<div>
Once PowerShell version is updated, run these commands</div>
<div>
<ul style="text-align: left;">
<li><div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
Find-module -Name VMware.PowerCLI</div>
</li>
<li><div style="background-color: #eeeeee; border: #dddddd 2px solid; color: #555555; padding: 2px 6px 4px 6px;">
Install-Module -Name VMware.PowerCLI -Scope CurrentUser</div>
</li>
</ul>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj61Sh2eFSXbNtKTclicINWsuOQa7th6iVpMN54ffG7zg7q5hY5jI581atAC_6hqi6asCHV9TybL0EqPgY04jrovtwJTeRGvJXu12AemOIFDrYTgrwH-e7-uE5kt6RfbhX1NOCOq9lViks/s1600/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="589" data-original-width="854" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj61Sh2eFSXbNtKTclicINWsuOQa7th6iVpMN54ffG7zg7q5hY5jI581atAC_6hqi6asCHV9TybL0EqPgY04jrovtwJTeRGvJXu12AemOIFDrYTgrwH-e7-uE5kt6RfbhX1NOCOq9lViks/s400/1.JPG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Once finished, you will be able to run powercli commands from the same window.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
</div>
</div>
Karamhttp://www.blogger.com/profile/11218747503144243658noreply@blogger.com0