免責事項: これは英文の記事「User session count is limited to 550. Existing session count is 550 for user" during SDDC Manager upgrade precheck or Lifecycle Manager(327211)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
YYYY-MM-DDT17:20:07.040+0000 ERROR [vcf_lcm,xxxxxxxxxxxxxx,3b2e] [c.v.e.s.l.a.i.i.HardwareSupportClientImpl,Scheduled-10] Exception occurred while loading the Hardware Support Info for the domain xxxxxxxxx-xxxx-xxxx-xxxxxxxxxx com.vmware.vapi.std.errors.ServiceUnavailable: ServiceUnavailable (com.vmware.vapi.std.errors.service_unavailable) => { messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => { id = com.vmware.vapi.endpoint.failedToLoginMaxUserSessionCountReached, defaultMessage = User session count is limited to 550. Existing session count is 550 for user [email protected]., args = [550, 550, [email protected]], params = <null>, localized = <null> }], data = <null>, errorType = SERVICE_UNAVAILABLE
com.vmware.vapi.std.errors.service.unavailable => {data=<unset>,error_type=SERVICE_UNAVAILABLE, messages=User session count is limited to 550. Existing session count is 550 for user <Username>., localized=<unset>, id=com.vmware.vapi.endpoint.failedToLoginMaxUserSessionCountReached,
VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
この問題は、vCenter Serverでユーザーセッション数が上限に達した場合に発生します。
Workaround 1:
Option 1
Option 2
cp /etc/vmware-vapi/endpoint.properties /etc/vmware-vapi/endpoint.properties.backup
vi /etc/vmware-vapi/endpoint.properties
#session.maxSessionCount=1000
session.maxSessionsPerUser=1000
# One hour is 3 600 000 millis
#session.maxSessionIdleMilliseconds=3600000
# One day is 86 400 000 millis
#session.minSessionLifespanMilliseconds=86400000
# Two days are 172 800 000 millis
#session.maxSessionLifespanMilliseconds=172800000
service-control --stop vmware-vapi-endpoint && service-control --start vmware-vapi-endpoint
Workaround 2:
Resolution - この問題は、infraprofile サービスが vAPI 要求に応答しないために発生します。
この問題は、将来の vCenter リリースで解決される予定です。
/var/log/vmware/vapi/endpoint/endpoint.log からアイドルタイムアウトを確認する。:
キーワード: idle
YYYY-MM-DDT16:39:53.554Z | INFO | session-monitor1 | MasterSessionMonitor | Session [email protected] (internal id xxxxxxxx-xxxx-xxxx-xxxxxxxxx, token 3e252...) has been idle for 3,600,907 milliseconds.
以下を実行して、infraprofileサービスのメモリを増やす:
1. infraprofile サービスに割り当てられている現在のメモリをチェックする :
cloudvm-ram-size -l | grep vmware-infraprofile
2. infraprofile サービスに割り当てられたメモリを 2 倍にする :
cloudvm-ram-size -C <DoubleOutputFromStep1> vmware-infraprofile
3. infraprofileサービスを再起動する:
service-control --stop vmware-infraprofile && service-control --start vmware-infraprofile
service-control --restart vmware-vapi-endpoint