Para el servidor Pegaso
1.- instalar
PSSDIAG en C:\PSSDIAG
Revisar el
ejecutable en: C:\PSSDIAG\Pristine\pssdiag.cmd
Verificar donde
se instaló el SQLdiag: F:\Program Files\Microsoft SQL
Server\100\Tools\Binn\SQLdiag.exe
2.- Copiar SQL
Nexux y PerfStatsScript2008 en C:\temp2
SQL Nexus: Es
el editor de los reportes
PerfStatsScript2008:
es la carpeta que contiene los reportes script y xml
3.- Donde y
como ejecutar los monitoreos.
Para ejecutar
un monitoreo vamos a la carpeta PerfStatsScript2008
y modificamos el archivos: StartSQLDiagTrace2008.cmd o creamos una copia de
este y lo modificamos.
@REM To
register the collector as a service, open a command prompt, change to this
@REM directory,
and run:
@REM
@REM SQLDIAG
/R /I "%cd%\SQLDiagPerfStats_Trace.XML" /O
"%cd%\SQLDiagOutput" /P
@REM
@REM You can
then start collection by running "SQLDIAG START" from Start->Run,
and
@REM stop
collection by running "SQLDIAG STOP".
@rem the command below sets sqldiag.exe path. if your installation is different, adjust
accordinly
@rem sql 2008 sqldiag.exe will be able to capture
multiple platforms.
@rem any sqldiag will be able to detect 32 bit or 64
bit instances
set SQLDIAGCMD=F:\Program Files\Microsoft SQL
Server\100\Tools\Binn\SQLdiag.exe
"%SQLDIAGCMD%" /I "C:\Temp2\PerfStatsScript2008\SQLDiagPerfStats_Trace2008.XML"
/O "G:\SQLDiagOutput" /P
No hay comentarios:
Publicar un comentario