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

  • 相关阅读:
    B00009 C语言分割字符串库函数strtok
    B00009 C语言分割字符串库函数strtok
    I00026 计算数根
    I00026 计算数根
    I00025 寻找循环数
    Magic Stones CodeForces
    Continued Fractions CodeForces
    AtCoder Beginner Contest 116 D
    Applese 的毒气炸弹 G 牛客寒假算法基础集训营4(图论+最小生成树)
    Choosing The Commander CodeForces
  • 原文地址:https://www.cnblogs.com/leoshi/p/15413351.html
Copyright © 2011-2022 走看看