Hi,

I normally list all machines as their IP unless its just a standalone in which case I think its usually down as 127.0.1.1. Obviously the machine host name doesn't change.

It seems odd that it will do everything except delete. I'm pretty sure since Riv 2, it has used the /var/www/rd-bin/ directory to run the rd cgi script for cart manipulation. Is it possible this script is not complete in some way or that the backup host is trying to use apache from another machine rather than its own local one?

The setting for this is inside rdadmin -> edit host:

HTTP Xport: localhost
Core Audio Engine: localhost

Wayne Merricks
The Voice Asia

On 19/08/13 17:56, Jim Stewart wrote:
Hmm.  You might be on to something:

Yes it does "seem" to have the correct IP and hostname, but:

The backup is on the inside of an additional NAT router.  The history of this 
is that the ONAIR machine was also inside of this at one time, but because this 
router (which also provides a VPN for other purposes at our company), has not 
be the most robust and reliable, I moved the ONAIR machine to the outside of 
it.  Our new ON-AIR (ON-AIR2) is also on the outside and works fine too.

So the backup seems to be able to reach the ON-AIR machines just fine as it is outbound 
traffic, but there could be issues with the ONAIR machine reaching the backup through the 
NAT.  I think I have MySQL configured accept connections from both LANS (both just 
private IP LANS), but I may need to double check that.  I can swing the IP address for 
the database location on the backup back and forth between the On-Air and the local 
database just fine.  Is there any other kinds of traffic I need to verify can happen 
between the two machines?    I also think this router might provide a "symmetric 
NAT", or something like that as our Telos-One CODEC won't work through it (even with 
proper ports forwarded) either.

The only question about this is why the backup also doesn't seem to run in 
"standalone" mode (only looking at itself for everything).

In review rdadmin shows the backup as hostname of "pas0", and an IP address of 192.168.0.11 (but just tried 
127.0.0.1 too).  Inside the NAT there is a Windows server providing DNS resolution of "pas0" but not on the 
outside.  The on-air machine has a hostname of "On-Air" but just the loopback "127.0.0.1" for the 
IP address (its real address is 192.168.4.10), is this a problem?

Also of note is that the backup server is an older installation that has been upgraded 
in-place through a couple of major debian versions, in case there might be some left over 
"cruft" their.

Can you propose some additional tests I can perform to see if we are proceeding 
down the right path?

Thanks so much for your time!
James


-----Original Message-----
From: Wayne Merricks [mailto:[email protected]]
Sent: Monday, August 19, 2013 7:14 AM
To: Jim Stewart
Subject: Re: [RDD] Can create, overwrite, but can't delete carts/cuts in 
rdlibrary/rdimport

Hi,

Stupid question, is the backup machine correctly listed in rdadmin -> hosts 
with the right IP address/hostname?

Wayne Merricks
The Voice Asia

On 19/08/13 05:51, Jim Stewart wrote:
Our main on-air system, and its soon-to-be installed replacement works
fine, but on our backup system, I can create and even overwrite cart
cuts but can not delete them.  The error I get from "Unable to delete
audio!" dialog popup from rdlibrary when I do.

Same result if I have the backup system "connected" to the mysql
database on the onair machine or the "backup" copy that is on it
locally.  (I don't know how to get the master/slave thing on mysql
working right now so have been just using the backup and restore
function in rdadmin to generate the local copy on the backup server).
The default user that it is logging in as is the same user "user" that
is on the main system, so I'd assume that user has the rights to
perform deletions.  Also as logged in as that user in shell, I can
delete carts from that directory just fine.  Both the main system is
running rivendell 2.5.0 where as the backup is on 2.5.1, both as
compiled by the folks maintaining the debian packages on Tryphon.  The
main is running debian Squeeze (32-bit) and the backup is running
debian Wheezy (64-bit).

I want to get this fixed so that I can put the backup on the air so to
swap in a new, fully upgraded system for "ONAIR" that is mostly
ready-to-go, but I want to play it safe anyway.

========================

Other than a couple of other issues reported on this forum earlier,
I've been super happy with Rivendell.  I've had a radio station
running on it for about a year now.  Rivendell seems to have a good
mix of features common with other leading commercial systems out
there, but because it runs on Linux with all of it's backend tools
(like Jack-audio, really good software RAID, great priority scheduling
of cpu-time and other resources, real multi-user capability, real LAMP
stack, and overall design friendly for scripting, etc.), I've been
able to do things on a single computer in a very clean fashion would
take several computers and other audio devices tied together in a
"multiple points of failure" mode with those other common commercial
systems.  Eventually I plan on writing a little blog/article about my
experiences and configuration that should be helpful to others but
want to learn a little more about Rivendell and tweak my setup a little more 
before I do.

I currently have the core system working, with Jack audio on a
Presounus 1818VSL USB multichannel sound device, running three darkice
streams (Transmitter, Public, Preview/Production) from Jack with some
processing done by "jack-rack" inserted in the public stream.  I have
RDAIRPLAY doing all kinds of routing changes and other things via
macro carts fired from either a log, or "hot buttons" (that sometimes
call external shell scripts), I have RDCATCH grabbing and importing
various elements on a daily basis.  Then I have all this fully remote
accessible via both VNC and remote X (usually tunneled through SSH)
for our operators to use on their Windows desktops and smart-phones.
We play locally stored music interrupted by live remotes and sporting
events (with cue, talkback, and mix-minus foldback) from either Skype,
or a Telos-one CODEC, or a "Plain Old Telephone" (POTS) interfaced to
the Presounus sound device (Can I use "LiveWire" on the Telos CODEC
directly to the computer?).  We rebroadcast our college games (with
their permission) via their webcast that has 25/35hz subaudible
automation tones (currently using a borrowed hardware tone decoder,
does anyone know of a good linux/Jack-compatible software solution?
The NCH-audio + Wine + Alsa_In solution seems too messy to me)  Did I
mention this was all on one computer and I haven't even needed to install a 
traditional broadcast audio console yet?

My main remaining task is to get three rivendell systems working in a
hot-backup/fail-over + cold-standby arrangement where two systems are
typically powered on at a time (main and backup-server), and this
backup-server gets constantly updated from the main system via rsync
(have that working now), and have the database configured for
master/slave redundancy (not working yet) in a way where the backup
can run fully stand-alone with the master on-air system down.  Then I
want a third computer (already have it running) that would normally be
powered off, but can be powered on and then synced from the
"backup-server" so that it could become a new "ONAIR" machine. (our
"backup-server" is a "headless" thing that is located in an awkward
location and normally used for other purposes so not to be appropriate
as a permanent replacement for "ONAIR").  Our "ONAIR" machines come
from a pile of older Pentium-4 "semi-server class" machines that were
discarded and given to us by an associate company.  So our plan is to
simply "run them into the ground" on our radio station, but with the
security of having a good system of fail-overs and backup computers to
deal with when they do fail.

Anyway, enough babbling for now.  Any suggestions on how to
troubleshoot and/or fix my current issue as well as how to move
forward with my eventual goals would be appreciated.

James Stewart
Pace Audio Services
Albuquerque, NM USA
and
KYRN-FM Radio (Socorro, NM USA)

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to