vCenter ดู Performance ไม่ได้

ปัญหานี้เกิดจากการ Upgrade จาก SQL 2005 Express ไปเป็นเวอร์ชั่นอื่น
เนื่องจากใน SQL 2005 Express ไม่สามารถใช้งาน SQL Server Agent ได้ ข้อมูลส่วนนี้จึงโดนจัดการโดย VirtualCenter Server service ดังนั้นเมื่อได้ทำการ Upgrade SQL จึงต้องเพิ่ม Job ใน SQL Server Agent

ที่มา Vmware

Adding the SQL Server Agent Jobs

This section describes how to install the SQL Server Agent jobs.    To add a SQL Server Agent Job:

  1. Open SQL Management Studio using the database login used by VirtualCenter to connect to the database (typically not SA or Administrator). See Administrative Credentials are required for Oracle and SQL Server databases when installing or upgrading Virtual Center (1003052) to ensure you have the correct permissions.
  2. Click File > Open > File.
  3. Navigate to the location of the jobs:
    • For vCenter 2.5, go to C:Program FilesVMwareInfrastructureVirtualCenter ServerdbupgradeUpgrade-v3-to-v4PL-SQL
    • For vCenter 4.0, go to C:Program FilesVMwareInfrastructureVirtualCenter Server
  4. Open job_schedule1_mssql.sql.
  5. Ensure that the VirtualCenter Database is selected and that Master is not selected.
  6. Click Execute Query.
  7. Follow Steps 1 to 6 for job_schedule2_mssql.sql and job_schedule3_mssql.sql.
  8. After all three jobs are created, navigate to SQL Server Agent > Jobs in the Object Explorer.
  9. Right-click Past Day stats rollup, then click Properties. Ensure that the owner of the job is the same user as the owner of the database.
  10. Right-click Past Month stats rollup, then click Properties. Ensure that the owner of the job is the same user as the owner of the database.
  11. Right-click Past Week stats rollup, then click Properties. Ensure that the owner of the job is the same user as the owner of the database.

Leave a Reply