• Topic
  • Discussion
  • VOS.VirtEC2AMIMusicBrainzInstall(Last) -- DAVWikiAdmin? , 2017-06-29 07:37:04 Edit WebDAV System Administrator 2017-06-29 07:37:04

    Prepopulated Virtuoso hosting of MusicBrainz? on EC2 AMI

    What is the MusicBrainz Project?

    MusicBrainz is a community music metadatabase that attempts to create a comprehensive music information site. You can use the MusicBrainz? data either by browsing this web site, or you can access the data from a client program for example, a CD player program can use MusicBrainz to identify CDs and provide information about the CD, about the artist or about related information. You can also use the MusicBrainz? Tagger to automatically identify and clean up the metadata tags in your digital music collections.

    MusicBrainz Installation on Virtuoso EC2 AMI instance

    OpenLink Software provides a backup up of the current MusicBrainz Database as hosted on the live service at http://dbtune.org/musicbrainz/sparql, that users can restore into a Virtuoso EC2 AMI instance in the cloud, providing them with an instance of MusicBrainz for their own use.

    Installation

    1. Start a Virtuoso EC2 AMI instance. Note a Virtuoso Release 5 AMI instance ( ami-ids ami-59628630 or ami-c46084ad ) must be used with this backup. We recommended a 64-bit large image AMI instance with 8GB of memory be used, which is a m1.large EC2 instance type.



    2. Note for best performance particularly under extensive usage it is recommended the 16GB m1.xlarge EC2 instance type be used.
    3. Load the Virtuoso Conductor Administration interface of the running EC2 AMI instance with a URL of the form http://your-ec2-instance-cname/conductor.



    4. From the Virtuoso Conductor, navigate to the "System Admin" -> "Packages" tab to obtain a list of available Virtuoso packages (VADs) to install.



    5. Click the "Install" button to initiate installation of the "EC2 Extensions" VAD package for use in performing backup and restore tasks.



    6. Click the "Proceed" button to install the "EC2 Extensions" VAD package.
    7. Go to the URL http://your-ec2-instance-cname/ec2exts to load the Virtuoso Extensions for Amazon EC2 Images login page and log in as the "dba" user.



    8. From the Virtuoso Extensions for Amazon EC2 Images main page, click the "Restore a Remote Backup" link.



    9. On the "Restore a Remote Backup" page, set the follow options.

      Protocol: WebDAV/HTTP Host: s3.amazonaws.com Path or Bucket: mbz-virtuoso-bundle Backup File Prefix: musicbrainz-backup



    10. Click the "Restore" button to begin the restoration of the MusicBrainz database from backup.


      .
      .
      .


    11. Click on the "Continue" button to begin the re-assembly of the database from the restored backup files. Output similar to the following will be displayed when the re-assembly of the database is complete.

    Once complete the server will have been restarted automatically with the restored MusicBrainz database and is ready for use.

    Usage Examples

    The URI scheme used in the EC2 rendition of MusicBrainz is based on a simple mapping: http://your-ec2-instance-cname/music/artist/3c79e3ff-f41b-45d8-af26-40151798056b maps to original MusicBrainz entity: http://musicbrainz.org/artist/3c79e3ff-f41b-45d8-af26-40151798056b described in the Web page: http://musicbrainz.org/artist/3c79e3ff-f41b-45d8-af26-40151798056b.html

    For example, the (X)HTML representation of the description of the Track: Roots Natty Congo, by Artist: Johnny Clarke is as follows;

    • http://your-ec2-instance-cname/music/track/ced52b51-f607-4fde-a3e0-6c6ca9a3f200



    Results

    • The MusicBrainz SPARQL endpoint can be accessed on http://your-ec2-instance-cname/sparql
    • The OpenLink Interactive SPARQL Query Builder can be accessed on http://your-ec2-instance-cname/isparql, enabling the visual construction of queries (Graph Patterns).

    Related