The media caches/disks are active and enabled by default and typically require no configuring. However, you must deactivate and/or disable disks and caching to change disks. Before you activate or enable a cache, run show media-cache disk list and get the name assigned to the disk to use in configuration. See media-cache for CLI details.In Release 2.0.2 Media Flow Controller supports 3 cache tiers corresponding to SSD (tier 1), SAS HDD (tier 2), and SATA HDD (tier 3). "Hot" content generally stays in tier1 (the highest). Media Flow Controller promotes contents between the cache tiers based on content hotness (see ““Hot” Content (Short Tail vs. Long Tail)” on page 29 for definition). As content gets hotter, it is promoted to the next higher tier. 1st time content is always put in the lowest cache tier. The default values are: tier1 weight = 6, tier2 weight = 2, tier3 weight = 1. So, any content requested once is cached in Tier 3; requested twice and it is promoted to Tier2; and, if requested 6 times, it is promoted to Tier1. Example:
1. Get system-assigned disk names to use in configuration. Use list to view all disk drives, their names, physical location, serial number, type, and capacity. Use cache_name to view information on the specified cache.test-vos (config) # show media-cache disk list
3. Disable a disk if you need to pull the disk for any maintenance purposes; for example, to upgrade to a higher capacity disk, replace a SATA disk with a SAS disk, replace a failed disk, reformat the disk, or if contents should not be cached.
4. Deactivate a disk cache. Media Flow Controller allows OIR (On-line Insertion and Removal) of HDD (Hard Disk Drives). However, the HDD MUST be made inactive to be removed. When a new HDD is in the disk, it must be made active and (if so decided) enabled for caching.
8. Format the disk if it is newly inserted and empty and/or you do not want to use its contents. Do this after you issue the mount command.test-vos (config) # show media-cache disk listtest-vos (config) # media-cache disk dc_2 cache disabletest-vos (config) # media-cache disk dc_2 status inactivetest-vos (config) # media-cache disk mount-newtest-vos (config) # show media-cache disk listtest-vos (config) # media-cache disk dc_2 status activetest-vos (config) # media-cache disk dc_2 formattest-vos (config) # media-cache disk dc_2 cache enabletest-vos (config) # show media-cache disk listTo make these configurations using the Management Console, go to the Service Config tab, Media-Cache page; see Service Config > Media-Cache for details.
Report an Error |
Media Flow Controller Administrator's Guide and CLI Command Reference |
Copyright © 2010 Juniper Networks, Inc. |