It's a rainy sort of a day here, so as an exercise I set up two Rivendell
virtual machines, both using the Appliance DVD.  One was installed via the
"standalone" menu item, the other via the "workstation" item.  I took all
of the defaults for the software packages.

After verifying that the standalone Rivendell worked OK, I ran through the
items on this wiki page:
http://rivendell.tryphon.org/wiki/Remote_Client_Access  and noted what's
needed for an Appliance-based workstation setup.

NB: I didn't set up *any* security in this exercise, and in fact removed
some. You'll want to do something different in real life.

If I got my notes right, this is what I did.

On the standalone (server) system:
-- Activate network file sharing (NFS). NFS is installed by the Appliance,
but isn't set up to start automatically.
Issue this command to start it automatically at boot: chkconfig nfs on
Issue this command to start it right now: service nfs start

-- Make the sound files available to the world:
Add a new line to /etc/exports: /var/snd *(rw,root_squash,sync)
Issue this command to activate the change: exportfs -rv
(Also see the last step about directory permissions.)

-- Allow access to the MySQL server for the Rivendell user workstations.
The default permissions in MySQL allow access only by the local machine.
Issue this command to start the MySQL command line interface: mysql -uroot
-p -Dmysql
The default MySQL password installed by the appliance is blank (none).
Within the CLI issue this command to allow access for "rduser" from the
network:
grant all on Rivendell.'*' to 'rduser'@'%' identified by 'letmein';
This allows users named 'rduser' to connect to the MySQL server from any
network address ('%'), using the password 'letmein'.

-- I didn't have to do anything to /etc/my.cnf to allow access from network
adapters.  The netstat -an | grep 3306 command noted in the wiki page
showed MySQL was listening for all addresses. The MySQL manuals say that
this is the default.

-- I didn't do anything to firewalls; not required in my setup.


On the workstation system:
-- Change the workstation's host name.  The appliance always names the
system "rdhost". Rivendell uses the host name as its workstation identifier
and so host names must be unique.
To set the new name at boot, edit /etc/sysconfig/network and replace the
HOSTNAME= value with the new name.
To set the new name now: hostname *newname*

-- Make the sound files on the server available to this workstation:
Add a new line to /etc/fstab ("server" below is the standalone machine's
address):
server:/var/snd  /var/snd  nfs  defaults  0  0
The directory will be mounted automatically at boot. To mount it now: mount
/var/snd

-- Tell Rivendell where the MySQL server is located.
Set the Hostname= value in /etc/rd.conf to the standalone machine's
address.
To activate the change now: service rivendell restart

-- Add this workstation to the Rivendell network. This is required to get
the Rivendell audio definitions set correctly so you can play sound files.
Start RDAdmin and select Manage Hosts.
Create a new host, named the same as the workstation's host name. You'll
get a couple of warnings about audio assignments not being available;
that's OK.
Set the host's IP address to the workstation's address and save the host.
Completely exit RDAdmin.
Activate the change by restarting the Rivendell daemons with this command:
service rivendell restart
Verify the change by re-entering RDAdmin/Manage Hosts and editing the host
you just created.  You shouldn't get the warnings about audio.


At this point I could see my sound files in RDLibrary on the workstation,
but couldn't play them because of NFS file permissions and userid
mismatches...I think. I took the cheap way out and on the standalone
machine allowed everyone full access to /var/snd:
chmod 0777 /var/snd
After this I could play sound files in the workstation.

Hope this is useful.
Mike Carroll

On Fri, Oct 30, 2015 at 2:22 PM Harris, Don <[email protected]> wrote:

> I have a Centos appliance server setup and running and now I want to
> connect a workstation or two. The ‘Setting up a dedicated Rivendell MySql
> and audio store server’ wiki page indicates it’s for Debian and thus some
> of the paths and files are not where I can find them. Is there a flowchart
> setup document to accomplish this?
>
>
>
> Thanks.
>
>
>
>
>
> Don Harris
>
> Sr. Broadcast Maintenance Technician
>
> University of South Dakota
>
> Vermillion, SD 57069
>
> 605-677-6475
>
> [email protected]
>
>
> _______________________________________________
> 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