lunes, 4 de julio de 2011

Todo sobre el SP1 de SharePoint 2010

Nada mejor que acudir a las explicaciones en el blog de los compañeros de soporte de SharePoint de Microsoft:

http://blogs.technet.com/b/hablamoss/archive/2011/06/28/sharepoint-2010-sp1-y-june-2011-cu-disponibles.aspx

Promete entretenimiento su instalación, si bien la instalación hasta ahora de Cumulative Updates en SharePoint 2010 ofrece menos problemas y errores que los que había en MOSS 2007. Lo que más me llama la atención es que posteriormente a la instalación del SP1, haya que instalar el Cumulative Update de Junio de 2011, si bien, se explica en el artículo referenciado ¿?¿?¿?

Todo lo que cubre el SP1:

Area

Topic

Plan browser support

·Plan browser support (SharePoint Server 2010) (http://go.microsoft.com/fwlink/?LinkID=221778)

·Plan browser Support (SharePoint Foundation 2010) (http://go.microsoft.com/fwlink/?LinkID=221779)

Windows PowerShell

·NEW: Get-SPDeletedSite (SharePoint Server 2010)

·NEW: Get-SPDeletedSite (SharePoint Foundation 2010)

·NEW: Remove-SPDeletedSite (SharePoint Server 2010)

·NEW: Remove-SPDeletedSite (SharePoint Foundation 2010)

·NEW: Restore-SPDeletedSite (SharePoint Server 2010)

·NEW: Restore-SPDeletedSite (SharePoint Foundation 2010)

·Move-SPSite (RBSProviderMapping parameter added) (SharePoint Server 2010)

·Move-SPSite (RBSProviderMapping parameter added) (SharePoint Foundation 2010)

Site management

·Restore a deleted site collection (SharePoint Server 2010)

·Restore a deleted site collection (SharePoint Foundation 2010)

·Restore a deleted site (SharePoint Server 2010)

·Restore a deleted site (SharePoint Foundation 2010)

Database management

· Overview of RBS (http://technet.microsoft.com/library/ee748649.aspx)

·Overview of RBS (http://technet.microsoft.com/library/ee748607.aspx)

·Plan for RBS (http://technet.microsoft.com/library/ff628583.aspx) (SharePoint Server 2010)

·Plan for RBS (http://technet.microsoft.com/library/ff628569.aspx) (SharePoint Foundation 2010)

·Install and configure RBS (SharePoint Server 2010) (http://technet.microsoft.com/library/ee748631.aspx)

·Install and configure RBS (SharePoint Foundation 2010) (SharePoint Foundation 2010)

·NEW: Remote BLOB storage in SharePoint Server 2010 (video) (http://technet.microsoft.com/library/hh286318.aspx) (SharePoint Server 2010)

Cascading Filters

·NEW: Configure cascading filters by using Dashboard Designer (SharePoint Server 2010 SP1) (http://technet.microsoft.com/library/hh272541.aspx)

Developer Content

·What’s new in the SDK for SharePoint Server 2010 (http://msdn.microsoft.com/library/ff847475.aspx)

·What’s new in the SDK for SharePoint Foundation 2010 (http://msdn.microsoft.com/library/ff847474.aspx)



Los "whitepapers" técnicos sobre el SP1:

http://www.microsoft.com/download/en/details.aspx?id=26573

lunes, 18 de abril de 2011

Verobose Diagnostic Logging en MOSS 2007 y SharePoint ULS Viewer

Como método de análisis de errores en SharePoint, éstos son los pasos para activar y ejecutar el modo "Verbose" (verboso o detallado) en los logs de la plataforma SharePoint, y cómo volver a dejarlos en su modo por defecto, una vez obtengamos los registros necesarios para poder localizar qué nos está produciendo problemas:



# Desde el Command Prompt en: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin
1. Ejecutar stsadm -o setlogginglevel -tracelevel Verbose
2. Reproduciremos el problema que nos está generando la paltaforma (anotaremos la fecha y hora para ayudarnos a detectar el problema)
3. Una vez se reproduzca el error volvermos a dejar el nivel de logs por defecto con la instrucción: stsadm -o setlogginglevel -default (vuelva a su estado normal)
4. En la siguiente ruta dispondremos de los logs que se van generando C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs
Como herramienta complemantaria para amalizar los logs generados, disponemos de la utilidad SharePoint ULS Viewer, descargable desde:
http://ulsviewer.codeplex.com/

jueves, 24 de marzo de 2011

Administración remota de IIS 7

Cómo habilitar la administración remota en IIS 7:
http://learn.iis.net/page.aspx/158/remote-administration-for-iis-manager/

La descarga de IIS Manager está disponible desde:
http://www.iis.net/download/iismanager

Instalando Project Server 2007 sobre Windows Server 2008 R2

Recogemos las consideraciones a tener en cuenta en caso de tener que afrontar la instalación de Project Server 2007 sobre Windows Server 2008 R2, dado que no podremos hacerlo de manera nativa, si no que será necesario incluir en la instalación el SP2 de producto, pues nos encontraremos ante el mensaje “The program is blocked due to compatibility issues.” al iniciar la instalación desde el DVD original. Lo mismo aplica para SharePoint 2007.

http://technet.microsoft.com/en-us/library/cc531331%28office.12%29.aspx

http://sharepointnomad.wordpress.com/2009/09/16/installing-microsoft-office-project-server-2007-on-windows-server-2008-sp2/

http://jmhogua.blogspot.com/2010/01/instalando-project-server-2007-sobre.html

En su día, en este post, explicábamos cómo agregar los últimos Cumulative Updates o Service Pack a la instalación de SharePoint 2007 (lo cual se mantiene en SharePoint 2010):

http://sharepointintrouble.blogspot.com/2009/01/instalacin-de-moss-incluyendo-ltimos.html 



PDF gratuito de instalación de SharePoint 2010

Comparto este interesante PDF gratuito, muy sencillo para iniciarse en la instalación de SharePoint 2010:

http://www.megaupload.com/?d=VQJZDVYI

Instalación de Project Server 2007 TechNet

Recurso sobre la instalación de Project Server 2007 en TechNet

http://technet.microsoft.com/en-us/library/dd630722%28office.12%29.aspx

Instalación de Project Server 2010 TechNet

Recursos sobre instalación de Project Server 2010, producto basado en el núcleo de SharePoint 2010, más aún de lo que lo estaba en su versión 2007.

http://technet.microsoft.com/en-us/library/ee662109.aspx

http://technet.microsoft.com/en-us/library/ee662114.aspx

Instalación de SharePoint 2010 TechNet

Recursos de TechNet sobre la instalación de SharePoint 2010:

http://technet.microsoft.com/en-us/library/ee805948.aspx

http://technet.microsoft.com/en-us/library/cc261752.aspx

http://technet.microsoft.com/en-us/library/ee794878.aspx

miércoles, 9 de marzo de 2011

Plantilla STP para Liga Deportiva en WSS 3.0

Encontré esta plantilla de WSS3.0 y MOSS2007 para un sitio que tuve que montar para seguimiento de una liga desportiva, fácil y sencilla.

http://www.microsoft.com/downloads/en/details.aspx?FamilyId=F811D8C1-2C55-4960-8B59-25808DB5F793&displaylang=en

Una pena que se hayan abandonado estos recursos para SharePoint 2010, si bien podemos efectuar la migración desde WSS3.0 o MOSS 2007 vía movimiento de la base de datos de contenido, tema que trataré en un post dedicado.

jueves, 24 de febrero de 2011

miércoles, 23 de febrero de 2011

Eliminar registros de auditoría del sitio. Tabla dbo.auditdata y stsadm -o trimauditlog

Como administradores de SharePoint nos podemos encontrar ante la circunstancia de tener que eliminar registros de la tabla dbo.auditdata para eliminar registros de la auditoría del sitio.

Hay que tener especial precacución a la hora de habilitar la auditoría de un sitio de SharePoint por el espacio en disco que va a consumir.

Para el caso en que tengamos que eliminar registros de lo auditado, utilizaremos el siguiente comando:



stsadm -o trimauditlog
   -url
   -date
   -databasename
   [-databaseserver] 


Parameter
Value Required? Description
url A valid URL, such as http://server_name Yes, if databasename parameter is not specified Specifies the URL name to a site collection. If you use this parameter, it will only delete the audit entries from that site collection. If this parameter is used, the databaseserver and databasename parameters are ignored.
date A valid date in the form "YYYYMMDD" Yes Represents the earliest date and time for which the user wants to preserve audit data.
databasename (dn) A valid database name, such as "DB1" Yes, if url parameter is not specifed Specifies the name of a content database where the audit log should be trimmed.
databaseserver (ds) A valid database server, such as "DS1" No Name of the database server where the content database is stored.
Note Note:
If your database server and SharePoint Products and Technologies are hosted on separate servers, you need to use the databaseserver parameter to specify the database server name.

Extraido de:

http://technet.microsoft.com/en-us/library/cc706879%28office.12%29.aspx


SharePoint Designer 2010 gratuito

SharePoint Designer 2010 es una herramienta que necesitaremos para trabajar con la plataforma SharePoint, especialmente para la modificación de páginas y para la exploración de contenidos y customizaciones.

Está disponible para descarga de forma gratuita en Microsoft:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d88a1505-849b-4587-b854-a7054ee28d66&displaylang=en

A continuación un interesante video introductorio:

Introducción a las bases de datos utilizadas por SharePoint 2010

Recomiendo el siguiente artículo en el que se expone de manera sencilla las principales bases de datos utilizadas por los distintos servicios de SharePoint 2010:

http://blogs.technet.com/b/wbaer/archive/2009/11/30/introduction-to-the-microsoft-sharepoint-sharepoint-2010-database-layer.aspx

SharePoint Space Monitor

SharePoint Space Monitor es una interesante utilidad que nos permite explorar cómo está repartido el espacio utilizado por la base de datos de contenido de nuestra aplicación web de MOSS 2007 y WSS 3.0.

Esta herramienta puede utilizarse por ahora de manera gratuita solicitando licencia a su creador desde la propia web en la que se descarga:

http://www.thesug.org/blogs/lsuslinky/SSM/Pages/default.aspx

STSADM vs Powershell para SharePoint 2010


Recogemos la referencia de TechNet con la correlación de comandos de administración STSADM con los cmdlets de PowerShell disponibles en SharePoint 2010:

http://technet.microsoft.com/es-es/library/ff621084.aspx



Operación de Stsadm
Cmdlet de Windows PowerShell
Activatefeature
Enable-SPFeature
Activateformtemplate
Enable-SPInfoPathFormTemplate
Addalternatedomain
New-SPAlternateUrl
Addcontentdb
Mount-SPContentDatabase
New-SPContentDatabase
Adddataconnectionfile
Install-SPDataConnectionFile
Add-ecsfiletrustedlocation
New-SPExcelFileLocation
Add-ecssafedataprovider
New-SPExcelDataProvider
Add-ecstrusteddataconnectionlibrary
New-SPExcelDataConnectionLibrary
Add-ecsuserdefinedfunction
New-SPExcelUserDefinedFunction
Addexemptuseragent
Add-SPInfoPathUserAgent
Addpath
New-SPManagedPath
Addpermissionpolicy
Ninguno
Addsolution
Add-SPSolution
Addtemplate
Install-SPWebTemplate
Adduser
New-SPUser
Addwppack
Install-SPWebPartPack
Addzoneurl
New-SPAlternateUrl
Allowuserformwebserviceproxy
Set-SPInfoPathWebServiceProxy
Use los parámetros AllowForUserForms e Identity.
Allowwebserviceproxy
Set-SPInfoPathWebServiceProxy
Use los parámetros AllowWebServiceProxy e Identity.
Authentication
Set-SPWebApplication
Use los parámetros AuthenticationMethod o AuthenticationProvider.
Backup
Backup-SPConfigurationDatabase
Backup-SPFarm
Backup-SPSite
Backuphistory
Get-SPBackupHistory
Binddrservice
Ninguno
Blockedfilelist
Ninguno
Canceldeployment
Ninguno
Changepermissionpolicy
Ninguno
Copyappbincontent
Ninguno
Createadminvs
New-SPCentralAdministration
Creategroup
Ninguno
Createsite
New-SPSite
Createsiteinnewdb
New-SPSite Use el parámetro ContentDatabase.
New-SPContentDatabase
Createweb
New-SPWeb
Databaserepair
Ninguno
Deactivatefeature
Disable-SPFeature
Deactivateformtemplate
Disable-SPInfoPathFormTemplate
Deleteadminvs
Ninguno
Deletealternatedomain
Remove-SPAlternateUrl
Deleteconfigdb
Remove-SPConfigurationDatabase
Deletecontentdb
Dismount-SPContentDatabase
Deletegroup
Ninguno
Deletepath
Remove-SPManagedPath
Deletepermissionpolicy
Ninguno
Deletesite
Remove-SPSite
Deletesolution
Remove-SPSolution
Deletetemplate
Uninstall-SPWebTemplate
Deleteuser
Remove-SPUser
Deleteweb
Remove-SPWeb
Deletewppack
Uninstall-SPWebPartPack
Deletezoneurl
Remove-SPAlternateUrl
Deploysolution
Install-SPSolution
Deploywppack
Install-SPWebPartPack
Disablessc
Ninguno
Displaysolution
Get-SPSolution
Editcontentdeploymentpath
Set-SPContentDeploymentPath
Email
Ninguno
Enablessc
Ninguno
Enumalternatedomains
Get-SPAlternateURL
Enumcontentdbs
Get-SPContentDatabase
Enumdataconnectionfiledependants
Get-SPDataConnectionFileDependent
Enumdataconnectionfiles
Get-SPDataConnectionFile
Enumdeployments
Ninguno
Enumexemptuseragents
Get-SPInfoPathUserAgent
Enumformtemplates
Get-SPInfoPathFormTemplate
Enumgroups
Ninguno
Enumroles
Ninguno
Enumservices
Get-SPServiceInstance
Enumsites
Get-SPSiteAdministration (Para ejecutar este cmdlet, debe pertenecer al grupo de administradores del conjunto o granja de servidores).
Get-SPSite (Para ejecutar este cmdlet, debe ser un administrador local del equipo donde está instalado Productos de SharePoint 2010).
Enumsolutions
Get-SPSolution
Enumsubwebs
Get-SPWeb
Enumtemplates
Get-SPWebTemplate
Enumusers
Get-SPUser
Enumwppacks
Get-SPWebPartPack
Enumzoneurls
Get-SPAlternateURL
Execadmsvcjobs
Start-SPAdminJob
Export
Export-SPWeb
Extendvs
New-SPWebApplication
Extendvsinwebfarm
New-SPWebApplicationExtension
Forcedeletelist
Ninguno
Getadminport
Get-SPWebApplication
Utilice la sintaxis siguiente:
  • Get-SPWebApplication -IncludeCentralAdministration | ? {$_.IsAdministrationWebApplication -eq $true}

Propiedad Getdataconnectionfileproperty
Get-SPDataConnectionFile
Utilice la sintaxis siguiente:
  • Get-SPDataConnectionFile | where {$_.Name -eq "dataConFileName"} | format-list

Propiedad Getformtemplateproperty
Get-SPInfoPathFormTemplate
Utilice la sintaxis siguiente:
  • Get-SPInfoPathFormTemplate | where {$_.DisplayName -eq "formTemplateName"} | format-list

Getosearchsetting
Ninguno
Getproperty
Get-SPFarmConfig
Get-SPTimerJob
Disable-SPTimerJob
Enable-SPTimerJob
Set-SPTimerJob
Start-SPTimerJob
Getsitelock
Get-SPSiteAdministration
Getsiteuseraccountdirectorypath
Ninguno
Geturlzone
Get-SPAlternateURL
Import
Import-SPWeb
Installfeature
Install-SPFeature
Listlogginglevels
Get-SPLogLevel
Listqueryprocessoroptions
Ninguno
Listregisteredsecuritytrimmers
Get-SPEnterpriseSearchSecurityTrimmer
Localupgradestatus
Ninguno
Managepermissionpolicylevel
Ninguno
Mergecontentdbs
Move-SPSite
Migrateuser
Move-SPUser
Osearch
Para Osearch, parámetros farmcontactemail, farmperformancelevel, farmserviceaccount y farmservicepassword, use los cmdlets Get-SPEnterpriseSearchService y Set-SPEnterpriseSearchService.
Para Osearch, parámetros start y stop, use los cmdlets Start-SPEnterpriseSearchServiceInstance y Stop-SPEnterpriseSearchServiceInstance respectivamente.
Para Osearch, parámetro defaultindexlocation, use los cmdlets Get-SPEnterpriseSearchServiceInstance y Set-SPEnterpriseSearchServiceInstance.
Osearchdiacriticsensitive
Use el cmdlet Get-SPEnterpriseSearchServiceApplication para recuperar la aplicación de servicio de búsqueda específica y, a continuación, use el parámetro DiacriticSensitive del cmdlet Set-SPEnterpriseSearchServiceApplication.
Provisionservice
Start-SPServiceInstance
Quiescefarm
Ninguno
Quiescefarmstatus
Ninguno
Quiesceformtemplate
Stop-SPInfoPathFormTemplate
Reconvertallformtemplates
Update-SPInfoPathFormTemplate
Refreshdms
Ninguno
Refreshsitedms
Ninguno
Registersecuritytrimmer
New-SPEnterpriseSearchSecurityTrimmer
Registerwsswriter
Ninguno
Removedataconnectionfile
Uninstall-SPDataConnectionFile
Remove-ecsfiletrustedlocation
Remove-SPExcelFileLocation
Remove-ecssafedataprovider
Remove-SPExcelDataProvider
Remove-ecstrusteddataconnectionlibrary
Remove-SPExcelDataConnectionLibrary
Remove-ecsuserdefinedfunction
Remove-SPExcelFileLocation
Removedrservice
Ninguno
Removeexemptuseragent
Remove-SPInfoPathUserAgent
Removeformtemplate
Uninstall-SPInfoPathFormTemplate
Removesolutiondeploymentlock
Ninguno
Renameserver
Rename-SPServer
Renamesite
Set-SPSite
Use el parámetro Url.
Renameweb
Set-SPWeb
Use el parámetro RelativeUrl.
Restore
Restore-SPFarm
Restore-SPSite
Retractsolution
Uninstall-SPSolution
Retractwppack
Ninguno
Runcontentdeploymentjob
Start-SPContentDeploymentJob
Scanforfeatures
Install-SPFeature
Use el parámetro Scanforfeatures.
Setadminport
Set-SPCentralAdministration
Setapppassword
Ninguno
Setconfigdb
Connect-SPConfigurationDatabase
Setcontentdeploymentjobschedule
Set-SPContentDeploymentJob
Setdataconnectionfileproperty
Set-SPDataConnectionFile
Set-ecsexternaldata
Set-SPExcelFileLocation
Set-ecsloadbalancing
Set-SPExcelServiceApplication
Use el parámetro LoadBalancingScheme.
Set-ecsmemoryutilization
Set-SPExcelServiceApplication
Use los parámetros MemoryCacheThreshold y PrivateBytesMax.
Set-ecssecurity
Set-SPExcelServiceApplication
Use los parámetros CrossDomainAccessAllowed, EncryptedUserConnectionRequired y FileAccessMethod.
Set-ecssessionmanagement
Set-SPExcelServiceApplication
Use los parámetros SessionsPerUserMax y SiteCollectionAnonymousSessionsMax.
Set-ecsworkbookcache
Set-SPExcelServiceApplication
Use los parámetros Workbookcache y WorkbookCacheSizeMax.
Setformtemplateproperty
Set-SPInfoPathFormTemplate
Setlogginglevel
Set-SPLogLevel
Setosearchsetting
Ninguno
Setproperty
Set-SPFarmConfig
Get-SPTimerJob
Disable-SPTimerJob
Enable-SPTimerJob
Set-SPTimerJob
Start-SPTimerJob
Setqueryprocessoroptions
Ninguno
Setsitelock
Set-SPSiteAdministration
Use el parámetro LockState.
Setsiteuseraccountdirectorypath
Get-SPSiteSubscription
New-SPSiteSubscription
Remove-SPSiteSubscription
Setworkflowconfig
Set-SPWorkflowConfig
Siteowner
Set-SPSiteAdministration
Syncsolution
Install-SPSolution
Use el parámetro Synchronize.
Unextendvs
Remove-SPWebApplication
Uninstallfeature
Uninstall-SPFeature
Unquiescefarm
Ninguno
Unquiesceformtemplate
Start-SPInfoPathFormTemplate
Unregistersecuritytrimmer
Remove-SPEnterpriseSearchSecurityTrimmer
Unregisterwsswriter
Ninguno
Updateaccountpassword
Set-SPManagedAccount
Updatealerttemplates
Ninguno
Updatefarmcredentials
Ninguno
Upgrade
Ninguno
Upgradeformtemplate
Install-SPInfoPathFormTemplate
Upgradesolution
Update-SPSolution
Upgradetargetwebapplication
Ninguno
Uploadformtemplate
Install-SPInfoPathFormTemplate
Userrole
Get-SPUser
Move-SPUser
New-SPUser
Remove-SPUser
Set-SPUser
Verifyformtemplate
Test-SPInfoPathFormTemplate