Activity Monitor SQL SERVER 2008 March 12, 2010
Posted by juanpablo1manrique in Activity Monitor, Developer, SQL SERVER, SQL SERVER 2008.Tags: SQLSERVER2008
add a comment
Para inicar el ACTIVITY MONITOR en SQL SERVER 2008, se da click derecho sobre el SERVER NAME y luego se da click sobre el activity monitor.
Creo que SQL 2008 se olvido de los developers ya que la administración de nosotros es bastante diferente.
Tomado de:
http://social.msdn.microsoft.com/Forums/en/sqlsecurity/thread/288d6f28-5c29-4f2d-8abe-a1ca9a57fc3c
Configurar VPN para que se pueda seguir navegando March 11, 2010
Posted by juanpablo1manrique in ENCORE, Internet, REDES, VPN.Tags: VPN
add a comment
La vez pasada estaba tratando de configurar una conexión VPN con la empresa y me encontre 2 problemas.
– Primero no me conectaba
– Cuando conecto me quitaba el acceso a internet
Así fue como lo arregle.
1. En mi casa tengo un router ENCORE de 6 puertos, ingrese a la URL de administración y en TCP settings, existe una opción que dice WAN settings, en la parte inferior se encuentran unas configuraciones que dicen:
Enable Web Server Access on WAN from port :
Enable IPsec pass through on VPN connection
Enable PPTP pass through on VPN connection
Enable L2TP pass through on VPN connection
Las habilite todas y logre ingresar.
2. Luego de lograr auntenticarme a la VPN no me quitaba el acceso a internet, para lograr acceder de nuevo realice modifique el gateway del protocolo TCP/IP v4
Click derecho propiedades
Networking
TCP/IP v4
Advance – Uncheck use default gateway
Best Practice : SharePoint Database Access March 11, 2010
Posted by juanpablo1manrique in Best Practices, DAtabase, Developer, SharePoint.1 comment so far
Specifies any addition, modification, or deletion of the data within any SharePoint database by using database access commands. This includes bulk loading of data into a database, exporting data, or directly querying or modifying data.
Real World Example
A list aggregation Web Part that pulls information from a variety of sites in a server farm is designed to directly query the SharePoint database for information and present it to a user.
Technical Details
Directly querying or modifying the database can place extra load on a server, or can expose information to users in a way that violates security policies or personal information management policies. If server-side code must query data, then the process for acquiring that data should be through the built-in SharePoint object model, and not by using any type of query to the database. Client-side code that must modify or query data in SharePoint Products and Technologies can do this by using calls to the built-in SharePoint Web services that in turn call the object model.
Support Details
Important:
This type of customization is not supported.
Direct modification of the SharePoint database or its data is not recommended because it puts the environment in an unsupported state.
If a server component requires information from the database, it must get that data by using the appropriate items in the SharePoint object model, and not by trying to get the items from the data structures in the database through some query mechanism.
Versión en espeañol:: Buenas Prácticas: Acceso a base de datos
Buenas Prácticas: Acceso a base de datos March 11, 2010
Posted by juanpablo1manrique in Best Practices, Developer, SharePoint.1 comment so far
Específicamente la inserción, modificación o borrado de los datos en cualquier base de datos de sharepoint utilizando comandos de acceso a datos. Incluyendo cargas por el comando bulk, exportacion de datos o directamente realizando busquedas o modificaciones sobre los datos.
El desarrollador creó una WEbPart que despliega informacióny esta siendo utilizada en una variedad de sitios dentro de la granja de servidores y está diseñada para buscar información directamente en la base de datos de Sharepoint para presentarla al usuario.
Porque no se debe hacer.
Si se ejecutan directamente consultas a la base de datos puede causar una carga adicional al sistema en general, y puede exponer información a los usuario y podría llegar a presentarse que violenten las políticas de seguridad o la información personal de los usuarios. Si el código al lado del servidor debe ejecutar consultas, entonces es necesario que ese proceso se haga a través del mapa de objetos de sharepoint, y no con SQL Code hacia la base de datos. El código al lado del cliente que deba modificar o traer datos de las base de datos de sharepoint deberá hacerlo a través de los Web services de sharepoint y entonces llamar al modelo de objetos.
Es importante tener en cuenta que este tipo de personalización no es soportada. La modificación directa de la base de datos de sharepoint no es recomendada debido a que pone el ambiente en un estado de no soporte por parte del área de ayuda de Microsoft.
Versión en Ingles : Best Practice : SharePoint Database Access
SharePoint can’t replicated the WEB Applications in different servers March 11, 2010
Posted by juanpablo1manrique in Alta Disponibilidad, Alto Desempeño, Best Practices, Cluster, IIS 7.0, Install, NLB.add a comment
Well, in this days I found that after installing the nodes of SharePoint farm, I see that the WEB Applications are not replicated in different servers. Whereupon I am saying that if SharePoint is installed properly and the NLB is configured correctly, sharepoint administrator enginier can create WebApplications from CentralAdministrator and forget completely if It properly replicated on all servers. This marvel that is achieved through a service called Application Server SharePoint Timer Job Administration Service which may be found in the operations tab and then Timer Job Definitions. This marvel of service runs with administrative permissions, then is mandatory that the Windows SharePoint Services run with a user with administrative permissions on all machines. Having said that an important tip before installing the nodes in each server is that when you install SharePoint the installation is logged with the account you are running SharePoint services “domain \ SHPservice” if this does not happen and is not replicated sites can do the following. Uninstall SharePoint Server, control panel and then go to add and remove programs and uninstall and reinstall in ideal conditions mentioned above, and is supplied again. :: All programs and runs the wizard of SharePoint Products and Technologies Configuration Wizard. It runs all again and verifies that the service Application Server Administration Service Timer Job has run successfully if it does not work you have problems. But letrasandnumeros’ve is the right place to fix it. The first thing you do is update the registry permissions that need to access SharePoint. This is done using the psconfig found in% COMMONPROGRAMFILES% \ Microsoft Shared \ web server extensions \ 12 \ bin “is a very good option because he does everything himself. psconfig-cmd secureresources After this you need to run some commands that allow you to modify permissions sharepoint services, using the stdadm (% CommonProgramFiles% \ Microsoft Shared \ web server extensions \ 12 \ bin) which are: stsadm-o-userlogin updatefarmcredentials-password ****** ***** iisreset% This is necessary before continue stsadm-o-userlogin updateaccountpassword-password ******** ********-noadmin stsadm.exe-o-farmserviceaccount spsearch-farmservicepassword ******** ******** stsadm.exe-o-farmcontentaccessaccount spsearch-farmcontentaccesspassword ******** ******** stsadm.exe-o editssp-title ‘[ShareServiceProviderName]’-ssplogin-ssppassword ******** ******** stsadm.exe-o-farmserviceaccount OSearch-farmservicepassword ******** ******** And again iisreset The previous command lines you can to use to build a. Bat or. Cmd file and maybe use the day that the Enterprise domain administrator change the password to the service user. I hope they will be helpful Greetings
- Versión en español
- SharePoint no replica los cambios entre los servidores de la granja
SharePoint no replica los cambios entre los servidores de la granja March 11, 2010
Posted by juanpablo1manrique in Alta Disponibilidad, Alto Desempeño, Best Practices, Cluster, Developer, IIS 7.0, Install, NLB, SharePoint.1 comment so far
Bueno hace días me encontré con que después de instalar los nodos de mi granja de servidores, veo que al crear los WEBSites aplication estos no son replicados en los diferentes servers. Con lo cual estoy diciendo que si SharePoint está bien instalado y el NLB está correctamente configurado, el administrador de sharepoint puede crear WEBApplications desde el CentralAdministrator y olvidarse completamente si se replican correctamente en todos los servidores.
Esta maravilla se logra gracias a que uno de los servicios de SharePoint llamado Application Server Administration Service Timer Job el cual podrán encontrar en el tab operations y luego en Timer Job Definitions. Esta maravilla de servicio corre con permisos de administración, entonces de manera obligatoria es necesario que los servicios de Windows SharePoint se ejecuten con un usuario que tenga permisos de administración sobre todas las máquinas.
Dicho lo anterior un consejo importante antes de instalar los nodos en cada servidor es que en el momento de instalar SharePoint el ingeniero que realiza la instalación se encuentre logeado con la cuenta con la que van a correr los servicios de SharePoint “domain\SHPservice” si esto no sucede y no se le replican los sitios puede realizar lo siguiente.
Desinstale SharePoint Server, panel de control y luego en agregar y quitar y programas se desinstala y se vuelve a instalar en las condiciones ideales mencionadas anteriormente, y se aprovisiona de nuevo. :: Todos los programas y se ejecuta el asistente de SharePoint Products And Technologies configuration wizard. Se corre todo de nuevo y se verifica que el servicio de Application Server Administration Service Timer Job haya corrido correctamente si esto no sucede tenemos problemas. Pero en letrasandnumeros has dado con el lugar correcto para solucionarlo.
Lo primero que se hace es actualizar los permisos del registro de windows que SharePoint necesita acceso. Esto se logra utilizando el psconfig que se encuentra en %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\bin y es una nota porque lo hace todo él solo.
psconfig -cmd secureresources
Luego de esto es necesario ejecutar algunos comandos que permiten modificar los permisos de los servicios de sharepoint, utilizando el stdadm (%commonprogramfiles%\Microsoft Shared\Web server extensions\12\Bin) los cuales son:
stsadm -o updatefarmcredentials -userlogin ****** -password *****
iisreset %Este es necesario antes de continuar
stsadm -o updateaccountpassword -userlogin ******** -password ******** -noadmin
stsadm.exe -o spsearch -farmserviceaccount ******** -farmservicepassword ********
stsadm.exe -o spsearch -farmcontentaccessaccount ******** -farmcontentaccesspassword ********
stsadm.exe -o editssp -title ‘[ShareServiceProviderName]’ -ssplogin ******** -ssppassword ********
stsadm.exe -o osearch -farmserviceaccount ******** -farmservicepassword ********
Y nuevamente nuestro amigo
iisreset
Las líneas de comandos anteriores les puede servir para construir un .bat o .cmd y utilizarlo el día que al señor administrador del dominio le dé porque es necesario cambiarle el password al usuario de servicio.
Espero que les sea de ayuda
Saludos
Versión en Ingles
SharePoint can’t replicated the WEB Applications in different servers
problems installing SQL 2008 in WINDOWS 2008 in cluster February 24, 2010
Posted by juanpablo1manrique in Alta Disponibilidad, Cluster, IT, SQL SERVER 2008, Windows 2008.1 comment so far
Hello Friends
I have problems installing SQL 2008 in WINDOWS 2008 in cluster, the installation start but not finish.
I see de log …
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0x4BDAF9BA@1306@23
Configuration error description: Could not find the Database Engine startup handle.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20100119_121017\Detail.txt
And in detail you can see.
Error: Action “ConfigEvent_SQL_FullText_Adv_sql_fulltext_Cpu64_CompleteFailoverCluster_ConfigRC_postmsi” failed during execution.
2010-01-19 13:42:59 Slp: Action “ConfigEvent_SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64_CompleteFailoverCluster_Startup_postmsi” will return false due to the following conditions:
2010-01-19 13:42:59 Slp: Condition “Feature dependency condition for action: ConfigEvent_SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64_CompleteFailoverCluster_Startup_postmsi The condition tests feature: SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64. There are 10 dependant features. The feature is tested for results: ValidateResult, Result.” did not pass as it returned false and true was expected.
2010-01-19 13:42:59 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
The solution was unable de recicly bin
– Right click on the “Recycle Bin” icon. A window will open
– Click on the “Do not move files to the Recycle Bin. Remove files immediately when deleted” copy from (http://www.sqlservercentral.com/articles/Clustering/68967/)
El AppPool de SharePoint se cae al primer ingreso February 24, 2010
Posted by juanpablo1manrique in Alto Desempeño, Application Pool, IIS 7.0, Install, IT, NLB, SharePoint.add a comment
Hola
En estos días he tenido un problema complicado ya que he instalado SharePoint en una configuración de alto desempeño con un NLB de Windows 2008, pero en el momento de ingresar al sitio se observa un mensaje de error.
- Service Unavailable
- HTTP Error 503. The service is unavailable.
Cuando observe los AppPool en el IIS 7.0 estaban detenidos, acto seguido intente iniciarlos, e iniciaron correctamente. Pero cuando intente ingresar a los sitios de SharePoint No ingresaban.
La solución a este problema es agregar el usuario que ejecuta el Pool a las políticas de Log on as a service y en Log on as a batch Del dominio para realizar esta tarea se debe realizar los siguientes pasos.
- Ingresar a GroupPolicyManagement ejecutar gpmc.msc
- DefaultDomainPolicy click derecho edit
- Computer
- Polices
- WndowsSettings
- SecuritySettings
- LocalPolices
- UserRightsAssigment
- Agregar el usuario que ejecuta el pool
Para realizar este cambio es necesario tener permisos de Enterprise Administrador dentro del Dominio en Cuestión.
Esto aplica si los AppPool están configurados para que corran con un usuario diferente al de NetWorkSystem
Download AdventureWorks 2008 R2 November CTP February 23, 2010
Posted by juanpablo1manrique in Best Practices, BI, Business Inteligent, Developer, Install, OLAP, SQL SERVER, SQL SERVER 2008, Windows 2008.add a comment
Recordando que en el isntalador de SQL 2008 no viene incluida la base de datos de AdventureWorks para realizar pruebas y para carga los ejemplos como los de BI con los proyectos de Analysis Services listos para ejecutar me encontre este link donde lo pueden desacargar.
http://msftdbprodsamples.codeplex.com/releases/view/24854#DownloadId=91938
El instalador incluye
AdventureWorks OLTP 2008 R2
AdventureWorks Data Warehouse 2008 R2
AdventureWorks LT 2008 R2
AdventureWorks OLAP Standard 2008 R2
AdventureWorks OLAP Enterprise 2008 R2
AdventureWorks OLTP
AdventureWorks Data Warehouse
AdventureWorks LT
AdventureWorks OLAP Standard
AdventureWorks OLAP Enterprise
Manual Install of sharePoint with NLB Windows 2008 February 21, 2010
Posted by juanpablo1manrique in Best Practices, Cluster, Developer, Install, IT, Manual, NLB, SharePoint, Windows 2008.1 comment so far
For my followers, I publish this excelent manual to Install Microsoft SharePoint Server 2007, the subject than you can find here.
1. Install Share Point Process
2. Configuration Process of Share Point
3. Install NLB Windows server 2008
4. Install Second Node of SharePoint
5. Administration of MOSS
Happy coding
Best reguards



