Got it

SMC2.0 V100R001V10 upgrade to V600R006 version failed issue analysis

3505 0 10 0 1

1       Problem Description

We planed upgrade SMC2.0 from V100R002C01B025SP04 to V600R006C10SPC900 on Nov10-Nov11.Upgrade path isV100R002C01B025SP04->V100R002C01B025SP08 --->V100R003C10SPC100 --->V600R006C10SPC900. Unfortunately. An issue occurred when we upgraded V100R003C10SPC100 --->V600R006C10SPC900 operation, SMC2.0 cannot connect to SQL database.

 

2       Problem Analysis

From the upgrade log, we can see that the upgrade program cannot access the SQL local database.\sqlexpress properly when the upgrader connects to the SQL local database.

1

 

       We tried to use SQL Server Management Studio connect SQL database, but it still faile.

       2

       We checked SQL Server service,it already stoped.

       3

       We tried start SQL Server manual, but this service would stop automatically. We collected Windows system log and application log to analysis. We found SQL database  component upgrade has been abnormal, resulting in the database being unable to start.

      4

      5

      From the exception information, we can see that the problem was caused by a failure when SQL Server upgraded the master database infrastructure.
Because the upgrade process of SMC2.0 V100R003C10SPC100 - > SMC2.0 V600R006C10SPC900 involves the upgrade of database components. The database components are upgraded by SQL Server 2008 R2 - > SQL Server 2014, which is provided by Microsoft. Therefore, we need to ask Microsoft engineers for specific analysis of the problem of upgrading database components.
After analyzing the logs, Microsoft engineers found that the root cause of the problem was that the database configuration item Agent_Xp did not start, which led to the failure of upgrading the SQL Server components, and the failure of upgrading led to the master database could not be restored, so the SQL Server could not start.

      6

1       Problem Root Cause

Because the upgrade process of SMC2.0 V100R003C10SPC100 - > SMC2.0 V600R006C10SPC900 involves the upgrade of database components. The database components are upgraded by SQL Server 2008 R2 - > SQL Server 2014, which is provided by Microsoft. Therefore, we need to ask Microsoft engineers for specific analysis of the problem of upgrading database components.

After analyzing the logs, Microsoft engineers found that the root cause of the problem was that the database configuration item Agent_Xp did not start, which led to the failure of upgrading the SQL Server components, and the failure of upgrading led to the master database could not be restored, so the SQL Server could not start.

2       Solution

As the previous rollback to the previous version failed, we reinstalled SMC2.0 V600R006C10SPC900 and then reconfigure all the settings.

We will test it in the laboratory, and if this problem must arise, we will make a clear prompt in the upgrade guide: before the subsequent upgrade involving SQL Server components, we need to check whether the database configuration item Agent_Xp is started properly.

//Check command

   7

      8

      If it is found that Agent_XP cannot start properly, you can try to set it up in the following ways
      a. Add -T902 to the SQL boot parameter to prohibit upgrade script from running.

      9

      10

     

b. And then start SQL SERVER, when SQL should be able to boot normally. Go to SQL SERVER and run the following statement. Enable Agent XPs

   11

c. And then close the SQL SERVER, remove - T902, and restart the SQL SERVER so that upgrade script can continue.

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.