{"id":774,"date":"2019-11-27T00:12:27","date_gmt":"2019-11-27T06:12:27","guid":{"rendered":"http:\/\/zewwy.ca\/?p=774"},"modified":"2019-11-27T00:12:57","modified_gmt":"2019-11-27T06:12:57","slug":"rename-a-vswitch-in-vsphere","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2019\/11\/27\/rename-a-vswitch-in-vsphere\/","title":{"rendered":"Rename a vSwitch in vSphere"},"content":{"rendered":"<p>I noticed I had named some vSwitches in the new hosts builds I had. This was nice. However I also noticed I couldn&#8217;t name a vSwitch when creating in vCenter. So how did I name them.<\/p>\n<p>I quickly searched google, but the primary results were not what I was expecting&#8230;.<\/p>\n<p><a href=\"https:\/\/www.cyberfella.co.uk\/2012\/04\/11\/rename-vswitch\/\">1<\/a>, <a href=\"https:\/\/communities.vmware.com\/thread\/590618\">2<\/a>, <a href=\"https:\/\/communities.vmware.com\/thread\/454873\">3<\/a>, <a href=\"https:\/\/communities.vmware.com\/docs\/DOC-36874\">4<\/a><\/p>\n<p>All of which either stated to edit the host config file, or use cli commands&#8230; well I know I did do the first thing, and I don&#8217;t remember using the CLI. Also I don&#8217;t remember having to reboot the host. The only diff I can think of is that I named them at creation, not after the fact, but the vCenter wizard has no option for that&#8230; but sure enough I checked my documentation.<\/p>\n<p>If you login into a host directly, you can name a vSwitch right when creating it. This just requires to be done on each host in the cluster. <a href=\"https:\/\/community.spiceworks.com\/topic\/2184749-why-rename-a-vswitch\">It&#8217;s nice but is it worth it<\/a>?<\/p>\n<p>Once you have it setup it is really nice to have named vSwitches.<\/p>\n<p>of course this doesn&#8217;t include dvSwitches, as those you can name and usually require uplinks to communicate between hosts. However you can still deploy a test dvSwitch to multiple hosts without an uplink though those VMs would only be useful on a single host&#8230; which defeats the purpose of it, but you can move the VMs as a whole group between VMs, and if that &#8220;Test switch&#8221; need any change it would be distributed between all hosts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I noticed I had named some vSwitches in the new hosts builds I had. This was nice. However I also noticed I couldn&#8217;t name a vSwitch when creating in vCenter. So how did I name them. I quickly searched google, but the primary results were not what I was expecting&#8230;. 1, 2, 3, 4 All &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2019\/11\/27\/rename-a-vswitch-in-vsphere\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Rename a vSwitch in vSphere&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5,4],"tags":[88],"class_list":["post-774","post","type-post","status-publish","format-standard","hentry","category-hypervisors","category-infosec","tag-vmware"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=774"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/774\/revisions"}],"predecessor-version":[{"id":775,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/774\/revisions\/775"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}