{"id":1709,"date":"2014-05-29T20:00:32","date_gmt":"2014-05-29T18:00:32","guid":{"rendered":"http:\/\/www.oradba.ch\/?p=1709"},"modified":"2014-06-10T12:41:35","modified_gmt":"2014-06-10T10:41:35","slug":"avdf-installation-fails-on-hp-server-with-smart-array-disk-controller","status":"publish","type":"post","link":"https:\/\/www.oradba.ch\/wordpress\/2014\/05\/avdf-installation-fails-on-hp-server-with-smart-array-disk-controller\/","title":{"rendered":"AVDF installation fails on HP server with Smart Array Disk Controller"},"content":{"rendered":"<p>I&#8217;ve successfully set up a couple of AVDF installation on different VM Server as well on HP Blade or Rack servers. On the VM server I never had any problems. For the installation of AVDF 12.1.1.x on HP servers <em>BL465c Gen8<\/em> or <em>DL380p Gen8<\/em>, there were always warnings during partitioning of the disks. So far it was never an issue to just continue the installation. With AVDF 12.1.2 this has changed. On some HP servers with smart array disk controller the installation fails because of problems with the drivers respectively device names.<\/p>\n<p>Earlier installation of AVDF like 12.1.1.3.0 simply complained about not enough space.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.1.3.0_setup02.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1723\" src=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.1.3.0_setup02.png?resize=300%2C168&#038;ssl=1\" alt=\"AVDF_12.1.1.3.0_setup02\" width=\"300\" height=\"168\" srcset=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.1.3.0_setup02.png?resize=300%2C168&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.1.3.0_setup02.png?resize=624%2C350&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.1.3.0_setup02.png?w=980&amp;ssl=1 980w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>OK, 0GB is a bit less for setting up an AVDF Server :-), nevertheless ignoring the error still worked. AVDF 12.1.1.2 as well AVDF 12.1.1.3 could be successfully setup using the cciss Driver for HP Smart Array. As of AVDF 12.1.2 the error is not that friendly any more.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup02.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1727\" src=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup02.png?resize=300%2C169&#038;ssl=1\" alt=\"AVDF_12.1.2.0.0_setup02\" width=\"300\" height=\"169\" srcset=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup02.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup02.png?resize=624%2C353&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup02.png?w=980&amp;ssl=1 980w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The title of the error <em>&#8220;Error Parsing Kickstart Config&#8221;<\/em> indicates that there is an issue at an early stage of the system setup. It is worth having a deeper look into the kickstart configuration file. The kickstart file can be found in the initrd.img image on the AVDF installation ISO. See <a title=\"AVDF installation ISO\" href=\"https:\/\/www.oradba.ch\/wordpress\/2014\/05\/avdf-installation-iso\/\">AVDF installation ISO<\/a> for how to extract the kickstart file.<\/p>\n<p>In the kickstart file we can see at line 62, that a pre-script is executed to create the partition commands. This pre-script is a python script which does create a temporary file (<em>\/tmp\/partition-include<\/em>) with the partition commands based on the available disks. The partition command itself is then included at line 36.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-lineoffset=\"35\" data-enlighter-highlight=\"2\" data-enlighter-linenumbers=\"on\">\r\n########## Partition the disk ##############\r\n%include \/tmp\/partition-include\r\n\r\n# Create logical volume group - this is where all volumes will reside\r\nvolgroup vg_root pv.01\r\n# Now create the volumes, a.k.a logical partitions. The data partions (\/var\/lib\/oracle) is grown\r\n# up to the specified size. The rest of the FS is left unallocated.\r\n#\r\n# You must make changes to ruby_lib\/dbfw\/dbfw_fstab.rb if you change the FS specification.\r\n#\r\nlogvol swap --fstype swap --vgname=vg_root --size=4096 --name=lv_swap\r\nlogvol \/ --fstype ext3 --fsoptions=&quot;noatime&quot; --vgname=vg_root --size=7000 --name=lv_root\r\nlogvol \/images --fstype ext3 --fsoptions=&quot;noexec,nodev,nosuid,noatime&quot; --vgname=vg_root --size=15000 --name=lv_images\r\nlogvol \/usr\/local\/dbfw --fstype ext3 --fsoptions=&quot;noatime&quot; --vgname=vg_root --size=1000 --name=lv_local_dbfw\r\nlogvol \/usr\/local\/dbfw\/tmp --fstype ext3 --fsoptions=&quot;noexec,nodev,nosuid,noatime&quot; --vgname=vg_root --size=9000 --name=lv_local_dbfw_tmp\r\nlogvol \/home --fstype ext3 --fsoptions=&quot;noexec,nodev,nosuid,noatime&quot; --vgname=vg_root --size=1000 --name=lv_home\r\nlogvol \/tmp --fstype ext3 --fsoptions=&quot;nodev,nosuid,noatime&quot; --vgname=vg_root --size=2000 --name=lv_tmp\r\nlogvol \/var\/log --fstype ext3 --fsoptions=&quot;noexec,nodev,nosuid,noatime&quot; --vgname=vg_root --size=6000 --name=lv_var_log\r\nlogvol \/var\/tmp --fstype ext3 --fsoptions=&quot;noexec,nodev,nosuid,noatime&quot; --vgname=vg_root --size=6000 --name=lv_var_tmp\r\nlogvol \/var\/www --fstype ext3 --fsoptions=&quot;nodev,nosuid,noatime&quot; --vgname=vg_root --size=1000 --name=lv_var_www\r\nlogvol \/var\/www\/tmp --fstype ext3 --fsoptions=&quot;nodev,nosuid,noatime&quot; --vgname=vg_root --size=1000 --name=lv_var_www_tmp\r\nlogvol \/var\/lib\/oracle --fstype ext3 --fsoptions=&quot;noatime&quot; --vgname=vg_root --size=20000 --name=lv_oracle\r\nlogvol \/var\/dbfw --fstype ext3 --fsoptions=&quot;noatime&quot; --vgname=vg_root --size=10000 --name=lv_var_dbfw\r\n\r\n# Tasks performed before installation\r\n%pre\r\n\r\npython \/kickstart\/partitions.py 2&gt; \/tmp\/partitions_error\r\nif [ $? -ne 0 ]; then\r\nDISKERROR=$(\/bin\/cat \/tmp\/partitions_error)\r\nfi<\/pre>\n<p>Having a look into the file <em>\/tmp\/partition-include<\/em> reveals the wrong partition command which leads to the error mentioned earlier. As you can see below the disks are specified with <em>&#8211;ondisk=cciss!c0d0<\/em> rather than <em>&#8211;ondisk=cciss\/c0d0<\/em>. The python script which builds the partition commands, has issues with the device names. Actually, for an HP smart array disk, the corresponding driver should be loaded so that the devices are visible as sd*. The root cause could be the missing driver or an error in the python script. I&#8217;ve opened a service request with oracle Support for further analysis.<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup04.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1729\" src=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup04.png?resize=300%2C168&#038;ssl=1\" alt=\"AVDF_12.1.2.0.0_setup04\" width=\"300\" height=\"168\" srcset=\"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup04.png?resize=300%2C168&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup04.png?resize=624%2C350&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup04.png?w=980&amp;ssl=1 980w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>Workarounds<\/h3>\n<p>For the moment I just see the following two workarounds.<\/p>\n<ul>\n<li>First install and configure AVDF 12.1.1.3 and perform an upgrade to AVDF 12.1.2.<\/li>\n<li>Install AVDF 12.1.2 with an alternative kickstart file respectively partition commands<\/li>\n<\/ul>\n<p>The first workaround is straightforward. It just takes a bit more time. For the second workaround you may create a new AVDF ISO image, but this is way to complex. It is much simpler to manually specify the boot options and provide an alternative kickstart file on an internal web server. The kickstart file is the same as for the regular AVDF 12.1.2 installation, it just has a fixed partition section. For that I have taken the partitioning commands from the file <em>\/tmp\/partition-include<\/em> and removed the <em>&#8211;ondisk<\/em> parameter. I&#8217;ll provide my kickstart file  as an example for download. But do not use it directly the partitioning section must be adapted to your environment.<br \/>\nAction plan for the workaround:<\/p>\n<ol>\n<li>Create an alternative kickstart file with correct partition commands for your environment<\/li>\n<li>Put the kickstart file on a Webserver which is accessible by the AVDF Server<\/li>\n<li>Boot from AVDF 12.1.2 ISO image with custom boot parameter<\/li>\n<\/ol>\n<p>My custom boot option did look like the following command. The IP address is the address of my web server.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\nvmlinuz noipv6 initrd=initrd.img ramdisk_size=8192 ks=http:\/\/192.128.1.40\/avdf.cfg\r\n<\/pre>\n<h3>Conclusion<\/h3>\n<p>This problem is quite annoying, especially if you have already done the installation on another physical or virtual servers several times. The workaround is basically simple. With a bit enhanced Linux knowledge and a web server, one has quickly created an installation with an alternative kickstart file. Nevertheless I highly recommend to open a service request with Oracle when you have similar issues with your hardware during the setup of a productive AVDF 12.1.2 environment.<\/p>\n<h3>References<\/h3>\n<p>Further information on this topic.<\/p>\n<ul>\n<li>AVDF 12.1.1 Installation Fails On HP server with Smart Array Disk Controller [<em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=1448147.1\" target=\"_blank\">1587742.1<\/a><\/em>]<\/li>\n<li>Unable To Install AVDF Server With HP Smart Array [<em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=1680134.1\" target=\"_blank\">1680134.1<\/a><\/em>]<\/li>\n<li><a title=\"AVDF installation ISO\" href=\"https:\/\/www.oradba.ch\/wordpress\/2014\/05\/avdf-installation-iso\/\">AVDF installation ISO<\/a><\/li>\n<li>Example Kickstart file  . <\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve successfully set up a couple of AVDF installation on different VM Server as well on HP Blade or Rack servers. On the VM server I never had any problems. For the installation of AVDF 12.1.1.x on HP servers BL465c Gen8 or DL380p Gen8, there were always warnings during partitioning of the disks. So far [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"AVDF installation fails on HP server with Smart Array Disk Controller http:\/\/wp.me\/p1aErb-rz #AVDF #Oracle #Trivadis","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[85,88,73,11],"tags":[141,111],"class_list":["post-1709","post","type-post","status-publish","format-standard","hentry","category-audit-vault-and-database-firewall","category-avdf","category-linux-2","category-security","tag-avdf","tag-tvdsecexpert"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1aErb-rz","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1781,"url":"https:\/\/www.oradba.ch\/wordpress\/2014\/06\/update-avdf-installation-fails-on-hp-server-with-smart-array\/","url_meta":{"origin":1709,"position":0},"title":"Update: AVDF installation fails on HP server with Smart Array","author":"Stefan","date":"10. June 2014","format":false,"excerpt":"A couple of days ago I've wrote about some problems when installing Oracle Audit Vault and Database Firewall 12.1.2 on HP server with Smart Array Disk Controller. The problem is still not resolved, but in the meantime Oracle has open a Bug and added some Metalink Notes related to this\u2026","rel":"","context":"In &quot;Audit Vault and Database Firewall&quot;","block_context":{"text":"Audit Vault and Database Firewall","link":"https:\/\/www.oradba.ch\/wordpress\/category\/audit\/audit-vault-and-database-firewall\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1736,"url":"https:\/\/www.oradba.ch\/wordpress\/2014\/05\/avdf-installation-iso\/","url_meta":{"origin":1709,"position":1},"title":"AVDF installation ISO","author":"Stefan","date":"29. May 2014","format":false,"excerpt":"Due to some problems during the installation of Oracle Audit Vault and Database Firewall 12.1.2 (see AVDF installation fails on HP server with Smart Array Disk Controller), I've looked at the AVDF ISO image and its kickstart setup. AVDF 12.1.2 is based on Oracle Enterprise Linux 5.9. To setup or\u2026","rel":"","context":"In &quot;Audit Vault and Database Firewall&quot;","block_context":{"text":"Audit Vault and Database Firewall","link":"https:\/\/www.oradba.ch\/wordpress\/category\/audit\/audit-vault-and-database-firewall\/"},"img":{"alt_text":"AVDF_12.1.2.0.0_setup01","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/AVDF_12.1.2.0.0_setup01-300x227.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1862,"url":"https:\/\/www.oradba.ch\/wordpress\/2014\/08\/release-of-audit-vault-and-database-firewall-12-1-2-bundle-patch-2\/","url_meta":{"origin":1709,"position":2},"title":"Release of Audit Vault and Database Firewall 12.1.2 Bundle Patch 2","author":"Stefan","date":"4. August 2014","format":false,"excerpt":"End of last week, Oracle has released the second Bundle Patch for Audit Vault and Database Firewall 12.1.2. I've missed the release due to public holiday here in Switzerland. :-) The patch can be downloaded as usual on Oracle Metalink as Patchset 19190265 for existing installations or on Oracle eDelivery\u2026","rel":"","context":"In &quot;Audit Vault&quot;","block_context":{"text":"Audit Vault","link":"https:\/\/www.oradba.ch\/wordpress\/category\/audit\/audit-vault\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2057,"url":"https:\/\/www.oradba.ch\/wordpress\/2015\/11\/release-of-audit-vault-and-database-firewall-12-1-2-bundle-patch-7\/","url_meta":{"origin":1709,"position":3},"title":"Release of Audit Vault and Database Firewall 12.1.2 Bundle Patch 7","author":"Stefan","date":"9. November 2015","format":false,"excerpt":"Today Oracle released the new Bundle Patch for Audit Vault and Database Firewall 12.1.2. The patch can be downloaded as usual on Oracle Metalink as Patchset 21920205 for existing installations. The full installation image for new installations is not yet available on Oracle eDelivery. I guess this will follow in\u2026","rel":"","context":"In &quot;Audit Vault and Database Firewall&quot;","block_context":{"text":"Audit Vault and Database Firewall","link":"https:\/\/www.oradba.ch\/wordpress\/category\/audit\/audit-vault-and-database-firewall\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2069,"url":"https:\/\/www.oradba.ch\/wordpress\/2015\/12\/audit-vault-and-database-firewall-12-2\/","url_meta":{"origin":1709,"position":4},"title":"Audit Vault and Database Firewall 12.2","author":"Stefan","date":"22. December 2015","format":false,"excerpt":"Oracle has just released a new major Release of its Oracle Audit Vault and Database Firewall. The new release is immediately available on Oracle's Software Delivery Cloud. But the OTN website have not been updated. Beside the upgrade of the OS and embedded Oracle Database to 12.1.0.2, Oracle added a\u2026","rel":"","context":"In &quot;Audit Vault and Database Firewall&quot;","block_context":{"text":"Audit Vault and Database Firewall","link":"https:\/\/www.oradba.ch\/wordpress\/category\/audit\/audit-vault-and-database-firewall\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1690,"url":"https:\/\/www.oradba.ch\/wordpress\/2014\/05\/audit-vault-and-database-firewall-12-1-2\/","url_meta":{"origin":1709,"position":5},"title":"Audit Vault and Database Firewall 12.1.2","author":"Stefan","date":"7. May 2014","format":false,"excerpt":"Oracle has just released a new Release of its Oracle Audit Vault and Database Firewall. The new release is immediately available on Oracle's Software Delivery Cloud. It look's like Oracle added a bunch of Enterprise-Grade Features like iSCSI SAN Disk, NFS Storage as well as SYSLOG integration. Starting with this\u2026","rel":"","context":"In &quot;Audit Vault and Database Firewall&quot;","block_context":{"text":"Audit Vault and Database Firewall","link":"https:\/\/www.oradba.ch\/wordpress\/category\/audit\/audit-vault-and-database-firewall\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/1709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/comments?post=1709"}],"version-history":[{"count":31,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/1709\/revisions"}],"predecessor-version":[{"id":1774,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/1709\/revisions\/1774"}],"wp:attachment":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/media?parent=1709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/categories?post=1709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/tags?post=1709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}