nasuni-labs / nasuni-edgeappliance-automation

Scripts for automating the deployment of Nasuni Edge Appliances
MIT License
2 stars 0 forks source link

AutodeployEA script error #6

Closed agrancea closed 2 years ago

agrancea commented 2 years ago

Hello, Getting many errors running the script, right from the top, see attached "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond" Autodeploy EA errors.docx

I would appreciate your help to troubleshoot.

Thanks, Adrian Grancea | Systems Administrator Phone: +1.416.627.1675 adrian.grancea@tetratech.com

Tetra Tech | Enterprise Technical Support 6835A Century Avenue | Mississauga, ON L5N 7K2 | Canada | www.tetratech.com

cdillahunty-nasuni commented 2 years ago

Hello Adrian,

I'll follow up with you over email--it looks as if the variables aren't getting picked up by the script.

Coan

cdillahunty-nasuni commented 2 years ago

We found the source of the problem--the script expects to be executed in this way:

./AutoDeployEA.ps1 -varPath varFile.ps1

but was be called like this

./AutoDeployEA.ps1 -varPath ./varFile.ps1

Removing the "./" gave PowerShell the right path to the variable file and resolved the issue.