Via SharePoint’s Weblog

Archivos de la categoría ‘Infraestructura’

Error al realizar el Restore de la base de datos de contenido

Publicado por pablonster en noviembre 17, 2009

Al realizar un restore de una base de datos de contenido nos encontramos con el siguiente error en el Event Viewer:

Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Database
Event ID: 3759
Date:  17/11/2009
Time:  10:33:55
User:  N/A
Computer: XXXXXXXXXX
Description:
Database ‘WSS_Content_XXXXXXXXXX’ on SQL Server instance ‘XXXXXXXXXX’ is not empty and does not match current database schema.

La solución la encontramos en http://support.microsoft.com/kb/888041/en-us donde dice:

Note If you configured permissions for the database with the NT Authority\Network Service account, you have to add the Network Service account to the System Administrators role in SQL Server before you can follow this step. You cannot make the Network Service account the database owner (dbo) of the database. You have to add the Network Service account to the System Administrators role before you can add the database to the virtual server. After you add the database to the virtual server, remove the Network Service account from the System Administrators role in SQL Server.”

Publicado en Deployment, Infraestructura | Deja un Comentario »

Cómo cambiar el nombre del servidor en Sharepoint 2007

Publicado por pablonster en junio 26, 2009

Para renombrar un servidor MOSS/WSS 2007 hay que seguir los siguientes pasos:

  1. Cambiar los “alternate access mappings”
    - Ingresar a Central Administration / Operations / Alternate Access mappings
    - Modificar cada mapeo de acuerdo al nuevo nombre del servidor
  2. Utilizar el tsadm.exe con la opción “renameserver”
    - Abrir una ventana de comandos y ubicarse en “%COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin”
    - Ejecutar:  stsadm -o renameserver -newservername <newname> -oldservername <oldname>
  3. Recién después nombrar el servidor
    - My Computer / Properties / Computer Name / Change…

Hasta aquí llegó la valiosa información que pudimos encontrar en Jonathon’s Blog – How to Change a Server Name Post-Deployment in MOSS 2007 & WSS 3.0

Luego la experiencia personal y algunos errores encontrados en el Event Viewer nos llevaron a realizar otros pasos complementarios:

  1. Actualizar las credenciales de la web
    - Ejecutar: stsadm -o updatefarmcredentials -identitytype NetworkService
    Esto impacta directamente en la identidad de uno de los App pools que mencionamos a continuación.
    O bien desde: Operations / Security Configuration  / Service accounts: cambiar la identidad de cada App pool manualmente.
  2. Revisar las identidades bajo las que se ejecutan los Application Pools en el IIS
    - SharePoint 80
    - SharePoint Central Administration v3
    Tener en cuenta que al cambiar las identidades en forma manual podemos estar sobreescribiendo lo que hicimos en el punto anterior.
  3. Cambiar los usuarios definidos como Administradores
    - Central Administration / Application Management / SharePoint Site Management / Site collection administrators
  4. Renombrar las descripciones de las cuentas de usuarios de SQL Server, si es que está instalado en el mismo servidor y sólo por una cuestión de prolijidad, porque internamente los nombres cambian automáticamente
    - Ingresar a SQL Server Management Studio / Security / Logins
    - Posicionarse en cada login, botón derecho del mouse, “rename”
  5. Cambiar identidades del servicio “Help Search”
    - Central Administration / Operations / Services on server / Windows SharePoint Services Help Search

Publicado en Infraestructura | Deja un Comentario »

 
Seguir

Get every new post delivered to your Inbox.