When testing networks and routing, it is sometimes useful to be able to send a number of multicast streams across the network. VLC media player can do this, but getting it working is not as trivial as I expected. Here’s how to do it:
- In the Media menu, choose “Stream”
- In the Open Media dialog file tab, click “add” and choose the file you want to stream and click “Open”
- At the bottom, click the “Stream” button
- This opens the “Stream Output” dialog showing the source file you have chosen. Click Next to set destination.
- In “Destinations”, choose “RTP /MPEG Transport Stream” and click the “Add” button
- In the “Address” box, enter the required multicast address (eg 22.214.171.124) and set the port (or leave default at 5004)
- In transcoding options, choose the appropriate settings for your video and PC’s codecs. I chose “Video H.264 + MP3 (MP4)”. I had to set the options by clicking the options (screwdriver and spanner) button immediately to the right of the dropdown. In encapsulation, I chose MPEG-TS. In video codec, I set the bitrate to 4000kb/s
- Once the options are set, click “Save”. Then click Next for “Option Setup” and select “Stream all elementary streams” then click stream.
To view the stream, open another instance of VLC media player (try it on the same PC before trying it over the network)
- Choose Media/Open Network Stream
- In address, enter rtp://@126.96.36.199:5004 – choose the correct address and port you entered when setting up the stream. Don’t forget to enter the “@” symbol after “rtp://” and before the multicast ip address!
- Click “Play”
If you want to stream multiple videos, remember to choose an different multicast address and/or port
If you use EMC PowerPath, the process is straightforward from EMC. But in most cases, due to the price of EMC PowerPath, we use Microsoft MPIO instead (Which PowerPath uses under the covers)
If using Microsoft’s MPIO, you can use their mpclaim utility from a command line or their GUI for doing all the setup. The following assumes you are using Microsoft MPIO and an EMC VNX storage array. There are only slight variations for other combinations.
- Configure hardware for MPIO.
- Install Microsoft MPIO.
- From a command prompt, issue the command “mpclaim -h” to see the currect storage devices claimed by MS MPIO. With a VNX you should see something like “Vendor 8Product 16″. Looking at the MPIO Devices tab in the GUI will show the same information.
- From a command prompt, issue the command “mpclaim -s -d” and you should see that there are no disk present yet, as you haven’t allowed any.
- From a command prompt, issue the command “mpclaim -e” to display the vendor product ID string for the connected storage array. Depending on how your VNX is configured, you will see something like this “DGC VRAID”. There are exactly five (5) spaces after “DGC” and you must have exactly five spaces in the ID.
- Now you can add the multipath support for the speicifc IDs you want. Obviously you will want whatever you saw in the previous step, but in case you plan on using some other configurations, you can add everything from the list from above. From a command prompt enter the command “mpclaim -n -i -d “DGC VRAID”. The “-n” switch suppresses the automatic reboot. Repeat that commnd for each all device IDs desired.
- Reboot the system.
- From a command prompt, issue the command “mpclaim -s -d” and you should see the disks claimed by MPIO on the node. Again, you can use the GUI for all this, too.
- Run Disk Management and activate the new disk
Fatal error: Uncaught Error: Call to a member function id() on array in /homepages/17/d92238269/htdocs/dkpro/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:34
#0 /homepages/17/d92238269/htdocs/dkpro/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(537): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter))
#1 [internal function]: CrayonFormatter::delim_to_internal(Array)
#2 /homepages/17/d92238269/htdocs/dkpro/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(515): preg_replace_callback('#()#msi', 'CrayonFormatter...', '/etc/init.d/hos...')
#3 /homepages/17/d92238269/htdocs/dkpro/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(187): CrayonFormatter::format_mixed_code('/etc/init.d/hos...', Object(CrayonLang), Object(CrayonHighlighter))
#4 /homepages/17/d92238269/htdocs/dkpro/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(207): CrayonHighlighter->process()
#5 /homepages/17/d922 in /homepages/17/d92238269/htdocs/dkpro/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 34