How To: Turn off the Admin idle timeout
How can we turn off the Admin idle timeout?
You can turn off the idle timeout in the Admin Console by the following NXCLI and Powershell commands
Authenticate & Check current LAS Idle Timeout setting:
nxcli.exe /adminUser=<your-admin-username-here> /adminPass=<your-admin-password-here> /adminHost=127.0.0.1 /adminPort=31443 /ServerName="Local Administration Server" /Target=SVR /Action=GET /Fields=cxn /authguid=native
Turn off LAS Idle Timeout setting:
nxcli.exe /adminUser=<your-admin-username-here> /adminPass=<your-admin-password-here> /adminHost=127.0.0.1 /adminPort=31443 /ServerName="Local Administration Server" /Target=SVR /Action=SET /Fields=cxn /cxn.idletimeoutenabled="0" /authguid=native
Authenticate To Admin UI via PS:
$login = Invoke-Login -UserName "<your-admin-user-here>" -PassWord "<your-admin-password-here>"
$env:SRTAuthToken = $login.Response.SessionInfo.BearerToken
Turn off LAS Idle Timeout setting:
$Cxn = new-object Titan.API.Models.SrtApiModelsApiServerParamsCxnPoco
$sp.Response.Cxn.IdleTimeoutEnabled = 0
$r = Set-SvrParam -serverGUID "Local Administration Server" -Cxn $sp.Response.Cxn