升级 SnapCenter 到 6.0 或更高版本后,计划备份未启动
适用于
- SnapCenter Server (SC) 6.0 和更高版本
- RabbitMQ 服务器
问题描述
- 升级 SnapCenter 到 6.0 或更高版本后,SnapCenter 中所有计划的备份不再启动/运行。
- 所有手动启动的备份均已成功运行并完成。
- 配置为使用 SQL 调度程序的 SQL 备份也已成功运行并完成。
- 在 SnapCenter 服务器上可以看到以下错误:
SnapCenter UI > 警报:
RabbitMQ Connection Failure
SnapCenter Server is unable to establish RabbitMQ connection
C:\Program Files\NetApp\SnapCenter WebApp\App_Data\log\SnapManagerWeb.log:ERROR SnapManagerWeb PID=[xxxx] TID=[xxxx] RabbitMQ broker is unreachable. Retrying in 30 seconds...C:\Users\<Username>\AppData\Roaming\RabbitMQ\log\rabbit@<SC_Server_Name>.log:[error] <0.798.0> Error on AMQP connection <0.798.0> ([::1]:50342 -> [::1]:5672, state: starting):[error] <0.798.0> PLAIN login refused: user 'jobmanager' - invalid credentialsC:\Program Files\NetApp\Scheduler\logs\Scheduler<Date>.log:[ ERR] System.UnauthorizedAccessException: Token not avaliable at NetApp.DataProtection.Common.Utils.Authorization.AuthorizationMiddleware.Invoke(HttpContext httpContext) in R:\rtprlse19\snapcenter\orion\nightly\R6.0N_240716_0044\blockbuster\Scheduler\src\Common.Utils\Authorization\AuthorizationMiddleware.cs:line 62 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at NetApp.DataProtection.Common.Utils.ExceptionHandler.ExceptionHandlerMiddleware.Invoke(HttpContext context) in R:\rtprlse19\snapcenter\orion\nightly\R6.0N_240716_0044\blockbuster\Scheduler\src\Common.Utils\ExceptionHandler\ExceptionHandlerMiddleware.cs:line 32[ ERR] at NetApp.DataProtection.Common.Utils.Authorization.AuthorizationMiddleware.Invoke(HttpContext httpContext) in R:\rtprlse19\snapcenter\orion\nightly\R6.0N_240716_0044\blockbuster\Scheduler\src\Common.Utils\Authorization\AuthorizationMiddleware.cs:line 62 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at NetApp.DataProtection.Common.Utils.ExceptionHandler.ExceptionHandlerMiddleware.Invoke(HttpContext context) in R:\rtprlse19\snapcenter\orion\nightly\R6.0N_240716_0044\blockbuster\Scheduler\src\Common.Utils\ExceptionHandler\ExceptionHandlerMiddleware.cs:line 32[ ERR] Job <JobID>= threw an unhandled Exception: RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> RabbitMQ.Client.Exceptions.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile. at RabbitMQ.Client.Framing.Impl.Connection.StartAndTune() at RabbitMQ.Client.Framing.Impl.Connection.Open(Boolean insist) at RabbitMQ.Client.Framing.Impl.Connection..ctor(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler, String clientProvidedName) at RabbitMQ.Client.Framing.Impl.Connection..ctor(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler, ArrayPool`1 memoryPool, String clientProvidedName) at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IFrameHandler fh) at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints) at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)- 还可能在
C:\Users\<Username>\AppData\Roaming\RabbitMQ\log\rabbit@<SC_Server_Name>.log中看到以下其他错误:
[error] <0.12866.35> Channel error on connection <0.12855.35> ([::1]:62776 -> [::1]:5672, vhost: 'jobschedulerhost', user: 'jobmanager'), channel 1:
[error] <0.12866.35> operation exchange.declare caused a channel exception access_refused: configure access to exchange 'ScheduledJobTopic' in vhost 'jobschedulerhost' refused for user 'jobmanager'