Open googleface opened 5 years ago
Can you check the CSV folder and tell me if anything is populating in the VMHosts CSV?
There is no need to use the -V2 switch as we are pulling everything.
On Tue, Aug 27, 2019, 6:24 AM googleface notifications@github.com wrote:
Hi Tony,
I'm having issues running this against a VC 5.5 box, I'm receiving this warning and the Export-VMHostInfo doesn't appear to be completing, it just sits there, unless it can take a large amount of time to complete? I did leave it about 20 mins and have a fairly small environment.
[image: image] https://user-images.githubusercontent.com/23346932/63774790-e78ede80-c8d5-11e9-8f3d-e361a822c971.png
Do I need to amend the script to include the -V2 switch for this to work please?
PowerShell Version: 5.1.16299.1146 PowerCLI Version: 6.5 Release 1 build 4624819 vCenter Version: 5.5.0 / Build 4180647
Thanks Scott
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Tony-SouthFLVMUG/vDiagram2.0/issues/6?email_source=notifications&email_token=AJETFLPYYPRZHXACIUSWGDTQGUTJDA5CNFSM4IQEOB3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHU3HVQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AJETFLIOVSMCOTECWEMF2MDQGUTJDANCNFSM4IQEOB3A .
Also, please run powershell as administrator when attempting to run vDiagram.
Hi Tony, I have stopped the script and have an empty VMHosts CSV, I am running Powershell as an admin. Thx
Can you try to run a Set-PowerCLIConfiguration -InvalidCertificateAction Ignore
googleface I'm going to try to spin up a 5.5 lab later today but I suspect jtrainmar (Jason) will be looking into this as well. He is one of the co-authors and should be able to also assist. I'm at VMworld this week so my availability is going to be hit or miss.
@jtrainmar my mistake I had 2 sessions open, 1 wasn't an admin, I can run Set-PowerCLIConfiguration -InvalidCertificateAction Ignore successfully and I am trying to re-run the script again, it still appears to be taking some time though, only 28 hosts on this VC, how long should that take to run roughly please? appreciate your prmpt responses guys...
It's been running 10 mins now the VMhost csv isn't growing in size.
28 hosts will take some time to run the full collection, we have had some in testing take hours to complete.
ok thanks, I will be more patient and let you know how it goes.
Patience is a virtue :-) it's looking better, apologies for premature issue creation, will let you know if I come accross any further issues.
Patience is definitely needed sometimes. It can take quite a long time to complete, depending on the environment, but we believe it is definitely worth the wait.
Still going chaps and some 'Not Complete' sections
There are a couple of oddity's there.
Remember the larger the environment the larger it will take to run. Also verify that you have not been disconnected from the vCenter.
Hi Tony, I just checked that, no DS's at all, all standard switches and their is only 1 cluster with DRS enabled, let me re-run it.
Hi Tony, it's still sticking on Export DRS Cluster Group Info, it's not creating the csv.
And you say there is only 1 DRS rule? Maybe uncheck that one for now and don't create that drawing. See if you the script will progress and export the remaining values.
On Wed, Aug 28, 2019, 5:36 AM googleface notifications@github.com wrote:
Hi Tony, it's still sticking on Export DRS Cluster Group Info, it's not creating the csv.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Tony-SouthFLVMUG/vDiagram2.0/issues/6?email_source=notifications&email_token=AJETFLLIZBHJABPEFIHHWQ3QGZWLZA5CNFSM4IQEOB3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5K66OQ#issuecomment-525725498, or mute the thread https://github.com/notifications/unsubscribe-auth/AJETFLMNKESSMG7BOSUBNX3QGZWLZANCNFSM4IQEOB3A .
HI Tony, I have managed to export all the csv apart from the drs ones and the Linked Mode one. I have started the draw visio but it's stuck on create vm to host, any ideas please? Thx
How many hosts/vms are we talking about here? The draws could take awhile based on the size of your environment, keep in mind that each shape will have the metadata within it.
Let it run go have some breakfast/lunch, as long as task manager shows Powershell still using cycles it's running. If your still having issues I can jump on a Webex with you next week when I'm back from VMworld, unless Jason has availability.
On Thu, Aug 29, 2019, 8:14 AM googleface notifications@github.com wrote:
HI Tony, I have managed to export all the csv apart from the drs ones and the Linked Mode one. I have started the draw visio but it's stuck on create vm to host, any ideas please? Thx
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Tony-SouthFLVMUG/vDiagram2.0/issues/6?email_source=notifications&email_token=AJETFLLIJTDR4S6J65N2YJ3QG7RUXA5CNFSM4IQEOB3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5O2RNI#issuecomment-526231733, or mute the thread https://github.com/notifications/unsubscribe-auth/AJETFLNJQBD5UDAB5MV5B2DQG7RUXANCNFSM4IQEOB3A .
It's a small environment, VM's: 458, Hosts: 28, it's been running since 08:00 U.K. time. Is that not long enough for that size of environment? Thx
It shouldn't take too long. Can you look at the minimized Powershell Window and see if its spitting out errors.
On Thu, Aug 29, 2019, 8:21 AM googleface notifications@github.com wrote:
It's a small environment, VM's: 458, Hosts: 28, it's been running since 08:00 U.K. time. Is that not long enough for that size of environment? Thx
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Tony-SouthFLVMUG/vDiagram2.0/issues/6?email_source=notifications&email_token=AJETFLI4OTBHIJDJY6MVT3TQG7SOZA5CNFSM4IQEOB3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5O3JQQ#issuecomment-526234818, or mute the thread https://github.com/notifications/unsubscribe-auth/AJETFLP3GV7X6RQPJKGNDVTQG7SOZANCNFSM4IQEOB3A .
I can hover over both windows but cannot get focus on them, sure not sure I can see the live errors/messages, I'll terminate it and run it again. Thx
Hi Tony, still no diagram created. Please give me a shout after VMworld has finished. Thx
Hi Tony,
I'm having issues running this against a VC 5.5 box, I'm receiving this warning and the Export-VMHostInfo doesn't appear to be completing, it just sits there, unless it can take a large amount of time to complete? I did leave it about 20 mins and have a fairly small environment.
Do I need to amend the script to include the -V2 switch for this to work please?
PowerShell Version: 5.1.16299.1146 PowerCLI Version: 6.5 Release 1 build 4624819 vCenter Version: 5.5.0 / Build 4180647
Thanks Scott