VMware Cloud Community
gajuambi
Enthusiast
Enthusiast
Jump to solution

disabling mob using plink

There are options to disable mob on your esxi hosts (not to mention an excellent one from my colleague) using plink and batch file but i wanted to take a different approach which can be modified for some other stuff like this in future which can't all be done via powercli but requires vcli or shell.

Here is the mob disable command from

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101603...

vim-cmd proxysvc/remove_service "/mob" "httpsWithRedirect"

Task 1. create a text file on /tmp/file.txt using powershell/powercli and plink

task 2. append the command seen above using powershell/powercli and plink

(task 3. add quotes to the /mob and httpsWithRedirect using awk or sed or some other bash method via powershell/powercli and plink)


Is this impossible? If so then i will stick with what we have currently and if not then i would appreciate some help with this.

---------------------- Gajendra D Ambi [pardon my chat lingo]
0 Kudos
1 Solution

Accepted Solutions
gajuambi
Enthusiast
Enthusiast
Jump to solution

well i guess i had to do it all by myself.

forgot to come back and post the solution that i found.

here you go .

its on github.

https://github.com/gajuambi/vmware/blob/master/MOBdisabler1.1

works only on powershell and fails in powercli

---------------------- Gajendra D Ambi [pardon my chat lingo]

View solution in original post

0 Kudos
1 Reply
gajuambi
Enthusiast
Enthusiast
Jump to solution

well i guess i had to do it all by myself.

forgot to come back and post the solution that i found.

here you go .

its on github.

https://github.com/gajuambi/vmware/blob/master/MOBdisabler1.1

works only on powershell and fails in powercli

---------------------- Gajendra D Ambi [pardon my chat lingo]
0 Kudos