tried the following
get-vmhost -name esx1.domain.com | get-vmhostfirewallexception
and am returned the following
Couldn't obtain reference to the firewall system of host with id: HostSystem-host-123
search didnt help me much.
trying to setup SNMP and i believe i need to open 161 but the CLI esxcfg-firewall doesnt seem to exist and the powercli is tossing this error.
ESXi 4.1
Thanks
I dont see any references to the error above or the firewall in general. am i over looking something?
im REALLY new to VMware stuff and am learning as i go, lot of reading 😕
Thanks
ESXi doesnt have a firewall, which is why i cant connect to it.
guess my problem is not firewall related 😕
thanks
That is correct, ESXi 4.x doesn't contain a FW. See KB1026845
Perhaps time to upgrade to ESXi 5 ? That one does have a FW.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
actually the problem im having is my 4.1i is not letting me access SNMP, i can send traps, i was able to configure it just cant get to it..
telnet <ip> 161
telnet <ip> 162
both fail right away (which is why i thought firewall)
im on the phone with Dell and they are scratching their heads... telling me it should just work... some ESX engineer has an idea and im working on that now...
Personally i said go to 5, our consultant and my boss said lets stick with 4, its been out longer, more stable.. blah blah blah... from the day this was setup i've been dealing with weird bugs.... would love to be on 5
Perhaps a stupid question, but did you enable/start SSH on the ESXi 4.1 server ?
You can enable the SSH service with PowerCLI as follows
Get-VMHost -Name MyEsx | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”} | Start-VMHostService
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
code snippet doesnt show, but i've enabled technical support mode and i use putty to connect in...
i've also set the SNMP traps via a script i found of yours (and the questions i asked you before) and am able to get it to send traps out, but i cant telnet to the snmp ports (which is why i thought it was a firewall issue)
the thoughts they had were for an older version of their software (open manage) which is wrong (That was another long support call)
now they are trying to find the SNMP lic in the list............
I don't think you can telnet into an SNMP port since it is UDP.
Can you perhaps check with a snmpget tool.
You could also download the netcmdlets from /n software.
The forum SW has some issues with older IE versions.
Could you perhaps try with another browser ?
In any case, this was the line of code but now in plain text.
Get-VMHost -Name MyEsx | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”} | Start-VMHostService
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Im getting closer, im going to post a question specific to this problem since the firewall question was answer... thanks