Importing/Exporting user-defined component types
In many IT infrastructures, as an industry-standard best practice, administrators may have managed a brand new component type using the Integration Console capability offered by the eG Enterprise, and may want to manage the same component type across the servers in their environment. To achieve this, administrators may have to painstakingly document the ‘ideal’ configuration and then manually login to each server, add the IC component type one by one. To reduce the manual effort and time involved in this exercise, eG Enterprise enables administrators to quickly apply the configuration of a component type managed using the Integration Console to other servers at one go, using a simple export-import routine.
To export the configuration settings of a component type that is managed using the Integration Console capability, do the following:
- Login to the eG administrative interface.
Follow the menu sequence: Admin -> Miscellaneous -> Export/Import Configuration -> Integration Console -> Component. Figure 1 will then appear.
Figure 1 : Exporting the configuration of a user-defined component type
By default, the Export configuration tab page of Figure 1 will open. Using this tab page you can export the configuration settings of a component type listed in this page.
To select a configuration, click on the check box corresponding to the component type. To select all displayed component types, click on the check box against the Component Type. To search for a component type of your choice, you can use the Search text box. If you wish to deselect a component type, then, you can uncheck the check box against the component type. To deselect all the component types, uncheck the check box against the Component Type.
Then, click on the Export button (see Figure 1) to begin exporting the settings of the chosen component types. eG Enterprise exports the configuration settings you select to a zip file, which is by default named in the following format: <Fully qualified host name>_eGICComponent_<Date of export>.zip. This zip file will by default be downloaded to the default download destination that you have configured in your browser.
Figure 2 : Saving the exported configuration
Once the export completes successfully, the contents of this zip file will be displayed on-screen for you to take a look as shown in Figure 3.
Figure 3 : Contents of the zip file containing the exported configuration files
To enable an eG manager say, Manager B to import the configuration that was exported from a manager say Manager A, follow the steps below:
- First, copy this zip file from the default download destination of the Manager A to any folder on Manager B’s host.
Then, login to Manager B's administrative interface and select the Component option from the Export/Import Configuration option that is available under the Miscellaneous menu of the Admin tile.
Figure 4 will appear. This time, click on the Import configuration tab page in Figure 4 to open it.
- Using the Browse button in Figure 4, browse the Manager B's host to locate the zip file that contains the configurations to be imported.
- Then, click on the Upload button in Figure 4 to upload the file to the server.
Figure 5 will then appear. With the help of Figure 5, you can choose the component types that you want to import. To select a component type, click on the check box corresponding to it. To select all displayed component types, click on the check box against the Component Type. To deselect a particular component type, simply uncheck the check box corresponding to the component type in this page. To search for a component of your choice, you can use the Search option.
Figure 5 : Selecting the configuration settings to be imported
- To begin the import of the selected component types, click on the Import button in Figure 5.
If import is successful, a message to that effect will appear.
While a user-defined component type is being exported/imported, the configuration of the tests corresponding to that component type will be retained and imported to the manager in a multi-manager environment.