{"id":28,"date":"2012-03-03T09:53:37","date_gmt":"2012-03-03T08:53:37","guid":{"rendered":"http:\/\/www.pmsapp.org\/?page_id=28"},"modified":"2013-03-22T12:09:00","modified_gmt":"2013-03-22T11:09:00","slug":"guide","status":"publish","type":"page","link":"https:\/\/mail-e.dk\/pmsapp.org\/?page_id=28","title":{"rendered":"Guide"},"content":{"rendered":"<p>Before starting your appliance for the first time, add a second harddrive that you will use to export the local storage.<br \/>\nI have added the example configuration files to the OVA, you can find them in \/root\/pmsapp\/examples<br \/>\nThere are also some extra scripts that might ease the configuration.<br \/>\nYou can find them in \/root\/pmsapp\/scripts<br \/>\nSee explanation for the scripts at the bottom of this page.<\/p>\n<p>Follow the steps below to configure your appliance.<\/p>\n<ul>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#initconf\">Initial Configuration<\/a><\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#targetconf\">iSCSI target configuration<\/a><\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#initiatorconf\">iSCSI initiator configuration<\/a>\u00a0&#8211; Skip the iscsid.conf part<\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#raidconf\">Software RAID configuration<\/a><\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#storconc\">Storage Conclusion<\/a><\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#initcluconf\">Initial Cluster Configuration<\/a><\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#resource\">Adding Resources<\/a><\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#fencing\">Fencing<\/a>\u00a0&#8211; \/usr\/sbin\/fence_disable is allready there<\/li>\n<li><a href=\"http:\/\/mail-e.dk\/pmsapp.org\/?page_id=10#storres\">Storage Resource<\/a>\u00a0&#8211; \/etc\/init.d\/swraid is allready there<\/li>\n<\/ul>\n<p>Script explanation:<\/p>\n<ul>\n<li><strong>clustersvcon.sh<\/strong><br \/>\nEnsure that cluster services are started during boot and generate password for the ricci user.<\/li>\n<li><strong>clustersvcstart.sh<\/strong><br \/>\nStart the cluster services &#8211; cman, rgmanager, modclusterd and ricci.<\/li>\n<li><strong>create3diskraid5.sh<\/strong><br \/>\nCreate \/dev\/md0 as a raid 5 with 3 members.<br \/>\nArguments: The 3 devices that should be members of the RAID set.<br \/>\nExample: .\/create3diskraid5.sh \/dev\/sdb \/dev\/sdc \/dev\/sdd.<\/li>\n<li><strong>createmirror.sh<\/strong><br \/>\nCreate \/dev\/md0 as a mirror (raid 1) with 2 members.<br \/>\nArguments: The 2 devices that should be members of the RAID set.<br \/>\nExample: .\/createmirror.sh \/dev\/sdb \/dev\/sdc.<\/li>\n<li><strong>generateraidconf.sh<\/strong><br \/>\nGenerate \/etc\/mdadm.conf from a running raid array.<\/li>\n<li><strong>iscsidiscover.sh<\/strong><br \/>\nDiscover an iSCSI target.<br \/>\nArguments: Name or IP of the system that should be discovered.<br \/>\nExample: .\/iscsidiscover.sh 172.16.0.21<\/li>\n<li><strong>iscsilogin.sh<\/strong><br \/>\nLogin to an iSCSI target.<br \/>\nArguments: Target name and name or IP of the target system.<br \/>\nExample: .\/iscsilogin.sh iqn.2012-03.org.pmsapp:pmsapp1.disk 172.16.0.21<\/li>\n<li><strong>showdisks.sh<\/strong><br \/>\nShow disk devices present in the system.<\/li>\n<\/ul>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li><a href=\"#\" class=\"sharing-anchor sd-button share-more\"><span>Share<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><div class=\"sharing-hidden\"><div class=\"inner\" style=\"display: none;\"><ul><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-28\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/mail-e.dk\/pmsapp.org\/?page_id=28&amp;share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-28\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/mail-e.dk\/pmsapp.org\/?page_id=28&amp;share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-end\"><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Before starting your appliance for the first time, add a second harddrive that you will use to export the local storage. I have added the example configuration files to the OVA, you can find them in \/root\/pmsapp\/examples There are also &hellip; <a href=\"https:\/\/mail-e.dk\/pmsapp.org\/?page_id=28\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li><a href=\"#\" class=\"sharing-anchor sd-button share-more\"><span>Share<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><div class=\"sharing-hidden\"><div class=\"inner\" style=\"display: none;\"><ul><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-28\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/mail-e.dk\/pmsapp.org\/?page_id=28&amp;share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-28\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/mail-e.dk\/pmsapp.org\/?page_id=28&amp;share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-end\"><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"spay_email":""},"jetpack_shortlink":"https:\/\/wp.me\/P2gkts-s","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/pages\/28"}],"collection":[{"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":6,"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions\/42"}],"up":[{"embeddable":true,"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/mail-e.dk\/pmsapp.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}