Compartir a través de


Cómo implementar las bases de datos de App-V con scripts SQL

Se aplica a: Application Virtualization 5.1

Use las siguientes instrucciones para emplear los scripts SQL, en lugar de Windows Installer, para:

  • Instalar las bases de datos de App-V 5.1

  • Actualizar las bases de datos de App-V a una versión posterior

Nota

Si ya implementó la base de datos de App-V 5.0 SP3, los scripts SQL no son necesarios para actualizar a App-V 5.1.

Cómo instalar las bases de datos de App-V mediante scripts SQL

  1. Antes de instalar los scripts de base de datos, revise y conserve una copia de los términos de licencia de App-V. Al ejecutar los scripts de base de datos, acepta los términos de licencia. Si no los acepta, no debe usar este software.

  2. Copie el archivo appv_server_setup.exe del soporte de la versión App-V en una ubicación temporal.

  3. En un símbolo del sistema, ejecute appv_server_setup.exe y especifique una ubicación temporal para extraer los scripts de bases de datos.

    Ejemplo: appv_server_setup.exe /layout c:\>ruta de acceso de la ubicación temporal>

  4. Vaya a la ubicación temporal que creó, abra la carpeta DatabaseScripts que extrajo y revise el archivo Readme.txt correspondiente para obtener instrucciones:

    Base de datos Ubicación del archivo Readme.txt que se usa

    Base de datos de administración

    Subcarpeta ManagementDatabase

    Base de datos de informes

    Subcarpeta ReportingDatabase

    Advertencia

    El archivo Readme.txt de la subcarpeta ManagementDatabase está obsoleto. La información de los archivos Readme actualizados que se ofrece a continuación es la más actual y debe sustituir la información de Readme proporcionada en las carpetas DatabaseScripts.

    Importante

    El script InsertVersionInfo.sql no es necesario para las versiones de la base de datos de administración de App-V posteriores a App-V 5.0 SP3.

    El script Permissions.sql debe actualizarse según el paso 2 del artículo de Knowledge Base 3031340. El paso 1 no es necesario para las versiones de App-V posteriores a App-V 5.0 SP3.

Contenido actualizado del archivo README de la base de datos de administración

**************************************************************** Before you install and use the Application Virtualization Database Scripts you must: 1.Review the Microsoft Application Virtualization Server 5.0 license terms. 2.Print and retain a copy of the license terms for your records. By running the Microsoft Application Virtualization Database Scripts you agree to such license terms. If you do not accept them, do not use the software. ****************************************************************

Steps to install "AppVManagement" schema in SQL SERVER.


PREREQUISITES:
-------------------------------------------------------------------------------
 1. Review the installation package.  The following files MUST exist:

    SQL files
    ---------
    Database.sql
    CreateTables.sql
    CreateStoredProcs.sql
    UpdateTables.sql
    Permissions.sql

 2. Ensure the target SQL Server instance and SQL Server Agent service are running.

 3. If you are not running the scripts directly on the server, ensure the 
    necessary SQL Server client software is installed and available from
    the specified location.  Specifically, the "osql" command must
    be supported for these scripts to run.
-------------------------------------------------------------------------------


PREPARATION:
-------------------------------------------------------------------------------
 1. Review the database.sql file and modify as necessary.  Although the
    defaults are likely sufficient, it is suggested that the following
    settings be reviewed:

    DATABASE - ensure name is satisfactory - default is "AppVManagement".   

 2. Review the Permissions.sql file and provide all the necessary account information
    for setting up read and write access on the database. Note: Default settings
    in the file will not work.
-------------------------------------------------------------------------------


INSTALLATION:
-------------------------------------------------------------------------------
 1. Run the database.sql against the "master" database.  Your user 
    credential must have the ability to create databases.
    This script will create the database.

 2. Run the following scripts against the "AppVManagement" database using the 
    same account as above in order.

    CreateTables.sql
    CreateStoredProcs.sql
    UpdateTables.sql
    Permissions.sql 
-------------------------------------------------------------------------------

Contenido actualizado del archivo README la base de datos de informes

**************************************************************** Before you install and use the Application Virtualization Database Scripts you must: 1.Review the Microsoft Application Virtualization Server 5.0 license terms. 2.Print and retain a copy of the license terms for your records. By running the Microsoft Application Virtualization Database Scripts you agree to such license terms. If you do not accept them, do not use the software. ****************************************************************

Steps to install "AppVReporting" schema in SQL SERVER.


PREREQUISITES:
-------------------------------------------------------------------------------
 1. Review the installation package.  The following files MUST exist:

    SQL files
    ---------
    Database.sql
    UpgradeDatabase.sql
    CreateTables.sql
    CreateReportingStoredProcs.sql
    CreateStoredProcs.sql
    CreateViews.sql
    InsertVersionInfo.sql
    Permissions.sql
    ScheduleReportingJob.sql

 2. Ensure the target SQL Server instance and SQL Server Agent service are running.

 3. If you are not running the scripts directly on the server, ensure the 
    necessary SQL Server client software is installed and executable from
    the location you have chosen.  Specifically, the "osql" command must
    be supported for these scripts to run.
-------------------------------------------------------------------------------


PREPARATION:
-------------------------------------------------------------------------------
 1. Review the database.sql file and modify as necessary.  Although the
    defaults are likely sufficient, it is suggested that the following
    settings be reviewed:

    DATABASE - ensure name is satisfactory - default is "AppVReporting".   

 2. Review the Permissions.sql file and provide all the necessary account information
    for setting up read and write access on the database. Note: Default settings
    in the file will not work.

 3. Review the ScheduleReportingJob.sql file and make sure that the stored proc schedule
    time is acceptable. The default stored proc schedule time is at 12.01 AM (line 84). 
    If this time is not suitable, you can change this to a more suitable time. The time is
    in the format HHMMSS.
-------------------------------------------------------------------------------


INSTALLATION:
-------------------------------------------------------------------------------
 1. Run the database.sql against the "master" database.  Your user 
    credential must have the ability to create databases.
    This script will create the database.

 2. If upgrading the database, run UpgradeDatabase.sql This will upgrade database schema.

 2. Run the following scripts against the "AppVReporting" database using the 
    same account as above in order.
    
    CreateTables.sql
    CreateReportingStoredProcs.sql
    CreateStoredProcs.sql
    CreateViews.sql
    InsertVersionInfo.sql
    Permissions.sql
    ScheduleReportingJob.sql
-------------------------------------------------------------------------------

¿Tiene alguna sugerencia sobre App-V? Agregue o vote sugerencias aquí.
¿Tiene un problema de App-V? Use el foro de TechNet de App-V.

Véase también

Tareas

Cómo implementar el servidor de App-V 5.1

Otros recursos

Implementación del servidor de App-V 5.1

-----
Puede obtener más información sobre MDOP en la Biblioteca de TechNet, mediante la búsqueda de información de solución de problemas en la sección TechNet Wiki, o a través de Facebook o Twitter.
-----