Create Managed File
Last updated
Last updated
Linux Control Center = 2.10.X or higher
Linux Control Center allows you to standardize configuration files for managed Hosts by uploading a configuration file.
This document aims to demonstrate step by step how to use the Files functionality of Linux Control Center.
Access the Files screen on the left side menu.
Click Create.
Fill in the required fields as instructed below;
Name: Name to identify the file only in the LCC Console. Upload File: Field to upload the desired file. Path: Directory, Name and Extension in which it will be stored on the Host. Owner: User who will have access permissions to the file. Group: Group that will have access permissions to the file. Permissions: Level of access permission to the file.
These settings allow you to create a User, Group or Directory when they do not exist on a Host where the file will be uploaded. It also allows you to create a copy of the file and move it to a desired directory if one already exists before performing the action of adding the new file to the Host.
Create User: Creates the user from the Owner field if it does not exist on the Host. Create Group: Creates the access group from the group field if it does not exist on the Host. Create Directory: Creates the directory to save the file from the Path field if it does not exist on the Host. Backup: Creates a copy with date and time if a file with the same name and extension already exists in the same Path directory. Move Backup: Moves the created copy to the directory entered in the Backup Directory field.
Click Save to make the file an LCC Managed File.
Click on Managed File to check or change the File settings.
All fields filled in when creating the file will be displayed. You can also download it by clicking on Download.
Access the File created and click on File Host.
The ADD Host button creates an empty row in the table, and by clicking on the arrow in the Host column, you will be able to choose a Host to create the file.
Click Save after selecting the Host to start the File Add Action that will include the file according to the settings.
This screen displays which Hosts the file was added to, along with the date and time it was created. The Sync Column indicates whether the file is synchronized with the latest version in the LCC Console.
The trash can icon button in the Actions column makes it easier to delete the file from the desired Host from this screen, but it is also possible to delete the file from the Hosts screen or from the Host Groups screen for a larger number of Hosts.
When you click this button, the File Del action will be started immediately and the file will be removed from the chosen Host.
The Content screen displays the contents of the File in which it is saved in the LCC Console.
Access the Hosts screen.
Click on Actions in the row and a desired Host and click on File Add.
To execute the Action on several Hosts simultaneously, select the desired Hosts and click on Actions at the top of the page and click on File Add.
Click on File Type and choose the Managed option.
Click Insert File and choose the managed file you want to add to the Host.
Click Yes to start the Action.
Click the Queue Working button at the top of the page to monitor the execution of the action.
Note: An Action will be created.