Migrate Replication Agent for Microsoft SQL Server when you upgrade SQL Server database from 2008 to 2008R2 version.
To verify that replication has completed:
"C:\Program Files\Microsoft SQL Server\MSSQL<version>\MSSQL\Binn\sqlservr.exe” -m -s instanceName
See Replication Agent Start-Up in the Replication Server Administration Guide to start the instance on your platform.
where SERVER is the name of your Microsoft SQL Server data server.