zoukankan      html  css  js  c++  java
  • [PowerCLI]The request channel timed out attempting to send after 00:05:00

    1. 问题

         | 10/16/2021 2:04:54 AM    Move-VM         The request channel timed out attempting to send after 00:05:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.            
    Move-VM:                                                                                                                                                    
    Line |                                                                                                                                                      
       8 |      Move-VM -VM $vm -Datastore $myDatastore1 -DiskStorageFormat Thin                                                                                
         |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                
    

    2. 解决方案

    # 默认值300
    PS /root> Get-PowerCLIConfiguration               
    
    Scope    ProxyPolicy     DefaultVIServerMode InvalidCertificateAction  DisplayDeprecationWarnings WebOperationTimeout
                                                                                                      Seconds
    -----    -----------     ------------------- ------------------------  -------------------------- -------------------
    Session  UseSystemProxy  Multiple            Ignore                    True                       300
    User                     Multiple                                                                 
    AllUsers                                     Ignore         
    
    
    # 修改默认值
    PS /root> Set-PowerCLIConfiguration -WebOperationTimeoutSeconds -1
    
    Perform operation?
    Performing operation 'Update PowerCLI configuration.'?
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): 
    
    Scope    ProxyPolicy     DefaultVIServerMode InvalidCertificateAction  DisplayDeprecationWarnings WebOperationTimeout
                                                                                                      Seconds
    -----    -----------     ------------------- ------------------------  -------------------------- -------------------
    Session  UseSystemProxy  Multiple            Ignore                    True                       -1
    User                     Multiple                                                                 -1
    AllUsers                 Multiple            Ignore                                        
    

    END

  • 相关阅读:
    formData实现图片上传
    input[type='file']样式美化及实现图片预览
    第一个Vue插件从封装到发布
    lastIndex对正则结果的影响
    使用图片地图减少HTTP请求数量
    实现文字颜色渐变
    vue-cli中如何引入jquery
    事件处理详解
    图片载入状态判断及实现百分比效果loading
    页面加载时触发的事件及顺序
  • 原文地址:https://www.cnblogs.com/leoshi/p/15413351.html
Copyright © 2011-2022 走看看