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
Situation
Resolution
Configure:
- Build a new image to get a new initrd.gz.
- 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"
- Run the command "posldap2crconfig --dumpall" on Branch Server to write the changes to the config.MAC files.
Additional Information
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
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com