Comments (2)
Hm, I've not seen this before. Is the TLS certificate on your vCenter Server valid and not having any issues? Are you able to run the default vSAN cmdlets w/o issue or just using the function?
from vmware-scripts.
Yes, get-vsanview works just fine. I tried running the script example for getting the vsan version from your blog one command at a time.
PS C:> get-vsanview
VsanClient MoRef
VMware.Vsan65.Views.VsanClientImpl VsanVcClusterConfigSystem-vsan-cluster-config-system
VMware.Vsan65.Views.VsanClientImpl VimClusterVsanVcStretchedClusterSystem-vsan-stretched-cluster-system
VMware.Vsan65.Views.VsanClientImpl VimClusterVsanVcDiskManagementSystem-vsan-disk-management-system
VMware.Vsan65.Views.VsanClientImpl VsanVcClusterHealthSystem-vsan-cluster-health-system
VMware.Vsan65.Views.VsanClientImpl VsanUpgradeSystemEx-vsan-upgrade-systemex
VMware.Vsan65.Views.VsanClientImpl VsanSpaceReportSystem-vsan-cluster-space-report-system
VMware.Vsan65.Views.VsanClientImpl VsanIscsiTargetSystem-vsan-cluster-iscsi-target-system
VMware.Vsan65.Views.VsanClientImpl VsanObjectSystem-vsan-cluster-object-system
VMware.Vsan65.Views.VsanClientImpl VsanPerformanceManager-vsan-performance-manager
PS C:> $vchs = get-vsanview -Id "VsanVcClusterHealthSystem-vsan-cluster-health-system"
PS C:> $cluster_view = (Get-Cluster -name Management).ExtensionData.MoRef
PS C:> $results = $vchs.VsanVcClusterQueryVerifyHealthSystemVersions($cluster_view)
Exception calling "VsanVcClusterQueryVerifyHealthSystemVersions" with "1" argument(s): "Could not establish trust
relationship for the SSL/TLS secure channel with authority 'VC_Name'."
At line:1 char:1
- $results = $vchs.VsanVcClusterQueryVerifyHealthSystemVersions($cluste ...
-
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : SecurityNegotiationException
from vmware-scripts.
Related Issues (20)
- make_vcsp_2018 run only for new or specific images
- make_vcsp_2018.py UnboundLocalError: local variable
- Does this script also work with VMware 6.0 or 6.5 ? HOT 1
- Comment conflicts with Action
- Get GlobalPermissions HOT 1
- Get-GlobalPermissions
- Get-GlobalPermission
- vCenterAdvSettingMgmt.pl only works with strings HOT 1
- deploy_3nic_haproxy.ps1 - This cmdlet requires a vCenter Server connection. HOT 1
- create_custom_esxi_iso.ps1: Incompatible with bundle containing multiple versions HOT 4
- xNew-VM does not accommodate NSX-T Opaque Networks in the destination vCenter
- vmwarevSphereHealthCheck.pl not working with 7.0.3 HOT 1
- make_vcsp_2022.py: vCenter expect an integer/long for the etag HOT 2
- make_vcsp_2022.py - vCloud not wanting to sync ISO's
- vmdkManagement.pl fail to share the disk
- Make MacLearn.ps1 into a module HOT 2
- make_vcsp_2018 : Adding S3 onprem HOT 2
- Cannot connect to Vcenter Error: Cannot complete login due to an incorrect user name or password.
- TKG+NSXT automation script fails on the VM strokes with error: "Put USB HID scan codes"
- Server version unavailable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmware-scripts.