SQL Server Express (2005) SCHEDULER: SQL 2005 Express 调度程序
{W:)oh> Since Microsoft does not supply a process scheduler with SQL Server Express 2005, Primavera has created an agent that runs P6 background processes on SQLServer Express 2005. This Windows service, Primavera Background Agent(Service Name: Primavera Background Agent), is automatically installed when the standalone installation of P6 is used along with SQL Server Express 2005.
hq& 微软在 SQL Server Express 2005 中未提供作业调度程序,因此 Primavera 创建了在 SQL Server Express 2005 上运行 Primavera 6.0 后台作业的代理服务。该 Windows 服务 Primavera Background Agent(服务名称:PrmBackAgent)在 Primavera 6.0 单机版与 SQL Server Express 2005 一同使用时自动安装。
L(!!7B_, |=h)efo} Note: The Primavera Background Agent service is installed automatically by the P6 standalone installation and generally does not need to be manually installed
AT'_0>x8 You may need to install the service if:
\3js} 1. You have installed SQL Server Express (2005) after installing the standalone version of P6.
8n. "5,P 2. You have installed SQL Server Express (2005) on a server that doesn't have P6 installed on it.
,nu7r1} 注:PrmBackAgent 服务在需要时由 Primavera 6.0 安装程序自动安装,通常不需要手动安装或启动,除非是在安装 Primavera 6.0 单机版之后安装 SQL Server Express (2005)或者SQL 2005 Express的服务器上没有安装Primavera 6.0。
71n uTE%! ;&t1FH#= Manually Installing PrmBackAgent under SQL 2005 Express
+(h6{e%) 在SQL 2005 Express上手动安装PrmBackAgent服务
9'/ |?I D=I5[t0c4 Note: This is not required for full SQL 2000/2005 only SQL 2005 Express
}5Tyz i( 注:在SQL 2000/2005上不需要手动安装PrmBackAgent服务
E't G5,/m 65e
Wu=T Althoughthe service is installed automatically by the P6 standaloneinstallation, the service can also be installed manually on the machinewhere the database is located. To install the service manually, youmust be a Windows user with admin access to the databases involved.Follow the procedure below to manually install the service.
>-tH&X^ 1 Extract the prmbackgroundagent.exe executable from the Data1.cab file on CD 1.
i&s=!` 2 Place the prmbackgroundagent.exe file in a directory on the local machine (for example, C:\Primavera\PrmBackAgent).
$et
: 3 From the Start menu, click Run.
>.nt'BQ 4 Substituting the appropriate path to the prmbackgroundagent.exe file from step 2, execute the following command to install the service:
|uBot#K| C:\Primavera\PrmBackAgent\prmbackgroundagent.exe /install
HV.|Eh_7 >"$-V Y6 i 虽然该服务是在需要时由 Primavera 安装程序自动安装,但也可手动安装。要手动安装该服务,必须是拥有所涉及数据库管理员权限的 Windows 用户。请按以下步骤来手动安装服务。
.X=M! 1 从 CD 1 上的 Data1.cab 文件中提取 prmbackgroundagent.exe 可执行文件。
Z :i"|; 2 将 prmbackgroundagent.exe 文件放置在本机的某个文件夹中(例如,C:\Primavera\PrmBackAgent)。
XL&eJ
3 单击“启动”菜单中的“运行”。
+Tc(z{; 4 替换步骤 2 中 prmbackgroundagent.exe 文件的相关路径,并执行命令以安装服务:
F~@1n,[ c:\primavera\PrmBackAgent\prmbackgroundagent.exe /install
H1b%:KRVK u1|Y;* Manually Registering and Starting PrmBackAgent under SQL 2005 Express
^{sI'l~ 手动注册和启动 PrmBackAgent 服务
fdEj#Ux<H uY%3X/^j Before starting the service, the name of theserver instance containing the P6 databases must be added to theregistry. Follow the procedure below to manually add the serverinstance name to the registry.
Z
a
y'/b 在启动服务之前,必须将包含 Primavera 6.0 数据库的数据库实例名称添加到注册表中。请按照以下步骤来将数据库实例名称手动添加到注册表中。
Fe2-;o ="
TOa"Zk /s0VyUV= 1. Right-click on HKEY_LOCAL_MACHINE\Software\Primavera and choose "New", "Key".
4hr+GO@o( 在HKEY_LOCAL_MACHINE\Software\Primavera 中添加一个新注册表键
9NoPrR=x1 7X3l&J2C4l +CHO0n Enter the name "BackgroundAgent"
~hw4gdtS 输入键值"BackgroundAgent"
$gtT5{"PN( RKZk/ly uRcuy/CY 2. Right-click on BackgroundAgent and choose "New", "String Value". Enter "Server".
~#x!N=q 右键点击BackgroundAgent,选择增加新字符串值,输入“Server”。
(#Kvm DG9;6"HBX jQlK-U=oi b,V=B{(~ 2/gj@>dt IHMyP~{ 3. Right-click on Server and choose "Modify". Enter the SQL Server instance name in the "Value Data" field.
Xg#([}b NOTE: for standalone installations localhost\primavera can be used.
83(P_Y:
WD1$"}R 右键点击Server,选择更改,输入SQL Server Express的名称。
{8Nd-WJ{ 注:该值与本地 SQL Server Express(例如,MyDesktop\sqlexpress)的实例名称相匹配。单机版本可以使用localhost\primavera。
)bg,rESM QlXF:Gx"= ,Yt&PE {v'Fg 4. When this is complete, reboot the machine.
*\+'tFT6 完成后,重新启动计算机
3&2q\]Y, t$5]1dY$X Initializing Primavera Background Jobs
3"%44' 初始Primavera后台作业
6 Izv& by[(9+/z$ Go to Start->Programs->Microsoft SQL Server 2005->SQL Server Management Studio Express.
"Jd1&FsCwX 选择开始->程序->Microsoft SQL Server 2005->SQL Server Management Studio Express.
(3*Hl Click Connect to log in.
8TvPCZ$x 选择链接进行登陆
e28#Yh@U C#0Wo &Wk<F3qN Click on "New Query"
9R3=h5Y 点击“新查询”
>D aS*r (8R
M|& FX 3[U+ Type: "use nameofdatabase
&6EfybAt^_ exec initialize_background_procs"
Z&!$G'X Where nameofdatabase is your Primavera Database name. The default is pmdb$primavera or PMDB.
0w]?yqnE Click the Execute button to run the query.
\ed(<e> 输入 "use nameofdatabase
U7=Z.*/62 exec initialize_background_procs" "use nameofdatabase
)9->]U@ nameofdatabase为Primavera,默认名字为pmdb$primavera或者PMDB。
?H?r!MZ% 点击运行按钮执行查询。
S3fBZIPp p04w83 jX If it was successful it will show "Command(s) completed successfully".
ZC-N4ESr Close out of SQL 2005 Express.
35T7g65; 成功运行后,显示"Command(s) completed successfully"。关闭SQL 2005 Express。
"{
lnSLk ".4^?d_^VF Open up Project Management. You may still see the error message. If so,.....
yvvR%]!. Let the program open fora couple of minutes to trigger the jobs to run. Symon process should run every 1 minute and Damon process every 5 minutes. Once both these jobs have ran successfully for the first time the users should not receive the error message while logging into Project Management.
Af~AE2b3" 打开PM,错误信息还是会出现,这时让程序继续运行来触发后台作业执行。Symon进程每一分钟运行一次,Damon进程每五分钟运行一次。当这两个进程完成第一次运行,登陆PM将不再出现错误信息。
[ 此帖被检查用户名在2009-02-05 15:57重新编辑 ]