arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.03397cs.SE
收藏

SAIC:识别系统配置管理的配置文件

SAIC: Identifying Configuration Files for System Configuration Management

Zhen Huang, David Lie

摘要:

系统可能由于各种原因而配置错误,例如操作员错误或错误补丁。当发现错误配置时,通常第一步是恢复可用性,通常是撤消错误配置。为了简化这项任务,我们提出了识别配置文件的统计分析(SAIC),它分析文件的内容如何随时间变化,以自动确定哪些文件包含配置状态。通过这种方式,SAIC减少了用户在恢复期间必须手动检查的文件数量,并允许版本控制文件系统更有效地利用其版本控制存储。使SAIC能够识别配置文件的两个关键见解是,配置状态必须在应用程序的执行过程中保持不变,并且配置状态的变化速度比其他类型的应用程序状态要慢。SAIC通过一组过滤器来应用这些见解,这些过滤器将非持久性文件从考虑中排除,并使用一种新颖的相似性度量来衡量文件版本之间的相似程度。这两种机制共同使SAIC能够在两次用户跟踪中从6个常见应用程序的2363个版本化文件中识别出所有72个配置文件,同时仅将33个非配置文件误认为配置文件,这允许版本化文件系统从其日志中消除大约66%的非配置文件版本,从而减少了用户必须尝试从错误配置中恢复的文件版本的数量。

英文摘要:

Systems can become misconfigured for a variety of reasons such as operator errors or buggy patches. When a misconfiguration is discovered, usually the first order of business is to restore availability, often by undoing the misconfiguration. To simplify this task, we propose the Statistical Analysis for Identifying Configuration Files (SAIC), which analyzes how the contents of a file changes over time to automatically determine which files contain configuration state. In this way, SAIC reduces the number of files a user must manually examine during recovery and allows versioning file systems to make more efficient use of their versioning storage. The two key insights that enable SAIC to identify configuration files are that configuration state must persist across executions of an application and that configuration state changes at a slower rate than other types of application state. SAIC applies these insights through a set of filters, which eliminate non-persistent files from consideration, and a novel similarity metric, which measures how similar a file's versions are to each other. Together, these two mechanisms enable SAIC to identify all 72 configuration files out of 2363 versioned files from 6 common applications in two user traces, while mistaking only 33 non-configuration files as configuration files, which allows a versioning file system to eliminate roughly 66% of non-configuration file versions from its logs, thus reducing the number of file versions that a user must try to recover from a misconfiguration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑