首页 > 其他分享 >修改 vSphere Client 会话超时时限

修改 vSphere Client 会话超时时限

时间:2023-12-29 13:00:43浏览次数:27  
标签:vSphere vsphere session ui timeout Client 超时


修改 vSphere Client 会话超时时限


作者主页:sysin.org


vSphere Client 中会话每 120 分钟自动超时,然后必须重新登录到 vSphere Client。

适用于 vSphere 8.0 和 vSphere 7.0,旧版请参看官方 KB:https://kb.vmware.com/s/article/2040626

通过 vSphere Client 配置

浏览到 Administration - Deployment - Client Configuration,点击 Edit,默认值为 120 分钟。

修改 vSphere Client 会话超时时限_client

如果需要将会话时间设置为永不超时(不推荐),即设置为 0,此界面不支持,需要登录 Shell 编辑配置文件。

通过 Shell 配置

1、SSH 登录到 vCenter Server Apliance。

2、登录 BASH,执行命令:

shell

3、查看配置文件:

cat /etc/vmware/vsphere-ui/webclient.properties | grep session.timeout

默认 “session.timeout = 120”。

4、创建一个配置文件的备份(可选):

cp /etc/vmware/vsphere-ui/webclient.properties /etc/vmware/vsphere-ui/webclient.properties.bak

5、编辑配置文件:

vi /etc/vmware/vsphere-ui/webclient.properties

修改如下内容:
session.timeout = *value (默认120,单位分钟)

例如:session.timeout = 0 表示会话不过期。

例如:session.timeout = 10080 表示 7 天。

6、重启服务后生效:

service-control --stop vsphere-ui
service-control --start vsphere-ui

本站定制镜像

更多:VMware 产品下载汇总


标签:vSphere,vsphere,session,ui,timeout,Client,超时
From: https://blog.51cto.com/u_15647075/9026817

相关文章

  • [c#]WebClient异步下载文件并显示进度
    https://www.cnblogs.com/wolf-sun/p/6699733.html在项目开发中经常会用到下载文件,这里使用winform实现了一个带进度条的例子。一个例子usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.IO;u......
  • Cisco Secure Client 5.1.1.42 (macOS, Linux, Windows & iOS, Andrord) - VPN 和远程
    CiscoSecureClient5.1.1.42(macOS,Linux,Windows&iOS,Andrord)-VPN和远程访问客户端思科安全客户端(包括AnyConnect)作者主页:sysin.orgCiscoSecureClient(includingAnyConnect)思科安全客户端(包括AnyConnect)安全访问只是开始您的团队需要轻松访问公司资源和私有应......
  • RestHighLevelClient脚本更新设置waitForCompletion属性
    UpdateByQueryRequest参数没有直接设置wait_for_completion的属性通过使用客户端封装的submitUpdateByQueryTask方法调用:TaskSubmissionResponsetaskSubmissionResponse=writeHighLevelClient.submitUpdateByQueryTask(request,RequestOptions.DEFAULT);publicfinalT......
  • VMware vCenter Server 7.0、vSphere Client 7.0 修改会话超时时间(session timeout pe
    vCenterServer7.0(仅有vCenterServerAppliance和H5vSphereClien)使用SSH登录vCenterServerAppliance执行shell命令修改如下配置文件:vi/etc/vmware/vsphere-ui/webclient.properties修改如下内容:session.timeout=*value(默认120,单位分钟,例如修改为10080,7天)重启服......
  • .net 8中 System.Data.SqlClient打开数据库失败
    问题背景:项目升级到.Net8后,在使用System.Data.SqlClient连接SqlServer提示如下异常System.InvalidOperationException:“Internalconnectionfatalerror.” 开始解决问题:(1)排除了连接字符串以及代码编写的问题(2)System.Data.SqlClient升到最新版4.8.5,依旧报错 (3......
  • 超时控制:Go语言下的网络请求与时间赛跑
    开场白:在互联网的世界里,我们经常要与各种API打交道。有时,这些API可能会因为各种原因而变得“慢条斯理”,这时,超时控制就显得尤为重要了。今天,我们就来聊聊如何在Go语言中实现HTTP请求的超时控制,与时间赛跑!知识点一:了解超时控制的必要性想象一下,当你正在等待一个重要的API响应时,如果......
  • apache HttpClient异常-ProtocolException: Target host is not specified
    昨夜,甘肃临夏州积石山县发生6.2级地震,影响到甘肃、青海地区。截至目前,已有100多人遇难。百度了一下当地天气,还挺冷,夜间温度低到-15℃。时间就是生命,祈祷难民尽快得到救援!  分享今天解决的一个生产问题告警。如下HTTP工具类中的httpClientPost方法使用apache的HttpClient(maven坐标......
  • HttpClient5升级笔记--API篇
    最近终于是安奈不住升级的冲动,将自己项目的HttpClient版本从4升级到了5,其过程不可谓不艰辛,很多API改动让人无从下手。ApacheHttpClient5(也称为HttpClient5.x)是ApacheHttpComponents项目中的一个重要组件,用于发送HTTP请求和处理HTTP响应。它在与网络通信和处理方面提供......
  • Remove TraceParent header from HttpClient requests
    ASP.NETCorecreatesanActivitythatrepresentstherequestbydefault.ThisiswhattellsHttpClienttosendanoutgoingrequestidheader.Youcandisableitinacoupleofways:Bysettingthecurrentactivitytonullbeforemakingtherequest(Activi......
  • 将windows上socket的client程序修改到linux上运行
    将windows上客户端程序修改到linux上运行记录一下修改哪些地方编译命令文件夹的内容:包含了client.cppmySocket.cppmySocket.huntil.h链接在一起g++-cclient.cppmySocket.cppuntil.h-std=c++11-pthread使用g++编译器将client.cpp、mySocket.cpp和until.h......