Installation
1) INSTALLATION
1.a) Basic Setup
Unpack the Resource Manager Distribution into the desired location on your hard drive. Make sure you have enough space to hold meta data, collected by Resource Manager while indexing your Jukeboxes. By default, Resource Manager will store meta data files into the folder online/.metadata. You can extract the Resource Manager Distribution with any tool capable of processing ZIP files: (please be aware that the term “rm-distribution-@version@.zip” shown on the below command will be different depending on the version number of the Resource Manager package)
unzip /cdrom/rm-distribution-@version@.zip
If your Java Runtime Environment is not installed into a standard location, set the JAVA_HOME environment variable to the base directory of the jre:
export JAVA_HOME=/apps/java/sun-jre-1.5
Execute the setup.sh script in order to configure Resource Manager:
sh bin/setup.sh install
Now the installation is completed. For the first start of the Resource Manager you have to put in the following command:
/etc/init.d/rm-console.sh start
1.b) Resource Manager Console
The Resource Manager Console is a Web application used to control operation of the Resource Manager and to browse the Database of indexed Media.
It will be available on TCP port 80 by default. If you intend to run apache or another service on this port, edit the Tomcat configuration at: conf/server.xml: Look for a line starting with ‘. Change the value of the port attribute to the desired TCP port number:
maxThreads=”150″ minSpareThreads=”25″ maxSpareThreads=”75″
enableLookups=”false” redirectPort=”8443″ acceptCount=”100″
connectionTimeout=”20000″ disableUploadTimeout=”true” />
On Linux, you may activate automatical startup of the service via the Runlevel Editor:
In the Main Menu select
YasT –> System –> System Services (Runlevel)
Scroll down until you find the service rm-console. Select it and hit the “Enable” button on the bottom of the dialog.
On FreeBSD, you may enable automatic startup of the service via entries in /etc/rc.conf. Follow the instructions from setup.sh.
1.c) Volume Provider
The Volume Provider is a Java application which allows the Resource Manager to provide access to Virtual Magazines with ISO Images located in configurable storage locations.
By default an Volume Provider is integrated in the Resource Manager installation which will be automatically started and stopped with the Resource Manager Console.
To configure this integrated Volume Provider please edit the vp.properties file located at online/vp.properties
By default a Volumeset “VS1″ with one storage located at “/tmp/storage1″ will be provided.
1.d) Deinstallation
For deinstallation of the Resource Manager you have to stop the running system. You can do this with the following statement:
/etc/init.d/rm-console.sh stop
After stopping the Resource Manager you can then delete the Resource Manager services with following command (should be executed in the Resource Manager folder):
sh bin/setup.sh uninstall
Then you can delete the Resource Manager folder itself (please be aware before deleting that there can be also some of your images and metadata in there).
After that you have successfully deinstalled all Resource Manager services and directories.
