{"id":95,"date":"2016-06-08T11:14:27","date_gmt":"2016-06-08T11:14:27","guid":{"rendered":"http:\/\/www.enhisecure.com\/isecureblog\/?p=95"},"modified":"2016-07-14T19:41:35","modified_gmt":"2016-07-14T15:11:35","slug":"identityiq-migration-from-mysql-to-oracle-database","status":"publish","type":"post","link":"https:\/\/www.enhisecure.com\/isecureblog\/2016\/06\/08\/identityiq-migration-from-mysql-to-oracle-database\/","title":{"rendered":"IdentityIQ Migration from MySQL to Oracle database"},"content":{"rendered":"<p><a href=\"https:\/\/www.sailpoint.com\/\">Sailpoint&#8217;s<\/a> <a href=\"https:\/\/www.sailpoint.com\/products\/identityiq\/\">IdentityIQ<\/a>\u00a0migration from O<a href=\"http:\/\/www.oracle.com\/technetwork\/database\/database-technologies\/express-edition\/overview\/index.html\">racle Database<\/a> to <a href=\"https:\/\/www.mysql.com\/\">MySQL<\/a> could probably cause a problem with \u00a0work items, event logs, identity requests. Creation of work items, event logs, identity requests fail with the following error :<\/p>\n<p><a href=\"https:\/\/docs.oracle.com\/cd\/B10501_01\/server.920\/a96525\/e2100.htm\">&#8220;unable to find the sequence&#8221;<\/a><\/p>\n<p>The problem was caused because of migration to the <a href=\"http:\/\/www.oracle.com\/technetwork\/database\/database-technologies\/express-edition\/overview\/index.html\">Oracle database<\/a>. <a href=\"https:\/\/www.sailpoint.com\/\">Sailpoint&#8217;s<\/a> <a href=\"https:\/\/www.sailpoint.com\/products\/identityiq\/\">IdentityIQ<\/a> sql script for <a href=\"https:\/\/www.mysql.com\/\">MySQL<\/a>\u00a0in\u00a0<a href=\"https:\/\/www.sailpoint.com\/products\/identityiq\/\">IdentityIQ<\/a> creates these sequences as tables and the same is translated into the\u00a0O<a href=\"http:\/\/www.oracle.com\/technetwork\/database\/database-technologies\/express-edition\/overview\/index.html\">racle database<\/a>.<\/p>\n<p>Here is how you solve the problem:-<\/p>\n<p><a href=\"https:\/\/www.sailpoint.com\/products\/identityiq\/\">IdentityIQ<\/a> has 3 sequences in all.<\/p>\n<ol>\n<li>identityiq.spt_syslog_event_sequence.<\/li>\n<li>identityiq.spt_identity_request_sequence.<\/li>\n<li>identityiq.spt_work_item_sequence.<\/li>\n<\/ol>\n<p>We can find the current values of these sequences by the following \u00a0queries on your new <a href=\"http:\/\/www.oracle.com\/technetwork\/database\/database-technologies\/express-edition\/overview\/index.html\">Oracle Database<\/a>:<\/p>\n<pre style=\"padding-left: 30px\">select * from spt_syslog_event_sequence\r\n\r\nselect * from spt_identity_request_sequence\r\n\r\nselect * from spt_work_item_sequence<\/pre>\n<p>Drop all these tables by the following queries:<\/p>\n<pre style=\"padding-left: 30px\">drop table spt_syslog_event_sequence;\r\n\r\ndrop table spt_identity_request_sequence;\r\n\r\ndrop table spt_work_item_sequence;<\/pre>\n<p>Create the required sequences by the following queries:<\/p>\n<pre style=\"padding-left: 30px\">create sequence identityiq.spt_syslog_event_sequence start with &lt;current_sequence_value&gt; increment by 1 nocache;\r\n\r\ncreate sequence identityiq.spt_identity_request_sequence start with &lt;current_sequence_value&gt; increment by 1 nocache;\r\n\r\ncreate sequence identityiq.spt_work_item_sequence start with &lt;current_sequence_value&gt; increment by 1 nocache;<\/pre>\n<p>Now that we have the sequences in place , creation of event logs, \u00a0work items, identity requests will be working fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sailpoint&#8217;s IdentityIQ\u00a0migration from Oracle Database to MySQL could probably cause a problem with \u00a0work items, event logs, identity requests. Creation of work items, event logs, identity requests fail with the following error : &#8220;unable to find the sequence&#8221; The problem was caused because of migration to the Oracle database. Sailpoint&#8217;s IdentityIQ sql script for MySQL\u00a0in\u00a0IdentityIQ [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,15,14],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-identity-governance","category-implementation-problems","category-sailpoint"],"_links":{"self":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":8,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/95\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}