Hi all,
I have a little problem.
Soon i'll have to make a new iscsi infrastructure to access my SAN so I read "VMware-iSCSI-SAN-Configuration-Guide"
I saw that I have to use VSphere Cli, so I downloaded it
After installing the VMA in my Virtual Center I configured it like that.
"vifp addserver my esx server --username" in order to add one of my ESX then "vifptarget -s myesx server"to connect toit, it works.
The only problem I have is that the command esxcli swiscsi nic list -d vmhba33 does not work.
In fact it tells me to put a username and a password but I don't know which login and password to put
I tried to put the root password it did'nt work so can you help me ?
So as you can see, you're not being prompted for username/password which was the original question.
There is not error that you're currently hitting, your command most likely is outputting the correct information as there probably is no output for that command since your swiSCSI may not be setup correctly.
Take a look at this blog post regarding iSCSI multipathing and esxcli - http://www.yellow-bricks.com/2009/03/18/iscsi-multipathing-with-esxcliexploring-the-next-version-of-...
Please mark this question answered since your actual issue does not pertain to vi-fastpass as you can see it's working and post a new thread if you have further questions around iSCSI setup and using esxcli.
Thanks
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware VCP3,4
VMware VCAP4-DCA
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
With esxcli you actually need to specify --server even though you've initialized a target. You don't need to provide the credentials, just the server name and it'll use the vi-fastpass credentials.
e.g.
[vi-admin@tancredi ~][http://olga.primp-industries.com|http://olga.primp-industries.com]$ esxcli --server olga.primp-industries.com
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware VCP3,4
VMware VCAP4-DCA
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
First off, I see you're logging into vMA using root, the vi-fastpass is only implemented under vi-admin user. Please try using that account
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware VCP3,4
VMware VCAP4-DCA
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
Do me a favor, run just the following:
esxcli --server <server>
If this works and provides back a list of esxcli namespaces, vi-fastpass is working else you would get prompted for a username/password, I suspect that is what is happening and the issue is with the command as it may not be valid if it's not configured.
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware VCP3,4
VMware VCAP4-DCA
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
So as you can see, you're not being prompted for username/password which was the original question.
There is not error that you're currently hitting, your command most likely is outputting the correct information as there probably is no output for that command since your swiSCSI may not be setup correctly.
Take a look at this blog post regarding iSCSI multipathing and esxcli - http://www.yellow-bricks.com/2009/03/18/iscsi-multipathing-with-esxcliexploring-the-next-version-of-...
Please mark this question answered since your actual issue does not pertain to vi-fastpass as you can see it's working and post a new thread if you have further questions around iSCSI setup and using esxcli.
Thanks
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware VCP3,4
VMware VCAP4-DCA
VMware scripts and resources at:
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".