PME 2021 - after upgrade, the windows tasks for db maintenance/backup no longer run - login error
Product Line
Power Monitoring Expert 2021
_____________________________________________________________
Environment
The issue has been introduced in PME2021 and seems to affect only in-place upgrades of standalone systems.
_____________________________________________________________
Issue
PME 2021 - after the upgrade, the windows tasks for db maintenance/backup no longer run - login error
In the Task Scheduler UI will see 0x1F4 under Last Run Result
You will see an information event in the Windows Application log saying:
Login failed for user 'STANDALONE\IONMaintenance'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]
WARNING: If this problem is not noticed, there could be data loss since no database backups will be created. During upgrades, makes sure the Maintenance task successfully run
_____________________________________________________________
Steps to Reproduce the Issue /Investigation/ (Optional)
- Start with a PME 2020 system.
- Verify that you can run the windows tasks for db maintenance and backup. If you are using a Test Auto VM, you will have to enable them
- Upgrade to PME 2021
- Try to run the windows tasks - any of them
_____________________________________________________________
Root Cause
When PME installer (Database.Core.broker.xml) tries to create IOMaintenance login, it will execute a set of actions:
1. it will create STANDALONE\IONMaintenance sql server login (login type - windows)
2. it will create STANDALONE\IONMaintenance user in the respective DBs
3. it will configure the user (DEFAULT_SCHEMA=dbo and alter roles (db_backupoperator, db_ddladmin & Maintenance)
For the fresh system: There is no issues when we set the configuration.
For the UPG system: #1 & #2 will not be executed as it is already there but #3 will be executed and that causes the login into an invalid state where the user will not be able to log in. So, to resolve the issue, we must recreate the login.
_____________________________________________________________
Proposed Solution
The workaround is doing the same thing as it is mentioned above. If IONMaintenance sql server login is not working, please follow the instruction below.
If IONMaintenance sql server login is not working, please follow the instruction below.
- Delete the STANDALONE\IONMaintenance from (server)>Security>Logins
- Select “Create new Login” from (server)>Security>Logins context menu. Specify the Login Name as STANDALONE\IONMaintenance
- Configure the Server Role page as per the following screen shot
- Configure ApplicationModules as per the screen shot.
- Configure ION_Data as per the screen shot.
- Configure ION_Network as per the screen shot.
- Configure ION_SystemLog as per the screen shot.
- Configure Securables as per the screen shot.
_____________________________________________________________
Attachments/Links
- PME 2021 - after the upgrade, the windows tasks for db maintenance tasks no longer run.pdf
_____________________________________________________________
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.