Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th December 2009, 16:33
CodeChris CodeChris is offline
Junior Member
 
Join Date: Aug 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default DRBD/HA/OpenFiler issue with 'service openfiler start'

I'm having an awful problem with what seams to be a very good guide

http://www.howtoforge.com/installing...d-heartbeat-p2

I have run through it, but I am stuck and trying to start the service openfiler, I have run through the guide, though I left out the configuration bit of NFS, iSCSI etc to keep it simple to start with but when I try to start openfiler I get an error. I can start drbd and heartbeat fine...

[root@offsan1 ~]# service openfiler start
Starting openfiler: grep: /opt/openfiler/etc/httpd/conf/httpd.conf: No such file or directory
/bin/bash: /opt/openfiler/sbin/openfiler: No such file or directory [FAILED]


[root@offsan1 ~]# service drbd status
drbd driver loaded OK; device status:
version: 8.2.7 (api:88/proto:86-88)
GIT-hash: 61b7f4c2fc34fe3d2acf7be6bcc1fc2684708a7d build by phil@fat-tyre, 2008-11-12 16:47:11
m:res cs st ds p mounted fstype
0:cluster_metadata Connected Primary/Secondary UpToDate/UpToDate C
1:vg0drbd Connected Primary/Secondary UpToDate/UpToDate C

[root@offsan1 ~]# service heartbeat status
heartbeat OK [pid 6764 et al] is running on offsan1.domain.com [offsan1.domain.com]...

This error appears the same on both nodes, so the GUI is down... Anyone had this before and know what might be wrong?

Many Thanks
Reply With Quote
Sponsored Links
  #2  
Old 1st February 2010, 13:56
padonker padonker is offline
Member
 
Join Date: Apr 2009
Posts: 30
Thanks: 2
Thanked 1 Time in 1 Post
Default

This howto doesnt work correctly with OF 2.3 and nobody responds to questions
Reply With Quote
  #3  
Old 9th February 2010, 17:05
spinracing spinracing is offline
Junior Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Heya,
Working with the exact same issue myself.


I had run through the howto previously, in its entirety, but the boxes I built do not have SCSI drives, they are SATA. I also had to copy the instructions and change out the sections for my own drives, as they didnt jive with the instructions. After going through the Samba, SCSI and FTP portions I realised I really didnt need them. Everything worrked properly until I made the last couple pages of changes. Then the whole thing wouldnt boot on either box.

After re-installing the works, and getting things up and running (Add 1 week of work.. Zeroing new drives bites.) Things were all perfectly fine until the last batch of configuration changes.

I skipped the SAMBA/NFS section, iSCSI, and FTP.

From there things got a little ugly.

The first issue I ran into was the /meta partition got renamed. And the system wouldnt boot. So I had to re-boot with a Unbuntu 9, external CD-Rom setup.. so I could go in and change the partition back to /meta.
After that on both boxes things were better, although I had to re-associate some of the "ln"s that were preventing things from working properly.

After a day of tweaking things to make sure all the files are in the directories they are supposed to be in, and re-creating links.. my primary box is up and running fine. I can connect to its web interface with no issues.

The second box however has the issue listed above. Openfiler service will not start.

Also I have not started searching out the answers yet but the re-mapped GUI interface for both boxes is not available yet. SO thats the next issue.


One of the things I found.. a lot of the links between files re-mapping them didnt take for some reason, or needed to be re-done. That has fixed some of the issues.

Also the primary box's drives keep losing primary status, as well as the secondary box keeps staying as secondary/secondary.

LOT of troubleshooting sofar. And not a plug and play install by any means.

Scott
Reply With Quote
  #4  
Old 31st May 2010, 17:36
howtoforgeisz howtoforgeisz is offline
Junior Member
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi,

I saw the problem you are having with the inability to start the openfiler service. I just recently installed OpenFiler following the same tutorial on this site and encountered the same error; however, I don't think it's really a problem, and perhaps maybe by design.

Is root@offsan1 your secondary node? If so, you won't be able to start the OpenFiler service. This is automatically started by Heartbeat after a failover has occurred.

For example, I am running both nodes in virtual machines, and after pausing my primary, the failover is initiated. On the secondary node, a message should be presented after the failover completes telling you "You have new mail in /var/spool/mail/root".

On the secondary node, drbd will look like this:
Code:
m:res               cs            ro               ds                 p  mounted            fstype
0:cluster_metadata  WFConnection  Primary/Unknown  UpToDate/DUnknown  C  /cluster_metadata  ext3
1:vg0drbd           WFConnection  Primary/Unknown  UpToDate/DUnknown  C
The httpd service does not apply, because I believe the OpenFiler service is acting as a web service. At this point running service openfiler status should return that the service is running, and you can access the node via the virtual IP you defined in the setup instructions. When you look at the Status page in the web UI, it should indicate that it is looking at your secondary node.

Finally, you can look at /opt/openfiler/etc/httpd/conf/httpd.conf, since now the file will exist.

I am a novice as well, but I hope this helps and represents accurate information.

Good luck!

Last edited by howtoforgeisz; 31st May 2010 at 17:39.
Reply With Quote
Reply

Bookmarks

Tags
drbd, heartbeat, high availability, openfiler

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monit & Munin SamTzu HOWTO-Related Questions 2 23rd September 2014 23:20
Monit on Debian Hans Tips/Tricks/Mods 2 6th October 2008 14:53
packet loss Chad Server Operation 2 12th June 2008 15:13
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 22:58
dns server error Hellbound General 7 2nd August 2007 10:18


All times are GMT +2. The time now is 15:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.