Condividi tramite


Come distribuire database App-V tramite script SQL

Usare le istruzioni seguenti per usare gli script SQL, anziché Windows Installer, per:

  • Installare i database App-V 5.1
  • Aggiornare i database App-V a una versione successiva

Nota

Se è già stato distribuito il database App-V 5.0 SP3, gli script SQL non sono necessari per l'aggiornamento ad App-V 5.1.

Come installare i database App-V usando script SQL

  1. Prima di installare gli script del database, esaminare e mantenere una copia delle condizioni di licenza di App-V. Eseguendo gli script del database, si accettano le condizioni di licenza. Se non li accetti, non dovresti usare questo software.

  2. Copiare l'oggetto appv_server_setup.exe dal supporto di versione di App-V in una posizione temporanea.

  3. Da un prompt dei comandi eseguire appv_server_setup.exe e specificare un percorso temporaneo per l'estrazione degli script del database.

    Esempio: appv_server_setup.exe /layout c:\<temporary location path>

  4. Passare al percorso temporaneo creato, aprire la cartella estratta DatabaseScripts ed esaminare il file di Readme.txt appropriato per istruzioni:

    • Database di gestione: ManagementDatabase sottocartella

    • Database di creazione report: ReportingDatabase sottocartella

Attenzione

Il file readme.txt nella ManagementDatabase sottocartella non è aggiornato. Le informazioni nei file leggimi aggiornati seguenti sono le più aggiornate e devono sostituire le informazioni readme fornite nelle DatabaseScripts cartelle.

Importante

Lo script InsertVersionInfo.sql non è necessario per le versioni del database di gestione App-V successive a App-V 5.0 SP3.

Contenuto del file README del database di gestione aggiornato

******************************************************************
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

Contenuto del file README del database di report aggiornato

******************************************************************
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

Distribuzione del server App-V 5.1

Come distribuire il server App-V 5.1