When a Solaris Zone environment is configured and a zone is created in the ZFS storage pool, the status of the ZFS storage pool to be imported to the switchover destination server after server switchover and the zone on the ZFS storage pool can be changed.
When changing the status, create the following definition files:
Use the zpool command to check ZFS storage pools.
Use the zoneadm command to check zones.
For details, refer to the manuals provided by Oracle.
[Windows Manager]
Installation_folder\SVROR\Manager\etc\customize_data
[Linux Manager]
/etc/opt/FJSVrcvmr/customize_data
zpool_and_zone_recovery.rcxprop
Describe the definition file as below:
Enter the admin IP address of the switchover source server for ADMIN_IP key value.
Insert a line break, and enter the ZFS storage pool on the server and the zone in the ZFS storage pool, separated by commas (",").
If it is not necessary to boot the zone, the zone specification can be omitted.
When specifying two or more ZFS storage pools, enter the pools in separate lines using line breaks.
Until the following is specified, everything will be considered the ZFS storage pool and the zone of the server described in the ADMIN_IP key value.
Another ADMIN_IP key
End of the file
The format of each line is given below:
ADMIN_IP=failover_admin_ip |
Blank spaces before and after commas (",") are ignored.
When adding comments, start the line with a number sign ("#").
Specify the following items.
Enter the admin IP address of the switchover source server.
Enter the name of the ZFS storage to import to the switchover destination server
Enter the zone on the ZFS storage. When specifying multiple zones, separate them with commas (",").
Example
ADMIN_IP=192.168.10.123 |
Create a definition file when necessary, before server switchover.
It is not necessary to restart the manager.
Note
This definition file is valid only when the server is registered as a physical OS or a VM host in a Solaris zone. It is invalid when the guest domain of a server which has been registered as an OVM for SPARC VM host is registered as a VM host in the Solaris zone.
When there are no definition files, after server switchover, all ZFS storage pools of the server switchover source are imported, and the zones can be used.
When there are definition files, only the ZFS storage pools and the zones of the switchover source server described in the definition files are restored.
When importing ZFS storage pools which are not specified in the definition files after server switchover, execute the zpool command on the server after the switchover.
Execute "attach" and "boot" using the zoneadm command to enable use of the zones on the ZFS storage pools after import.
For details, refer to the manuals provided by Oracle.