Before starting your appliance for the first time, add a second harddrive that you will use to export the local storage.
I have added the example configuration files to the OVA, you can find them in /root/pmsapp/examples
There are also some extra scripts that might ease the configuration.
You can find them in /root/pmsapp/scripts
See explanation for the scripts at the bottom of this page.
Follow the steps below to configure your appliance.
- Initial Configuration
- iSCSI target configuration
- iSCSI initiator configuration – Skip the iscsid.conf part
- Software RAID configuration
- Storage Conclusion
- Initial Cluster Configuration
- Adding Resources
- Fencing – /usr/sbin/fence_disable is allready there
- Storage Resource – /etc/init.d/swraid is allready there
Ensure that cluster services are started during boot and generate password for the ricci user.
Start the cluster services – cman, rgmanager, modclusterd and ricci.
Create /dev/md0 as a raid 5 with 3 members.
Arguments: The 3 devices that should be members of the RAID set.
Example: ./create3diskraid5.sh /dev/sdb /dev/sdc /dev/sdd.
Create /dev/md0 as a mirror (raid 1) with 2 members.
Arguments: The 2 devices that should be members of the RAID set.
Example: ./createmirror.sh /dev/sdb /dev/sdc.
Generate /etc/mdadm.conf from a running raid array.
Discover an iSCSI target.
Arguments: Name or IP of the system that should be discovered.
Example: ./iscsidiscover.sh 172.16.0.21
Login to an iSCSI target.
Arguments: Target name and name or IP of the target system.
Example: ./iscsilogin.sh iqn.2012-03.org.pmsapp:pmsapp1.disk 172.16.0.21
Show disk devices present in the system.