{"id":3148,"date":"2014-06-16T23:25:42","date_gmt":"2014-06-16T15:25:42","guid":{"rendered":"http:\/\/rmohan.com\/?p=3148"},"modified":"2014-06-16T23:29:05","modified_gmt":"2014-06-16T15:29:05","slug":"openfiler","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3148","title":{"rendered":"OpenFiler"},"content":{"rendered":"<p><strong>OpenFiler<\/strong><br \/>\nOpenfiler is a Linux based storage solution for SMBs. Openfiler is a file-based network-attached storage and block-based storage area network. Openfiler can run with minimal resources.<\/p>\n<p>By using Openfiler you can provide cost effective solutions for your storage needs, instead going for the Enterprise Storage Arrays. Openfiler supports both regular Operating Systems and Virtualization also.Below I will show how we can take the benefit of openfiler to make SAN\/NAS storage for our VMware ESX host.<br \/>\nThere are two types of openfiler installation. You can click on the installation link to see all details on how to help<br \/>\n1.Text Based Installation<br \/>\n2.Graphical Installation<br \/>\nNote:-Make sure you have not partitioned all the disk space. Make the OS partition to small size and keep rest as free space which later we will use as iSCSI LUN.<br \/>\nAt the time of installation or post installation you have to configure static IP address and necessary DNS configuration.<br \/>\nOnce your installation is done, after reboot you will get a screen like below where it will give the URL where you can access opnefiler from browser.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3149\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image1.jpg\" alt=\"image1\" width=\"599\" height=\"331\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image1.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image1-300x165.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image1-150x82.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image1-400x221.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Note:- Configure static IP address and necessary DNS configuration before doing anything<br \/>\nStep-1:Now open the URL given at openfiler startup screen using any browser to login to its web interface. For first time it will give a security warning like the picture shown below.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3150\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image2.jpg\" alt=\"image2\" width=\"599\" height=\"373\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image2.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image2-300x186.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image2-150x93.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image2-400x249.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>You just need to ignore the warning and proceed to the login page.<br \/>\nYou will get a login screen like given below<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3151\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image3.jpg\" alt=\"image3\" width=\"599\" height=\"387\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image3.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image3-300x193.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image3-150x96.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image3-400x258.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Note:-Don\u2019t login using the root user credentials what you have provided during openfiler installation.<br \/>\nDefault username openfiler<br \/>\nDefault Password:-password<br \/>\nOnce after successful login you will get a screen which will be containing all your openfiler server information<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3152\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image4.jpg\" alt=\"image4\" width=\"599\" height=\"322\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image4.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image4-300x161.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image4-150x80.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image4-400x215.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Step-2:Go to volumes tab.If you are opening this for first time you will get a screen like below.<br \/>\n<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3153\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image5.jpg\" alt=\"image5\" width=\"599\" height=\"389\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image5.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image5-300x194.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image5-150x97.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image5-400x259.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><br \/>\nYou have to select create new volume group. Then you will get a screen like below.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3154\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image6.jpg\" alt=\"image6\" width=\"599\" height=\"389\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image6.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image6-300x194.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image6-150x97.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image6-400x259.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Step-3:Click on disk name (Here in my case its \/dev\/sdb) under Edit Disk which contains the free space we are going to use iSCSI storage. Now you will get a screen where you can make your physical volume.<br \/>\n<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3155\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image7.jpg\" alt=\"image7\" width=\"599\" height=\"354\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image7.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image7-300x177.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image7-150x88.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image7-400x236.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>From Partition Type dropdown menu select Physical volume and click Create.It will create a physical volume.<br \/>\nStep-4:Now click on Volume Groups on the right hand side. You will be presented a window like below.<br \/>\n<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3156\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image8.jpg\" alt=\"image8\" width=\"599\" height=\"348\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image8.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image8-300x174.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image8-150x87.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image8-400x232.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Here give some valid name for the volume group and select the physical volumes shown in the list in order to add to the volume group. Then click on Add volume group.<br \/>\nOnce volume group creation finishes you can see the volume group listed under volumes tab<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3157\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image9.jpg\" alt=\"image9\" width=\"599\" height=\"322\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image9.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image9-300x161.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image9-150x80.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image9-400x215.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Step-5:Now volume group creation is done,So we have to configure LUN(Logical Unit Number).To do this click on Add Volume.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3158\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image10.jpg\" alt=\"image10\" width=\"599\" height=\"322\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image10.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image10-300x161.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image10-150x80.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image10-400x215.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Here give some volume name and slide the slider to allocate space to LUN.Choose Filesystemtype as iSCSI and click on create.<br \/>\nStep-6:Next action is to enable iSCSI service. For this open Services tab. You will find there are some service listed and have option to disable\/enable the services. From here you have to enable iSCSI target server Service.it will be disabled by default<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3159\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image11.jpg\" alt=\"image11\" width=\"599\" height=\"338\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image11.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image11-300x169.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image11-150x84.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image11-400x225.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Step-7:Once iSCSI is enabled we need to share the volume to specific IP\/Networks. To do this open System tab and on bottom you will find Network Access Configuration. Here provide the details of the ESX\/ESXi server information and click on update<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3160\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image12.jpg\" alt=\"image12\" width=\"599\" height=\"328\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image12.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image12-300x164.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image12-150x82.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image12-400x219.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Note:-Sometimes in Network Access Configuration if you will allow only host then the iSCSI volume may not be shown in storage volumes under vSphere client.To overcome this allow the whole network as shown in the second rule in Network Access Configuration.<br \/>\nStep-8:Now you need to configure the iSCSI target and allow for the host.To do this gotoVolumes tab.On right hand side you will find iSCSI Targets.From there goto Target Configuration as shown in figure below.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image13.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3161\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image13.jpg\" alt=\"image13\" width=\"599\" height=\"335\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image13.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image13-300x167.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image13-150x83.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image13-400x223.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>You will see some long name under Target IQN.This is going to be your iSCSI target name.Click on Add to add the target.<br \/>\nStep-9:Then go to LUN Mapping and click on Map to map the LUN to the iSCSI target.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image14.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3162\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image14.jpg\" alt=\"image14\" width=\"599\" height=\"335\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image14.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image14-300x167.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image14-150x83.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image14-400x223.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Step-10:Next goto Network ACL on the same page.You will see the list of network\/hostname present here are similar to what you gave in Network Access Configuration before and all will be deny by default.You have to allow them and click onUpdate.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image15.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3163\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image15.jpg\" alt=\"image15\" width=\"597\" height=\"184\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image15.jpg 597w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image15-300x92.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image15-150x46.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image15-400x123.jpg 400w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image16.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3164\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image16.jpg\" alt=\"image16\" width=\"599\" height=\"268\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image16.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image16-300x134.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image16-150x67.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image16-400x178.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image17.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3165\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/image17.jpg\" alt=\"image17\" width=\"599\" height=\"236\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image17.jpg 599w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image17-300x118.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image17-150x59.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/image17-400x157.jpg 400w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenFiler Openfiler is a Linux based storage solution for SMBs. Openfiler is a file-based network-attached storage and block-based storage area network. Openfiler can run with minimal resources.<\/p>\n<p>By using Openfiler you can provide cost effective solutions for your storage needs, instead going for the Enterprise Storage Arrays. Openfiler supports both regular Operating Systems and Virtualization [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3148"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3148"}],"version-history":[{"count":4,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3148\/revisions"}],"predecessor-version":[{"id":3169,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3148\/revisions\/3169"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}