Prepare to import
Before you can import, you must copy the export file from your workstation to the target system master host and connect to that master host.
Prerequisite: Generate an export file (see Export service models).
- Log in to the Control Center host running the zenimpactstate service, or the ControlCenter host with the most available memory in the pool in which the Resource Manager services are running.
-
Create a directory for the exported file on the Control Center host, and then change directory into it.
The directory that contains the exported file must be a local directory (not mounted) and must be readable, writable, and executable by all users. For example:
mkdir /tmp/impact && chmod 777 /tmp/impact && cd /tmp/impact
-
Log in to the host as a user with
serviced
CLI privileges. - Copy the exported graphml file from your workstation to the current directory.
-
Connect to the zenimpactstate container.
serviced service shell -i zenimpactstate
-
In the new session, switch user from root to zenoss.
su - zenoss
-
Change directory to the pwd directory:
For example:
cd /mnt/pwd
Proceed with the initial import.