The sp_upgrade_log_shipping stored procedure is invoked automatically for upgrading metadata that is specific to log shipping in SQL Server 2008 R2. During an upgrade from SQL Server 2000, the stored procedure installs the new metadata needed for log shipping on SQL Server 2008 R2.
This stored procedure is invoked automatically during SQL Server upgrade for upgrading metadata for log shipping in SQL Server 2008 R2. You do not need to execute this procedure explicitly, unless a problem occurs with the metadata during upgrade.
sp_upgrade_log_shipping must be run from the master database on the primary, secondary, or monitor server.