forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
21 lines
3.4 KiB
HTML
21 lines
3.4 KiB
HTML
<a name="sfs_01_0055"></a><a name="sfs_01_0055"></a>
|
|
|
|
<h1 class="topictitle1">Log Printing</h1>
|
|
<div id="body1540795831868"><div class="section" id="sfs_01_0055__section5877142785112"><h4 class="sectiontitle">Context</h4><div class="p" id="sfs_01_0055__p157671818568">SFS Turbo can provide multiple service nodes for shared log output directories, facilitating log collection and management of distributed applications. Features of such services are as follows:<ul id="sfs_01_0055__ul7208169155617"><li id="sfs_01_0055__li2020812910567">A shared file system is mounted to multiple service hosts and logs are printed concurrently.</li><li id="sfs_01_0055__li52081397566">Large file size and small I/O: The size of a single log file is large, but the I/O of each log writing is small.</li><li id="sfs_01_0055__li1720859135610">Write I/O intensive: Write I/O of small blocks is the major service.</li></ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="sfs_01_0055__section203761746155216"><h4 class="sectiontitle">Configuration Process</h4><ol id="sfs_01_0055__ol20954115545212"><li id="sfs_01_0055__li129083114563">Log in to SFS Console. Create an SFS Turbo file system to store the log files.</li><li id="sfs_01_0055__li149073111563">Log in to the server that functions as the compute node and mount the file system.</li><li id="sfs_01_0055__li790103125612">Configure the log directory to the shared file system. It is recommended that each host use different log files.</li><li id="sfs_01_0055__li89063114567">Start applications.</li></ol>
|
|
</div>
|
|
<div class="section" id="sfs_01_0055__section17422148155316"><h4 class="sectiontitle">Prerequisites</h4><ul id="sfs_01_0055__ul1086619145414"><li id="sfs_01_0055__li78662975420">A VPC has been created.</li><li id="sfs_01_0055__li14866129135413">Servers that function as head nodes and compute nodes have been created, and have been assigned to the VPC. </li><li id="sfs_01_0055__li33931363578">SFS has been enabled.</li></ul>
|
|
</div>
|
|
<div class="section" id="sfs_01_0055__section6894339575"><h4 class="sectiontitle">Example Configuration</h4><ol id="sfs_01_0055__ol964818264577"><li id="sfs_01_0055__li6017704152625"><span>Log in to SFS Console.</span></li><li id="sfs_01_0055__li44509077152639"><span>In the upper right corner of the page, click <strong id="sfs_01_0055__en-us_topic_0034428727_b8746110102011">Create File System</strong>.</span></li><li id="sfs_01_0055__li8626016155616"><span>On the <strong id="sfs_01_0055__b264133211579">Create File System</strong> page, set parameters as instructed.</span></li><li id="sfs_01_0055__li1078654561414"><span>After the configuration is complete, click <strong id="sfs_01_0055__en-us_topic_0104919011_b194617355185">Create Now</strong>.</span><p><p id="sfs_01_0055__en-us_topic_0104919011_p8772242153217">To mount a file system to Linux ECSs, see <a href="en-us_topic_0034428728.html">Mounting an NFS File System to ECSs (Linux)</a>. To mount a file system to Windows ECSs, see <a href="en-us_topic_0105224109.html">Mounting an NFS File System to ECSs (Windows)</a>.</p>
|
|
</p></li><li id="sfs_01_0055__li629834021314"><span>Configure the log directory to the shared file system. It is recommended that each host use different log files.</span></li><li id="sfs_01_0055__li1829815400139"><span>Start applications.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="sfs_01_0051.html">Typical Applications</a></div>
|
|
</div>
|
|
</div>
|
|
|