Managing EMC devices by using rules files
Virtual I/O Server (VIOS) provides the framework to manage EMC device configuration setup.
When the EMC software is installed, rules management merges the specific EMC default rules file into VIOS default rules file, and then it merges the default rules file to the current rules file. The current rules file precedes the default rules file.
If a mismatch is identified between system settings and current rules file, a notification to call the rulescfgset command to apply new EMC rules file is displayed. The EMC devices are not applied unless you run the rulescfgset command and type yes to confirm the deploy operation. The new EMC settings take effect after the VIOS reboots.
The notification can be disabled by running the following command: chdev –l viosrules0 –a motd=no.
When the EMC software is uninstalled, the specific default rules of the EMC device are removed from VIOS default rules and current rules files.
Distributing rules files to multiple VIOS partitions
- Capture the current rules file from a source VIOS
that contains the required configurations, by typing the following command:
rules -o capture - Copy the current rules file /home/padmin/rules/vios_current_rules.xml from the source VIOS to the target Virtual I/O Servers.
- Merge the current rules file from the source VIOS to
the current rules file on the target Virtual I/O Servers, by typing the following command:
rules –o import –f <curren_rules_file_from_source_vios> - Deploy the merged current rules on the target Virtual I/O Servers, by typing the following
command:
rules –o deploy - Restart the target Virtual I/O Servers as padmin, by typing the following
command:
shutdown -restart