Resolving Process Historian 2014 SP2 Stuck in Idle Status After Update 3
Process Historian 2014 SP2 remaining stuck in 'Idle' status (unable to transition to 'Active' / 'Started' with connected OS Servers showing missing data sources) after applying Update 3 occurs when the mandatory Microsoft SQL Server database schema migration step fails to complete. PH updates modify internal schema structures, and the server intentionally locks in Idle/Maintenance mode until database maintenance scripts successfully update the HistorianStorage database. To resolve this, launch the Process Historian Management Console as Administrator, execute the Database Installation and Maintenance Wizard to upgrade the SQL schema, and restart the 'Siemens Process Historian' service.
Table of Contents
- Process Historian State Machine: Idle, Starting, and Active States
- Root Cause Analysis - Database Schema Migration Lockout
- Diagnostic Matrix for Process Historian Status and Services
- Step-by-Step Schema Upgrade and Server Activation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Process Historian State Machine: Idle, Starting, and Active States
SIMATIC Process Historian (PH) serves as the central, high-capacity long-term archive server for SIMATIC PCS 7 and WinCC. Operating on an enterprise Microsoft SQL Server foundation, the Process Historian server daemon manages an internal state machine:
IDLE(Maintenance Mode): The server service is running, but real-time data ingestion is suspended. Database maintenance, segment swaps, or schema upgrades occur in this state.STARTING: The engine verifies database consistency, validates connected OS Server certificates, and prepares ingestion queues.ACTIVE(Operational): The server actively receives, compresses, and archives process tags and alarm events forwarded by WinCC OS Servers across the plant terminal bus.
Root Cause Analysis - Database Schema Migration Lockout
When an engineering team applies an update—such as updating Process Historian 2014 SP2 from Update 1 to Update 3—the installer updates Windows system services, DLL binaries, and the Management Console. However, updates frequently introduce structural changes to the underlying SQL Server database (HistorianStorage).
If the automatic database migration script fails to trigger during update setup (due to insufficient SQL administrative rights, active connection locks, or low disk space), the Process Historian runtime detects a schema version mismatch between the newly installed binaries and the older database tables. To prevent permanent database corruption, the safety interlock clamps the server in IDLE status. In this state, the Management Console disables the Start button, and all connected OS Servers report disconnected data sources.
Diagnostic Matrix for Process Historian Status and Services
The table below details service states, database indicators, and diagnostic checkpoints for Process Historian:
ACTIVEIDLE / LockedHistorianStorage DBONLINE (SQL Server)RECOVERY_PENDING or Schema mismatchProcessHistorian.logSchema version mismatch detectedPHDBSetup.exe to update database tables.ACTIVE.Siemens Process Historianservices.msc)Step-by-Step Schema Upgrade and Server Activation Procedure
- Inspect Diagnostic Log Files:
- Navigate toC:\ProgramData\Siemens\Logs\ProcessHistorian\.
- OpenProcessHistorian.login a text editor: search forERRORentries. Confirm the presence of 'Database schema version does not match binary version'. - Verify SQL Server Instance Health:
- Open SQL Server Management Studio (SSMS) and connect to(local)\HISTORIANas Windows Administrator.
- Expand Databases: verify thatHistorianStorageandSysStorageare markedONLINE(notSUSPECTorRECOVERY). - Execute Process Historian Database Maintenance Wizard:
- Open Windows Start Menu -> navigate toSiemens Automation -> Process Historian Database Installation(or runC:\Program Files\Siemens\ProcessHistorian\bin\PHDBSetup.exeas Administrator).
- Select Upgrade existing database schema.
- Proceed through the wizard: the script applies database indexes, stored procedure updates, and version stamps. - Restart Process Historian Services:
- Open Windows Services (services.msc).
- RestartSiemens Process HistorianandSiemens Process Historian Discovery Service. - Transition Server to Active State:
- Open Process Historian Management Console as Administrator.
- Under the Dashboard, select Start Process Historian (or verify that the state transitions automatically fromStartingtoActive).
- Verify that connected OS Server data sources transition from grey to green.
Verification
Verify system restoration through the following milestones:
1. In Process Historian Management Console Dashboard, confirm that the Operational State displays solid green ACTIVE.
2. Check the Data Sources view: verify that all configured WinCC OS Servers report status Connected and Archiving.
3. In SIMATIC Information Server, run a quick historical report: confirm that recent process trend data and alarms populate successfully.
Limitations and Operational Precautions
Before applying any Update or Service Pack to Process Historian, always perform a full database backup of HistorianStorage using SQL Server Management Studio. Schema upgrade operations alter database system tables permanently; if an upgrade is interrupted by power failure or system reboot, the database cannot be rolled back without a full backup. Furthermore, ensure that all connected OS Servers have the corresponding WinCC Process Historian client updates installed to maintain protocol alignment.
Engineer FAQ
Technical References
- SIMATIC Process Historian 2014 SP2 Installation and Operating Manual
- SIMATIC Process Historian Administration and Maintenance Guide (A5E39140310)
- Siemens Technical Support: Upgrading Process Historian and Resolving Idle States (SIOS Entry ID 109748964)
Related Articles
- Configuring Automated Cyclic Tag Logging Report Printing Every 12 Hours in WinCC
- WinCC Alarm Logging Archive File Locations, Sizing, and Startup Optimization
- Attaching Detached WinCC Tag Logging MDF Archive Segments and ValueID Reconciliation
Related Tags
- Process Historian
- PH 2014 SP2
- Idle Status
- Database Schema
- SQL Server
- Archive Restoration