SQL database Migration problem!

Hello

I am migrating the database SQL 2012 for vcenter 5.5.  It worked fine, but I can't create jobs of Roll-up on the new SQL Server, because the vCenter database uses the custom schema 'Raphael', cumulative patch-work scripts fail to run because they are written to the default dbo schema.

I don't know how to change them all to work with the custom schema.

Any ideas?

Hello, you can update the sql scripts used to create the jobs of roll-up, see this article VMware KB: update rollup jobs after the error: the performance data are currently not available for this entity -you can see the location of the sql jobs based on your OS, change and update accordingly to recreate

Tags: VMware

Similar Questions

  • Local SQL database migration from Vcenter 5 to a SQL cluster

    Hello

    I'm trying to migrate my real installation vcenter 5 with a sql local database to a SQL clusster.

    This is manipulation that I do:

    -Stop services vcenter

    -Copy the mdf and ldf for the database files in my directory my SQL cluster

    -Change the ODBC connector to specify the path of the database news

    After this manipulation I try to restart services Vcenter and he pop up me an error.

    After somes tests I do an unistall of the vcenter instance.

    I have check the ODBC connector after unistall and it has been deleted.

    I create another with the pathof my database to my SQL cluster and I restart installing Vcenter 5

    When I check "use an existing database" and specify my recreate ODBC connector before.

    Installation works very well.

    After restarting my server vcenter server start without problems and work.

    I need to know if there is a possibility of just 'fix' the instance to specify the new database because uninstall the instance is a great action?

    Thanks for help you,

    Hello

    I have try this manipulation in the laboratory environment and this work as a result of this step:

    -Copy the files mdf and listening to your new location of the database database

    -Unistall Vcenter Server on your server

    -Remove the ODBC if not erased by installation

    -Create it again with the new location of the database

    -Restart installing Vcenter Server and specify "use an existing database" and refer to the ODBC connector create just before

    -To complete the installation and launch your Vcenter

    Attention I have try this experiment with a 5 Vcenter environment.

    I don't know if it works with 5.1

  • Problem with migration SQL Server Oracle 11.2 2012 DB using SQL Developer Migration workbench

    Hello

    I have a problem when migrating SQL Server Oracle 11.2 2012 using SQL Developer Migration workbench, hope that someone had the same problem before and can give same advide...

    I use SQL Developer Version 4.0.1.14 and Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0. and last jtds - 1.3.

    I created the schema migration_repo, privileges, connected to the third part of Db (SQL Server) and begin a trial with assistant. In the first step of the model to Capture, I get the message from the:

    "Company Capture Capture failed.  Refer to the table MIGRLOG in the repository for more details ".

    But MIGRLOG is empty.

    Here is my log:

    <? XML version = "1.0" encoding = "windows-1252" standalone = 'no '? >

    < Log >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    < level > SEVERE < / level >

    oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil < class > < / class >

    < message > Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doOnlineEnterpriseCapture(FullMigrateTask.java:758) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doCapture(FullMigrateTask.java:601) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:400) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:314) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:147) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193) < param > < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ (RaptorTaskManager.java:554) < param > RaptorFutureTask.run < / param >

    java.util.concurrent.Executors$ (Executors.java:471) < param > RunnableAdapter.call < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615) < param > < / param >

    java.lang.Thread.run(Thread.java:744) < param > < / param >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@68e69a < param > < / param >

    < exception >

    < message > oracle.dbtools.migration.workbench.core.ui.FullMigrateTask$ FullMigrateTaskException: Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 758 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 601 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    line 400 > of < < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 314 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 147 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTask < class > < / class >

    < line > 193 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ RaptorFutureTask < class > < / class >

    < line > 554 < / line >

    < / framework >

    < frame >

    java.util.concurrent.Executors$ RunnableAdapter < class > < / class >

    < line > 471 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor < class > < / class >

    < line > 1145 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor$ Worker < class > < / class >

    < line > 615 < / line >

    < / framework >

    < frame >

    java.lang.Thread < class > < / class >

    < line > 744 < / line >

    < / framework >

    < / exception >

    < / recording >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    WARNING < level > < / level >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    <>error message: ORA-06550: line 1, column 14:

    PLS-00201: identifier ' SS2K5ALLPLATFORM. STAGECAPTURE' must be declared

    ORA-06550: line 1, column 7:

    PL/SQL: Statement ignored

    : FAILED: Database Migration: FAILURE < / message >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@1e2c9b99 < param > < / param >

    < / recording >

    I try with model db (DB empty, just a single table), but the error is same. However, if I try to copy the acronym tabele from SQL Server to Oracle it works fine...

    I guess it's something with the configuration, but beacause I am new in Oracle still have no idea...

    Any help would be much appreciated

    I thank in advance

    Stefan

    Hello Stefan,

    did you create the repository Migration of your database to Oracle (Tools-> Migration-> repository management)?

    The SS2K5ALLPLATFORM package is usually created when you add the migration of the Oracle database repository and it contains the function StageCapture.

    So please make sure that you have created a repository of migration in an Oracle database and associate it with the first step of your migration.

    -Klaus

  • During database migration issues in SQL Serever

    Hello

    In single database migration in SQL Server, what are all the possible questions, that allows us to get.

    Please help me on this.

    RD

    SQL server questions should be asked on the Technet site

    http://social.technet.Microsoft.com/forums/en-us/home

  • Migrate the MS SQL database to vCenter PostgreSQL appliance

    It is possible to migrate from vCenter 5.5u1 uses the Microsoft SQL database external to vCenter device using the embedded PostgreSQL database? Thanks for your replies.

    Officially no, you need to deploy a new vCenter and move your hosts for the new vCenter.

    Take a look at this thread another for alternatives: https://communities.vmware.com/message/2401063#2401063

  • Steps to migrate SQL database to Windows/Oracle

    Hello

    We have a SQL database in our network client and customer wants to migrate to Windows/Oracle. Currently they have several databases on the same SQL Server.

    So, I'm curious whether oracle also allows the same thing in Windows.

    I have read that we can in fact install an oracle home and DBCA to create several databases oracle on the same host. Pointers to all the relevant documents? I also want to understand this configuration and what it means for performance, backup/restore, fix/upgrade etc.

    Ask your contributions to this topic please.

    Kind regards

    Raja

    Yes - you can have of many databases per physical server - you are only limited by the amount of memory/disk you have on the server.

    Oracle provides tools to migrate from SQL Server

    http://www.Oracle.com/technetwork/database/migration/SQLServer-095136.html
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm

    HTH
    Srini

  • sql database problem waterfalls

    Hello

    I use the cascades sql database! I am able to run the sql query, create tables and data screwed into it!

    But I am unable to read the sql database! Please help me!

    It's my code,

    SqlDataAccess sda (home.absoluteFilePath ("mydeb.db"));

    QVariant list = sda.execute ("SELECT * FROM MaTable");

    But I don't know how to recover data from this QVariant!

    Please help me...

    The result of function execute() is actually a QVariantMapList wrapped in a QVariant. (QVariantMapList is a TypeDef to see). To get your result set, you must cast to a QVariantList, gives you your lines, then extracts the columns of the QVariant map. Lets say you want to get the value of an INTEGER column called 'my_int_col' in the first row of the result set. Do it like this:

    int myInt;
    QString query = "SELECT * FROM mytable;";
    
    QVariant result = this->db->execute( query );
    if ( !this->db->hasError() ) {
        myInt = result.value()[0].value()["my_int_col"].value();
    } else {
        DataAccessError err = this->db->error();
        qCritical() << "SQLite Error -" << query << "-" << err.errorMessage();
    }
    

    Note that you must climb the QVariant column obtained from QVariantMap ().valueint line. Obviously, the cast that make you must match the data type of the column that you collect. Access to the other lines in the game by changing the [0] properly. Find out how many rows were returned with result.value(). count().

  • Report error LabSQL SQL database

    Hi all, I want to ask about the error of LabSQL report, I made I followed machine 12-in-1 program to program, I did SQL database by LabSQL freeware

    in this case the database can function properly,

    Look on the date of database, he made 5 ranks (each plot 1 hour data), so it only 5 hour running program, the connection on LabSQL has an error like this report:

    What is the problem? Please explain to me what the problem is. help me fix my program, I'll set my program,

    on this case, I use only LabSQL because we have a lot of money to buy database connectivity kit, please help

    If you look at the description of the error, it is said there are "too many client tasks - how many SQL references that you opened earlier. You try to write to the database from several places by opening and closing the reference every time?

  • Is it possible to stop labview data hex autoconverting to a SQL database in ascii?

    Hi all

    I is currently working on a program that ask a SQL database for the data from the sensors and converts these data into a spreadsheet for future use.

    My problem is the following:
    I can access and read the data very well; However, the data I'm after are stored in the database as a hexadecimal number (example: "0 X 5727000...) ». When I pass this through this vi "DB Tools Fetch Item Data", he captures the data and the autoconverts it in ascii. It is a huge problem because the data contains several pieces of information and must be analyzed before his conversion in order to achieve the correct value (and wrong format in ascii).

    Is it possible to recover the data as a string containing only the hexagonal information? I already have the code that converts it to; I need as hexadecimal values and not ascii he tries to AutoFormat to.

    Your data are permanently binary.  And how it is stored in the database is a function of some program put in there.  It is not a case of LabVIEW doing any "autoconverting".

    "more labview uses the display format Hex to work more on television anyway.

    So the next question is what is the continuation of the work you want on these data?  There is a function call "String to Byte Array" that converts the characters in a table of U8.  So now, you have a table of numbers of U8.  What you then do with that depends on what all these data are supposed to represent.

  • Getting milliseconds of DATETIME SQL database Labview

    Hello

    I am trying to extract a timestamp of my MS SQL database and I don't get the milliseconds when I retrieve the data. Does anyone know how to program sql or labview, so I can get the timestamp set. In SQL, I set as datetime2. I'll appreciate any help. Thank you

    It seems that it is a TEEN driver problem, not specific to LabVIEW.  If you use the query

    SELECT Convert(varchar,Start_Test_Time,21) FROM Engine_Tests

    You can retrieve data in a string and convert it into a timestamp.

    You can also use

    SELECT DATEPART (msStart_Test_Time) FROM Engine_Tests

    to get just the part ms.  More information about DATEPART can be found here:

    http://msdn.Microsoft.com/en-us/library/ms174420 (SQL.90) .aspx

  • How can I transfer content from an XML file in a MS SQL database of the stored procedure using LabWindows/CVI SQL Toolkit?

    Hello

    I have a problem to transfer content to an XML file in a MS SQL database through a stored procedure data/fixed. I am able to transfer the content of the file using method...

    HSTMT = DBPrepareSQL (hdbc, EXEC usp_InsertReport " ... ");

    resCode = DBExecutePreparedSQL (hstmt);

    resCode = DBClosePreparedSQL (hstmt);

    ... but in this case, I am not able to read the return value of the stored procedure.

    I tried to follow the example of the stored procedure in the help documentation (DBPrepareSQL), but I miss a xml data type?

    No idea how to solve my problem?

    Cake of KR

    DianaS salvation,

    Thanks for your comments. During this time I found another way which fullfill my needs:

    resCode = DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_TEXT);

    sprintf (sz_SqlStatement, "DECLARE @TESTID INT EXEC @TESTID = usp_InsertReport ' SELECT 'RetVal' %s = @TESTID", sz_Buffer ");
    HSTMT = DBActivateSQL (hdbc, sz_SqlStatement);

    While ((resCode = DBFetchNext (hstmt)) == DB_SUCCESS)

    {

    / * Enter values in the record. */

    resCode = DBGetColInt (hstmt, 1, & s32_TestId);
    }

    resCode = DBDeactivateSQL (hstmt);

    sz_Buffer is the content of the XML file.

    Cake of KR

  • Administrator rights on the SQL database

    Hello
    I try to configure vFoglight 6.1 with an external SQL-database. To the point "vFoglight database Configuration" I have the problem, I have can´t to connect to the database. What I need to use an SQL account for the connection or is it possible to connect with windows authentication?

    vFoglight requires only access 'DBO' (the database owner). If you install vFoglight and select "configure DB later", it will create the necessary scripts to the installation of the database. Make sure that all scripts are run, then you can move the newspapers to any player. FYI: Make sure that the DB login ID and default database is set to the name of the database.

  • DIRT and what his role with the MS - SQL database

    I am setting up the procedure for the Bare Metal Restore for our Telco servers. And I wonder if the DIRT back up the MS - SQL databases.

    We have 4.0 (4) SR1 and use DIRT 1.0 Build 122

    Thank you

    Debbie

    Restoration of dirt requires that the unit (same saved version) is running before, it'll do a restore - as these UnityDB and ReportDb databases must be present - restoring pulling data out of the local DBs first before their replacement by the saved tables (without things like the name of the local server, which GC/DCs we are connected) configuration etc...). So no, it won't it create on the fly because the restore cannot function without a server in operation of the first unit. This isn't just a backup and restore, but also a type migration tool.

  • get list from a SQL database and create links to each lines in AS3

    I'm doing an AIR application with these conditions:

    I have a SQL database. In my table, there is a column 'categories' (with different categories (computer, books... etc.)).

    enter image description here

    In my AS3, I managed to recover "theDescription" when the user select a category. With the URLMethod and a php file.

       // create SQL $sql = "SELECT * FROM annonces where categorie = '$categorie'";

    $sql_result = mysql_query($sql, $connection) or die ("Couldn't execute query.");

    $num = mysql_numrows($sql_result); $phptheDescription = "";

    $counter = 0;

    while ($row = mysql_fetch_array($sql_result)) {

    $theDescription = $row["theDescription"];

    $phptheDescription = $theDescription;

    }

    echo  "phptheDescription=" . $theDescription;

    So my AS3 code retrieves the $phptheDescription since php and displays in a output_txt .

    Problem: in my output_txt , a 'theDescription"appears. But I have TWO Articles in the category 'Computers' (and I have 100 points in the same categories).

    How do I show all the "theDescription' that are in the same categories?

    Ex: If I choose "Computer", it should display "a Surface Pro 3" and "An IMAC". But it only shows the last element "IMAC".

    And, after that, it is possible to create "links" for each item posted?

    Here are 2 videos of short films (20 sec) explaining my problems:

    https://vid.me/DS2r

    http://sendvid.com/6iesrygk

    THX

    Hi-I've never used PHP so I could be wrong here - but it seems to me you're a loop in the records, each time as reset $theDescription to all that is in the current (rather than accumulate output) record. If you are effctively echo only the last record in the query.

    I think you should be either running the command echo inside your loop, or alternatively the concatenation of a string inside the loop and then echoing the end of the loop?

    I would be likely to generate XML data in PHP (just by concatenating strings) and then use it in my AS3 code.

  • vCenter 5.5 Database Migration

    Greetings,

    I anticipate the need to migrate my database to vCenter 5.5 to a 2012 of SQL Server to another. I saw the full documentation on SQL Express to SQL migration, but nothing for this particular case. Does anyone know of a document for this?

    Thank you

    Rick

    Take a look at this article: VMware KB: move the VMware vCenter Server 4.x/5.x SQL database

Maybe you are looking for