/docker-insightiq

Docker Build for InsightIQ

Primary LanguageShellMIT LicenseMIT

Isilon InsightIQ in Docker

This provides a script and config files for installing Isilon InsightIQ in a Docker container. By installing in a container under Docker we can avoid port conflicts with other running services. It can be installed on any host that supports Docker. It also provides a quick, repeatable way to build IIQ instances to review IIQ DB dumps in a test environment.

Warning: This is not an officially supported installation method. Do not use this in production environments. Use at your own risk.

Instructions

  1. Install Docker 1.6.2 or later https://docs.docker.com/installation/

  2. Ensure Docker is operational

    docker -v
    docker ps -a
    
  3. Clone this repository https://github.com/j-sims/docker-insightiq.git

  4. Checkout Branch to match version of InsightIQ git checkout 4.X.X.X or leave as-is for latest version

  5. Download Isilon InsightIQ (install-insightiq-4.X.X.X.sh) Installation File for Linux Computers from support.emc.com place it in /files/.

    1. Note: Other versions may require updates to /files/answerfile.
  6. (Optional) Edit the docker_iiq.sh script and update the variables as needed.

    1. Change the local datastore mount path - DATASTORE='/path/to/where/you/want/the/datastore/stored'
    2. Change the image and container name as desired
  7. Build the image

    1. ./docker_iiq.sh build
  8. Run the Container

    1. ./docker_iiq.sh start
  9. Set the password

    1. ./docker_iiq.sh changepass
  10. Check the logs

  11. ./docker_iiq.sh logs

  12. CTRL+C to quit

  13. Connect to the IIQ Instance

  • https://$HOST:$HTTPSPORT
  • HOST = The docker Host IP
  • HTTPSPORT = Check docker_iiq.sh for this variable setting (Default:18443)
  • Default User: Administrator
  1. When prompted to choose the Datastore, select Local Datastore with path /datastore.

Optional Commands

  1. Stop and remove the container (including everything but the datastore)

    • ./docker_iiq.sh stop
  2. Remove the image that was built

    • ./docker_iiq.sh clean

Known Issues

  • FSA does not function at this time

  • Logs show broken pipe error

 ----------------------------------------
 Exception happened during processing of request from ('::ffff:192.168.0.153', 59558, 0, 0)
 Traceback (most recent call last):
  File "/usr/share/isilon/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py", line 1068, in process_request_in_thread
       self.finish_request(request, client_address)
   File "/usr/share/isilon/lib64/python2.6/SocketServer.py", line 333, in finish_request
     self.RequestHandlerClass(request, client_address, self)
   File "/usr/share/isilon/lib64/python2.6/SocketServer.py", line 634, in __init__
     self.finish()
   File "/usr/share/isilon/lib64/python2.6/SocketServer.py", line 677, in finish
     self.wfile.flush()
   File "/usr/lib64/python2.6/socket.py", line 303, in flush
     self._sock.sendall(buffer(data, write_offset, buffer_size))
 SysCallError: (32, 'Broken pipe')

Acknowledgements

Thanks to Claudio Fahey for contributing the 4.1.2 update