- Creating and Using Oracle Solaris Kernel Zones
- Migrating an Oracle Solaris Kernel Zone
- Enabling Services for Warm or Live Migration
- How to Check and Enable Services Needed to Migrate Kernel Zones
How to Check and Enable Services Needed to Migrate Kernel Zones
- Become a zone administrator.
For more information, see Using Rights Profiles to Install and Manage Zones in Creating and Using Oracle Solaris Zones.
-
If you plan to use the ssh:// URI to connect to the
target host, test SSH promptless authentication.
Execute a command such as
date
throughssh
on the target host.source-host$ ssh target-host date Tue Oct 4 17:07:55 MDT 2016
If you are prompted for a password, you have not completely configured your SSH login.
-
Check that the NTP client service is running.
source-host$ svcs ntp STATE STIME FMRI online Jun_27 svc:/network/ntp:default source-host$ ssh target-host svcs ntp STATE STIME FMRI online Aug_09 svc:/network/ntp:default
If the NTP service is not running, start the NTP service. See How to Set Up NTP on a Oracle Solaris System in Managing Clock Synchronization in Oracle Solaris 11.4 for additional information.
-
Check that RAD services are running on source and target hosts.
-
If you plan to use the
ssh://
URI, therad:local
service must be running. -
If you plan to use
rads://
orradg://
, therad:remote
service must be running.
-
Display the status of RAD services on the source and target hosts.
The following example output shows the
rad:remote
service disabled on both the source and target hosts:Check RAD services on the source host: source-host$ svcs rad STATE STIME FMRI disabled 10:09:15 svc:/system/rad:remote online 10:09:18 svc:/system/rad:local online 10:09:18 svc:/system/rad:local-http Check RAD services on the target host: source-host$ ssh target-host svcs rad STATE STIME FMRI disabled Jun_23 svc:/system/rad:remote online Jun_23 svc:/system/rad:local online Jun_23 svc:/system/rad:local-http
-
If a RAD service is disabled, enable the service.
The following example commands enable the
rad:remote
service on both the source and target hosts:Enable RAD services on the source host: source-host$ svcadm enable rad:remote Enable RAD services on the target host: source-host$ ssh target-host svcadm enable rad:remote
- Repeat Step 4.a to verify that all RAD services are enabled.
-
-
If you plan to perform live migration, start the kernel zone migration
service on the source and target hosts.
source$ svcadm enable -rs svc:/network/kz-migr:stream source$ ssh target svcadm enable -rs svc:/network/kz-migr:stream