SUSE Support

Here When You Need Us

How to configure raid 1 feature on SLEPOS11 SP1

This document (7009218) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Point of Service 11 Service Pack 1

Situation

The last maintenance update for SLEPOS11 SP1 contains soft raid 1 support. This is a small HOWTO on configure soft raid 1 for cash register.

Resolution

Soft raid 1 is a new feature coming with the latest maintenance update.  Please install the latest SLEPOS and kiwi updates (recommended).

Configure:
  1. Build a new image to get a new initrd.gz.
  2. Add or modify a scCashRegister object to the LDAP tree on Admin Server.
    The following Example shows how to add a new RaidScheme:

     Add to a new CashRegister:
        # posAdmin.pl --add --scCashRegister --base cn=global,o=foo,c=de \
         --cn cr-test-default --scCashRegisterName raid \
         --scPosImageDn cn=myRaid_test,cn=default,cn=global,o=foo,c=de \
         --scRaidScheme "/dev/sda /dev/sdb"

     Add to an existing CashRegister:
        # posAdmin --modify --scCashRegister \
        --DN cn=default_CR,cn=minimal,cn=default,cn=MyLocation,ou=MyUnit,o=foo,c=de \
        --scRaidScheme "1 /dev/sda /dev/sdb"
     
  3. Run the command "posldap2crconfig --dumpall" on Branch Server to write the changes to the config.MAC files.

Additional Information

It is also possible to modify manually the config.MAC file for testing propose:
Important are the following lines:
 
  • Raid Line:
    RAID=1;/dev/sda;/dev/sdb
  • First disk for local boot (grub)
    DISK=/dev/sda
  • Raid device name md1:
    IMAGE=/dev/md1;raid_minimal.i686;1.0.0;192.168.2.10;8192
Example from a generated file:
 
# cat config.52\:54\:00\:12\:37\:17
IMAGE=/dev/md1;raid_minimal.i686;1.0.0;192.168.2.10;8192
DISK=/dev/sda
PART=500;82;swap,4000;83;/
RAID=1;/dev/sda;/dev/sdb
WORKSTATION_LDAP_IP=192.168.2.55
POS_ROLE=cn=minimal,cn=default,cn=MyLocation,ou=MyUnit,o=foo,c=de
POS_HWTYPE_HASH=dump by posldap2crconfig.pl --dumpall

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7009218
  • Creation Date: 22-Aug-2011
  • Modified Date:04-Oct-2022
    • SUSE Linux Enterprise Point of Service

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.