Fujitsu Notes: Difference between revisions
Jump to navigation
Jump to search
Line 74: | Line 74: | ||
Disk Cache Policy : Disk's Default | Disk Cache Policy : Disk's Default | ||
</source> | </source> | ||
Check the BBU; | |||
<syntaxhighlight lang="bash"> | |||
MegaCli64 AdpBbuCmd aAll | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
</syntaxhighlight> | |||
= Creating a Backup Set = | = Creating a Backup Set = |
Revision as of 15:35, 24 July 2013
This covers specific setup notes for Fujitsu Primenergy servers on EL6.
Primergy RX300 S7
RAID
Install the MegaCLI tools;
Check for an updates MegaCLI from here (under "Management Software and Tools"). If there is an updated version, follow the
mkdir ~/temp
cd ~/temp
# Download the updated 8.04.07_MegaCLI.zip here
unzip 8.04.07_MegaCLI.zip
unzip CLI_Lin_8.04.07.zip
unzip MegaCliLin.zip
rpm -Uvh MegaCli-8.04.07-1.noarch.rpm Lib_Utils-1.00-09.noarch.rpm
# This makes MegaCli64 app available without the full path
ln -s /opt/MegaRAID/MegaCli/MegaCli64 /sbin/
If you want to install from the AN!Cache, you can do this;
rpm -Uvh https://alteeve.ca/files/Lib_Utils-1.00-09.noarch.rpm https://alteeve.ca/files/MegaCli-8.04.07-1.noarch.rpm
# This makes MegaCli64 app available without the full path
ln -s /opt/MegaRAID/MegaCli/MegaCli64 /sbin/
Once installed, verify that you can see your hardware:
Replacing a Failed Drive
Identify the failed drive:
MegaCli64 -LDInfo -Lall -aALL
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3
Size : 713.906 GB
Parity Size : 237.968 GB
State : Degraded
Strip Size : 64 KB
Number Of Drives : 4
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Disk's Default
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: No
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No
Is VD Cached: No
Notice the line:
Disk Cache Policy : Disk's Default
Check the BBU;
MegaCli64 AdpBbuCmd aAll
Creating a Backup Set
ToDo: Explain this...
mkdir ~/base
cd ~/base
mkdir root
mkdir -p etc/sysconfig/network-scripts/
mkdir -p etc/udev/rules.d/
# Root user
rsync -av /root/.bashrc root/
rsync -av /root/.ssh root/
# Directories
rsync -av /etc/ssh etc/
rsync -av /etc/apcupsd etc/
rsync -av /etc/cluster etc/
rsync -av /etc/drbd.* etc/
rsync -av /etc/lvm etc/
# Specific files.
rsync -av /etc/sysconfig/network-scripts/ifcfg-{eth*,bond*,vbr*} etc/sysconfig/network-scripts/
rsync -av /etc/udev/rules.d/70-persistent-net.rules etc/udev/rules.d/
rsync -av /etc/sysconfig/network etc/sysconfig/
rsync -av /etc/hosts etc/
rsync -av /etc/ntp.conf etc/
# Save recreating user accounts.
rsync -av /etc/passwd etc/
rsync -av /etc/group etc/
rsync -av /etc/shadow etc/
rsync -av /etc/gshadow etc/
# If you have the cluster built and want to backup it's configs.
mkdir etc/cluster
mkdir etc/lvm
rsync -av /etc/cluster/cluster.conf etc/cluster/
rsync -av /etc/lvm/lvm.conf etc/lvm/
# NOTE: DRBD won't work until you've manually created the partitions.
rsync -av /etc/drbd.d etc/
# If you had to manually set the UUID in libvirtd;
mkdir etc/libvirt
rsync -av /etc/libvirt/libvirt.conf etc/libvirt/
# If you're running RHEL and want to backup your registration info;
rsync -av /etc/sysconfig/rhn etc/sysconfig/
# Pack it up
# NOTE: Change the name to suit your node.
tar -cvf base_an-c01n01.tar etc root
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Enterprise Support: Alteeve Support |
Community Support | |
© Alteeve's Niche! Inc. 1997-2024 | Anvil! "Intelligent Availability®" Platform | ||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |