Upgrading to Cluster

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Upgrading to Cluster

Postby Kinghtflyer » Tue Dec 03, 2013 1:48 pm

Single Server Vicibox 3.04 From 64bit-Preload.iso VERSION: 2.8-403a BUILD:1305101350 : Asterisk 1.4.44-vici : NO Digium HArdware : Single Server
AMD 8-CORE 4Ghz 16GigRAM : MSI 3070 Mboard : 3-2TB SATA Drives : Disabled RAID : No extra software :

I am going to configure a combo database/web server and a stand alone telephony server.

Right now all 6months of recordings are located in /var/spool/asterisk/monitorDONE/MP3 (NOT GOOD)

After I install StandardISO for database,webserver, and telephony do I need to restore these files and where do I restore them to? Can the archive server point to any suitable ftp server? I understand that will subdivide the recordings by month/day/year. Will the script still move/subdivide this mess?


Last Sept ViciSchool training might of covered this. But my notes are lacking. perhaps you can answer easily
Kinghtflyer
 
Posts: 69
Joined: Wed Sep 19, 2012 12:10 pm

Re: Upgrading to Cluster

Postby williamconley » Wed Dec 04, 2013 12:31 am

Moving the files to an archive server is simple. The crontab -e entry that is presently disabled for ftp'ing the audio files gets activated after you put ftp credentials in astguiclient.conf.

That script will then grab the files and push them to the archive ftp server and create a folder for each day while doing so. It will also modify the URL for each recording.

Be sure you test run the script with a single recording before you "let it run" on all of them.

Pay particular attention to the html link to each audio file to be sure your Vicidial system will link to them at their new home.

If you do this before moving the server to a new IP, the links will survive the move and not need changing (assuming you do not also move the archive server after putting the audio files in it!).

the Audio Archive server does not require any Vicidial functionality at all. Just FTP and Web. But Kumba's Vicibox install .isos can make it easy to build one, and it CAN be another member of the cluster (useful).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Upgrading to Cluster

Postby geoff3dmg » Wed Dec 04, 2013 5:55 am

You can also move them manually (flash drive or whatever) if you have a lot and/or a slow network. The use '/usr/share/astguiclient/ADMIN_update_archive_url.pl' to update the recordings urls.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: Upgrading to Cluster

Postby Kinghtflyer » Wed Dec 04, 2013 12:04 pm

Question1 - What are the default vsftp login credentials?
Question2 - I want to run the move ftp recording script but with only one recording as recommended, but I have no idea of what the command line would look like would it be possible to show an example?

Thanks
Kinghtflyer
 
Posts: 69
Joined: Wed Sep 19, 2012 12:10 pm

Re: Upgrading to Cluster

Postby williamconley » Wed Dec 04, 2013 1:08 pm

Kinghtflyer wrote:Question1 - What are the default vsftp login credentials?

check the manual on vicibox.com for setting up the archive server, it should have them. if not, you can always make your own by creating a user with "ftp" as the only Group on that server. Generally this sort of thing is handled best by creating it by the book. Work out special setups later. Note that this ftp server can be anywhere on any system, it need not be in vicidial directly.
Kinghtflyer wrote:Question2 - I want to run the move ftp recording script but with only one recording as recommended, but I have no idea of what the command line would look like would it be possible to show an example?

Any perl script in Vicidial (those ending in ".pl") can be executed with "--help" as an option and it will show you all the options without actually doing anything. Also worthy of note, this particular script will "collect" 1000 filenames before it begins to do anything ... so even if you accidentally fire it up you can ctrl-c to kill it before anything actually happens. Execute with --debugX as one of the switches to see what is happening.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Upgrading to Cluster MORE Woes

Postby Kinghtflyer » Wed Dec 04, 2013 4:26 pm

Trying to create the first DBserver in a cluster.

Dell Poweredge 2850 2 2.8Ghz DualCores 4 GIG RAM Hardware
3 70Gig Seagates ST373453LC Perc Raid Array
ViciBox5.x86_64-5.0.3.iso

After os-install when rebooting trying manual resume from /dev/sda1 not found
/dev/root not found

I zeroed the drive twice same results.
I can mount /dev/sda1 /mnt from the live cd and look at the OS.
Kinghtflyer
 
Posts: 69
Joined: Wed Sep 19, 2012 12:10 pm

Re: Upgrading to Cluster

Postby williamconley » Wed Dec 04, 2013 6:19 pm

Turn off the RAID and try again with a simple disk. Note that if the drivers are not available that will work with OpenSuSE on 5.0.3 Vicibox ... then this will require some finagling or a downgrade of the server or Drive I/O card to one with drivers available.

Or consider deleting all partitions with a different .iso suited to that purpose (not the one you just used ... since that did not work ...).

http://www.eflo.net/VICIDIALforum/viewt ... 760#p86110

1) RAID 5 is a no-no (use RAID 10 or NO raid)
2) LSI MegaRAID is recommended

We've never had a problem but do not have anyone using PERC with over 150 users.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Upgrading to Cluster

Postby Kinghtflyer » Thu Dec 05, 2013 8:29 am

Since SUSE won't support the PERC/DELL raid array and I want to move the database server from the telephony server,
is there any reason why I can't move the DB to a LINUX/flavor that will jump on the Perc/Dell array?
Or does vicidial have to be resident on the database machine?
Kinghtflyer
 
Posts: 69
Joined: Wed Sep 19, 2012 12:10 pm

Re: Upgrading to Cluster

Postby geoff3dmg » Mon Dec 09, 2013 7:22 am

You can fix the PERC issue, you need to boot the machine with SystemRescueCD and tell yast to rebuild the initrd with the megaraid* modules included.

The DB server can be anything.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: Upgrading to Cluster

Postby williamconley » Mon Dec 09, 2013 11:21 pm

geoff3dmg wrote:You can fix the PERC issue, you need to boot the machine with SystemRescueCD and tell yast to rebuild the initrd with the megaraid* modules included.

Um ... he sounds like he knows what he's talking about. But I'm not sure PERC/MegaRAID are related in that way. And we've never needed a recompile. But ... it's worth a shot.
geoff3dmg wrote:The DB server can be anything.
True statement, but be careful to include the Vicibox my.cnf changes. Go through them and ensure your settings are brought over. VMware or vSphere installs are great for practice installs that you can steal settings from BTW.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Upgrading to Cluster

Postby geoff3dmg » Tue Dec 10, 2013 4:23 am

williamconley wrote:
geoff3dmg wrote:You can fix the PERC issue, you need to boot the machine with SystemRescueCD and tell yast to rebuild the initrd with the megaraid* modules included.

Um ... he sounds like he knows what he's talking about. But I'm not sure PERC/MegaRAID are related in that way. And we've never needed a recompile. But ... it's worth a shot.


I speak from experience. My Dell 1850's have exactly this issue and require this change to be done to initramfs to be bootable. I have mentioned this issue before.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 140 guests