Preparing 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 Exporting a service model).
(Resource Manager 5.x only)
Connect to the master host on which the
zenimpactstate service is running.
Create a directory for the exported file on the Control Center
The directory that contains the exported file must be a local directory (not mounted) and must be readable, writable, and executable by all users. The following example create a directory in /tmp:
mkdir /tmp/impact && chmod 777 /tmp/impact
Change directory to the directory you created.
- Log in to the Control Center master host as a user with serviced CLI privileges.
Copy the exported graphml file from your workstation to the new
directory (if on the same host) or use scp to perform
a network copy.
scp export_impact_svcname_20161215203455.graphml firstname.lastname@example.org
Connect to the zenimpactstate container.
serviced service shell -i zenimpactstate
In the new session, switch user from root to
su - zenoss
Change directory to the pwd directory:
- Connect to the master host on which the zenimpactstate service is running.
(Resource Manager 4.2.x only)
- From the originating Service Impact system, copy the exported file to a directory on the Resource Manager master host.
- Log in to the Resource Manager master host as zenoss.