Compare commits

...

8 Commits

Author SHA1 Message Date
unknown 58cae670c5 Sync data folder contents
Docker Build / Build Docker image (push) Successful in 6s
2026-06-10 13:41:57 +09:00
unknown 1f8d0d678d Include required data files in Docker image
Docker Build / Build Docker image (push) Successful in 7s
2026-06-10 13:10:42 +09:00
unknown 13fd61b571 Bake data files into Docker image
Docker Build / Build Docker image (push) Successful in 7s
2026-06-10 12:59:28 +09:00
unknown edde4644e1 Use registry token fallback for Docker push
Docker Build / Build Docker image (push) Successful in 17s
2026-06-10 12:45:28 +09:00
unknown 018a7d5f9b Avoid external checkout action in Docker workflow
Docker Build / Build Docker image (push) Failing after 5s
2026-06-10 12:40:43 +09:00
unknown 67864994aa Publish Docker image to Gitea registry
Docker Build / Build Docker image (push) Failing after 8s
2026-06-10 12:35:59 +09:00
unknown 1811e351aa Fix iDRAC tools Docker package install
Docker Build / Build Docker image (push) Successful in 43s
2026-06-10 12:30:04 +09:00
unknown ebefc60860 Add Docker build with iDRAC tools
Docker Build / Build Docker image (push) Failing after 37s
2026-06-10 12:23:52 +09:00
42 changed files with 66458 additions and 8 deletions
+33
View File
@@ -0,0 +1,33 @@
.git
.gitignore
.dockerignore
Dockerfile
docker-compose.yml
.env
.env.*
venv/
.venv/
__pycache__/
**/__pycache__/
*.py[cod]
*.pyo
.pytest_cache/
.mypy_cache/
backend/instance/
*.log
*.zip
*.XLSM
*.xlsx
!data/**/*.XLSM
!data/**/*.xlsx
sam.txt
# The Docker image intentionally includes committed data contents. Keep local
# env files out of the build context because they may contain credentials.
!data/
!data/**
data/**/.env
+97
View File
@@ -0,0 +1,97 @@
name: Docker Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
packages: write
env:
REGISTRY: gitea.mouse84.com
IMAGE_NAME: kim.kanghee/idrac-info
DOCKERFILE: Dockerfile
BUILD_CONTEXT: .
jobs:
docker-build:
name: Build Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
shell: bash
run: |
git init .
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth 1 origin "${GITHUB_REF}"
git checkout --force "${GITHUB_SHA}"
- name: Prepare Docker tag
shell: bash
run: |
SHORT_SHA="$(printf '%s' "${GITHUB_SHA:-local}" | cut -c1-12)"
IMAGE_REPO="${REGISTRY}/${IMAGE_NAME}"
echo "IMAGE_REPO=${IMAGE_REPO}" >> "${GITHUB_ENV}"
echo "IMAGE_TAG=${IMAGE_REPO}:${SHORT_SHA}" >> "${GITHUB_ENV}"
echo "IMAGE_LATEST=${IMAGE_REPO}:latest" >> "${GITHUB_ENV}"
echo "SHORT_SHA=${SHORT_SHA}" >> "${GITHUB_ENV}"
- name: Show Docker version
run: docker version
- name: Validate iDRAC Tools packages
shell: bash
run: |
test -f iDRACTools/racadm/UBUNTU24/x86_64/srvadmin-hapi_11.4.0.0_amd64.deb
test -f iDRACTools/racadm/UBUNTU24/x86_64/srvadmin-idracadm7_11.4.0.0_all.deb
test -f iDRACTools/racadm/UBUNTU24/x86_64/srvadmin-idracadm8_11.4.0.0_amd64.deb
test -f iDRACTools/ipmitool/UBUNTU24_x86_64/ipmitool_1.8.18_amd64.deb
- name: Build Docker image
run: |
docker build \
--pull \
--file "${DOCKERFILE}" \
--tag "${IMAGE_TAG}" \
--tag "${IMAGE_LATEST}" \
"${BUILD_CONTEXT}"
- name: Inspect built image
run: |
docker image inspect "${IMAGE_TAG}" > /dev/null
docker images "${IMAGE_REPO}"
- name: Login to Gitea Container Registry
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
shell: bash
run: |
REGISTRY_USERNAME="${{ secrets.REGISTRY_USERNAME }}"
REGISTRY_PASSWORD="${{ secrets.REGISTRY_TOKEN }}"
if [ -z "${REGISTRY_USERNAME}" ]; then
REGISTRY_USERNAME="${{ github.actor }}"
fi
if [ -z "${REGISTRY_PASSWORD}" ]; then
REGISTRY_PASSWORD="${{ secrets.GITHUB_TOKEN }}"
fi
if [ -z "${REGISTRY_PASSWORD}" ]; then
echo "REGISTRY_TOKEN or GITHUB_TOKEN is required for docker login." >&2
exit 1
fi
echo "${REGISTRY_PASSWORD}" | docker login "${REGISTRY}" \
--username "${REGISTRY_USERNAME}" \
--password-stdin
- name: Push Docker image
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
docker push "${IMAGE_TAG}"
docker push "${IMAGE_LATEST}"
+6 -8
View File
@@ -9,16 +9,14 @@ backend/instance/*.db
*.sqlite *.sqlite
*.sqlite3 *.sqlite3
data/temp/
data/system/archive/
data/system/backup/
data/system/logs/
data/system/mac_backup/
data/repository/
data/nfs/
.pytest_cache/ .pytest_cache/
.coverage .coverage
htmlcov/ htmlcov/
*.log *.log
# The Docker image bundles data contents. Keep data files visible to Git, but
# never commit local env files that may contain credentials.
!data/
!data/**
data/**/.env
+165
View File
@@ -0,0 +1,165 @@
# Docker Usage
The default compose file pulls the image from the Gitea Container Registry:
```powershell
docker compose pull
docker compose up -d
```
Default image:
```text
gitea.mouse84.com/kim.kanghee/idrac-info:latest
```
Use a specific image tag:
```powershell
$env:IDRAC_INFO_IMAGE = "gitea.mouse84.com/kim.kanghee/idrac-info:<commit-sha>"
docker compose pull
docker compose up -d
```
Build locally instead of pulling:
```powershell
docker compose -f docker-compose.yml -f docker-compose.build.yml up --build -d
```
Build only:
```powershell
docker build -t gitea.mouse84.com/kim.kanghee/idrac-info:local .
```
Run the pulled image without Compose:
```powershell
docker run --rm --network host `
-e FLASK_PORT=6050 `
-e APP_DATA_DIR=/app/data `
-e AUTO_BOOTSTRAP_DB=true `
-v ${PWD}/backend/instance:/app/backend/instance `
gitea.mouse84.com/kim.kanghee/idrac-info:latest
```
Open the app:
```text
http://localhost:6050
```
The compose service uses host networking:
```yaml
network_mode: "host"
```
Because of that, `ports:` mappings are not used. Change `FLASK_PORT` if another
process already uses `6050` on the host.
Run in the background:
```powershell
docker compose up -d
```
Stop the container:
```powershell
docker compose down
```
View logs:
```powershell
docker compose logs -f idrac-info
```
## Persistent Data
The image includes the committed `data` directory, including scripts and
server-list files, so the default compose file does not mount `./data` over
`/app/data`.
The compose file only mounts the Flask instance directory:
```text
./backend/instance -> /app/backend/instance
```
This preserves the default SQLite database and other instance files across
container restarts.
## Environment
The container defaults to port `6050`. To use a different host port:
```powershell
$env:FLASK_PORT = "8080"
docker compose up -d
```
Then open:
```text
http://localhost:8080
```
Common variables:
```text
SECRET_KEY=change-me
AUTO_BOOTSTRAP_DB=true
REDFISH_VERIFY_SSL=false
REDFISH_TIMEOUT=15
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
```
## Notes
The image is based on Ubuntu 24.04 and installs Dell iDRAC Tools from the local
`iDRACTools` directory during image build. It also copies the committed `data`
directory into `/app/data` during image build:
```text
iDRACTools/racadm/UBUNTU24/x86_64/*.deb
iDRACTools/ipmitool/UBUNTU24_x86_64/*.deb
data/ -> /app/data
```
`racadm` is expected on:
```text
/opt/dell/srvadmin/sbin/racadm
```
The Dockerfile adds `/opt/dell/srvadmin/sbin` to `PATH`, so existing scripts can
call `racadm` directly.
After building, verify the tools inside the image:
```powershell
docker run --rm gitea.mouse84.com/kim.kanghee/idrac-info:latest sh -lc "command -v racadm && command -v ipmitool && ipmitool -V"
```
## Registry
Gitea Actions builds and pushes these tags on `main`:
```text
gitea.mouse84.com/kim.kanghee/idrac-info:latest
gitea.mouse84.com/kim.kanghee/idrac-info:<short-sha>
```
If the package is private, log in before pulling:
```powershell
docker login gitea.mouse84.com
```
Host networking works as expected on Linux Docker hosts. Docker Desktop on
Windows can behave differently, so production deployment should use a Linux host
or runner when direct access to the iDRAC network is required.
+72
View File
@@ -0,0 +1,72 @@
FROM ubuntu:24.04
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
DEBIAN_FRONTEND=noninteractive \
FLASK_HOST=0.0.0.0 \
FLASK_PORT=6050 \
FLASK_DEBUG=false \
APP_DATA_DIR=/app/data \
SOCKETIO_ASYNC_MODE=threading \
PATH="/opt/venv/bin:/opt/dell/srvadmin/sbin:${PATH}"
ARG IDRAC_TOOLS_UBUNTU_VERSION=UBUNTU24
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
ca-certificates \
libargtable2-0 \
libssl3t64 \
lsb-base \
openssl \
pciutils \
python3 \
python3-pip \
python3-venv \
&& rm -rf /var/lib/apt/lists/*
COPY iDRACTools /tmp/iDRACTools
# Dell iDRAC Tools packages try to start HAPI with systemctl during postinst.
# The image only needs remote racadm/ipmitool, so a build-time shim is enough.
RUN printf '#!/bin/sh\nexit 0\n' > /usr/bin/systemctl \
&& chmod +x /usr/bin/systemctl
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
/tmp/iDRACTools/racadm/${IDRAC_TOOLS_UBUNTU_VERSION}/x86_64/srvadmin-hapi_*.deb \
/tmp/iDRACTools/racadm/${IDRAC_TOOLS_UBUNTU_VERSION}/x86_64/srvadmin-idracadm7_*.deb \
/tmp/iDRACTools/racadm/${IDRAC_TOOLS_UBUNTU_VERSION}/x86_64/srvadmin-idracadm8_*.deb \
/tmp/iDRACTools/ipmitool/${IDRAC_TOOLS_UBUNTU_VERSION}_x86_64/ipmitool_*.deb \
&& rm -f /usr/bin/systemctl \
&& rm -rf /tmp/iDRACTools /var/lib/apt/lists/*
RUN python3 -m venv /opt/venv
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
COPY app.py config.py ./
COPY backend ./backend
COPY migrations ./migrations
COPY data ./data
RUN mkdir -p /app/data /app/backend/instance \
&& find /app/data -type f \( -name "*.sh" -o -name "*.py" \) -exec chmod +x {} \; \
&& test -d /app/data/scripts \
&& test -d /app/data/server_list \
&& test -d /app/data/repository/xml \
&& find /app/data/scripts -maxdepth 1 -type f \( -name "*.sh" -o -name "*.py" \) -print -quit | grep -q . \
&& find /app/data/repository/xml -type f -name "*.xml" -print -quit | grep -q .
EXPOSE 6050
HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=3 \
CMD python -c "import os, socket; s = socket.create_connection(('127.0.0.1', int(os.getenv('FLASK_PORT', '6050'))), 5); s.close()"
CMD ["python", "app.py"]
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+140
View File
@@ -0,0 +1,140 @@
<SystemConfiguration Model="PowerEdge R6615" ServiceTag="GW16B54" TimeStamp="Wed Sep 4 13:45:14 2024">
<!--Export type is Clone,XML-->
<!--Exported configuration may contain commented attributes. Attributes may be commented due to dependency, destructive nature, preserving server identity or for security reasons.-->
<!--Exported configuration does not contain InfiniBand data as the presence of the appropriate cards could not be detected!-->
<!--Exported configuration does not contain FC-HBA data as the presence of the appropriate cards could not be detected!-->
<!--Exported configuration does not contain DPU data as the presence of the appropriate cards could not be detected!-->
<Component FQDD="RAID.SL.1-1">
<Attribute Name="RAIDresetConfig">True</Attribute>
<Attribute Name="RAIDforeignConfig">Clear</Attribute>
<Attribute Name="RAIDrekey">False</Attribute>
<Attribute Name="EncryptionMode">None</Attribute>
<Attribute Name="EncryptionCapability">Local Key Management and Secure Enterprise Key Manager Capable</Attribute>
<Attribute Name="SupportsLKMtoSEKMTransition">Yes</Attribute>
<!-- <Attribute Name="KeyID"></Attribute> -->
<!-- <Attribute Name="OldControllerKey">******</Attribute> -->
<!-- <Attribute Name="NewControllerKey">******</Attribute> -->
<Attribute Name="RAIDprMode">Disabled</Attribute>
<Attribute Name="RAIDPatrolReadUnconfiguredArea">Disabled</Attribute>
<Attribute Name="RAIDloadBalancedMode">Automatic</Attribute>
<Attribute Name="RAIDccMode">Normal</Attribute>
<Attribute Name="RAIDcopybackMode">On with SMART</Attribute>
<Attribute Name="RAIDpersistentHotspare">Enabled</Attribute>
<Attribute Name="RAIDControllerBootMode">Continue Boot On Error</Attribute>
<Attribute Name="RAIDEnhancedAutoImportForeignConfig">Enabled</Attribute>
<Attribute Name="RAIDbgiRate">30</Attribute>
<Attribute Name="RAIDccRate">10</Attribute>
<Attribute Name="RAIDreconstructRate">30</Attribute>
<Component FQDD="Disk.Virtual.2:RAID.SL.1-1">
<Attribute Name="RAIDaction">Create</Attribute>
<Attribute Name="LockStatus">Unlocked</Attribute>
<Attribute Name="RAIDinitOperation">None</Attribute>
<Attribute Name="DiskCachePolicy">Default</Attribute>
<Attribute Name="RAIDdefaultWritePolicy">WriteBack</Attribute>
<Attribute Name="RAIDdefaultReadPolicy">NoReadAhead</Attribute>
<Attribute Name="Name">naver</Attribute>
<!-- <Attribute Name="Size">34560930742272</Attribute> -->
<Attribute Name="StripeSize">128</Attribute>
<Attribute Name="SpanDepth">1</Attribute>
<Attribute Name="SpanLength">10</Attribute>
<Attribute Name="RAIDTypes">RAID 5</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.0:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.1:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.2:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.3:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.4:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.5:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.6:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.7:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.8:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Bay.9:Enclosure.Internal.0-1:RAID.SL.1-1</Attribute>
</Component>
<Component FQDD="Enclosure.Internal.0-1:RAID.SL.1-1">
<Component FQDD="Disk.Bay.0:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.1:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.2:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.3:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.4:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.5:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.6:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.7:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.8:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.9:Enclosure.Internal.0-1:RAID.SL.1-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
</Component>
<Attribute Name="RAIDremoveControllerKey">False</Attribute>
</Component>
<Component FQDD="BOSS.SL.10-1">
<Attribute Name="RAIDresetConfig">True</Attribute>
<Attribute Name="RAIDforeignConfig">Clear</Attribute>
<Attribute Name="EncryptionMode">Not Applicable</Attribute>
<Attribute Name="SecurityStatus">Disabled</Attribute>
<Attribute Name="EncryptionCapability">Capable</Attribute>
<Attribute Name="SupportsLKMtoSEKMTransition">No</Attribute>
<Component FQDD="Disk.Virtual.0:BOSS.SL.10-1">
<Attribute Name="RAIDaction">Create</Attribute>
<Attribute Name="DiskCachePolicy">Default</Attribute>
<Attribute Name="RAIDdefaultWritePolicy">WriteThrough</Attribute>
<Attribute Name="RAIDdefaultReadPolicy">NoReadAhead</Attribute>
<Attribute Name="Name">naver</Attribute>
<!-- <Attribute Name="Size">0</Attribute> -->
<Attribute Name="StripeSize">256</Attribute>
<Attribute Name="SpanDepth">1</Attribute>
<Attribute Name="SpanLength">2</Attribute>
<Attribute Name="RAIDTypes">RAID 1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Direct.0-0:BOSS.SL.10-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Direct.1-1:BOSS.SL.10-1</Attribute>
</Component>
<Component FQDD="Disk.Direct.0-0:BOSS.SL.10-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Direct.1-1:BOSS.SL.10-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
</Component>
</SystemConfiguration>
File diff suppressed because it is too large Load Diff
+122
View File
@@ -0,0 +1,122 @@
<SystemConfiguration Model="PowerEdge R7615" ServiceTag="D0BJ9K4" TimeStamp="Thu May 28 15:42:24 2026">
<!--Export type is Clone,XML,Selective-->
<!--Exported configuration may contain commented attributes. Attributes may be commented due to dependency, destructive nature, preserving server identity or for security reasons.-->
<Component FQDD="RAID.Slot.3-1">
<Attribute Name="RAIDresetConfig">True</Attribute>
<Attribute Name="RAIDforeignConfig">Clear</Attribute>
<Attribute Name="RAIDrekey">False</Attribute>
<Attribute Name="EncryptionMode">None</Attribute>
<Attribute Name="EncryptionCapability">Local Key Management and Secure Enterprise Key Manager Capable</Attribute>
<Attribute Name="SupportsLKMtoSEKMTransition">Yes</Attribute>
<!-- <Attribute Name="KeyID"></Attribute> -->
<!-- <Attribute Name="OldControllerKey">******</Attribute> -->
<!-- <Attribute Name="NewControllerKey">******</Attribute> -->
<Attribute Name="RAIDprMode">Automatic</Attribute>
<Attribute Name="RAIDPatrolReadUnconfiguredArea">Enabled</Attribute>
<Attribute Name="RAIDloadBalancedMode">Automatic</Attribute>
<Attribute Name="RAIDccMode">Normal</Attribute>
<Attribute Name="RAIDcopybackMode">On</Attribute>
<Attribute Name="RAIDpersistentHotspare">Disabled</Attribute>
<Attribute Name="RAIDEnhancedAutoImportForeignConfig">Disabled</Attribute>
<Attribute Name="RAIDrebuildRate">30</Attribute>
<Attribute Name="RAIDbgiRate">30</Attribute>
<Attribute Name="RAIDccRate">30</Attribute>
<Attribute Name="RAIDreconstructRate">30</Attribute>
<Component FQDD="Enclosure.Internal.0-1:RAID.Slot.3-1">
<Component FQDD="Disk.Bay.10:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.8:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.11:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.0:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.9:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.1:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.2:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.3:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.4:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.5:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.6:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Bay.7:Enclosure.Internal.0-1:RAID.Slot.3-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
</Component>
<Attribute Name="RAIDremoveControllerKey">False</Attribute>
</Component>
<Component FQDD="BOSS.SL.10-1">
<Attribute Name="RAIDresetConfig">True</Attribute>
<Attribute Name="RAIDforeignConfig">Clear</Attribute>
<Attribute Name="EncryptionMode">Not Applicable</Attribute>
<Attribute Name="SecurityStatus">Disabled</Attribute>
<Attribute Name="EncryptionCapability">Capable</Attribute>
<Attribute Name="SupportsLKMtoSEKMTransition">No</Attribute>
<Component FQDD="Disk.Virtual.0:BOSS.SL.10-1">
<Attribute Name="RAIDaction">Create</Attribute>
<Attribute Name="DiskCachePolicy">Default</Attribute>
<Attribute Name="RAIDdefaultWritePolicy">WriteThrough</Attribute>
<Attribute Name="RAIDdefaultReadPolicy">NoReadAhead</Attribute>
<Attribute Name="Name">naver</Attribute>
<Attribute Name="Size">0</Attribute>
<Attribute Name="StripeSize">256</Attribute>
<Attribute Name="SpanDepth">1</Attribute>
<Attribute Name="SpanLength">2</Attribute>
<Attribute Name="RAIDTypes">RAID 1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Direct.0-0:BOSS.SL.10-1</Attribute>
<Attribute Name="IncludedPhysicalDiskID">Disk.Direct.1-1:BOSS.SL.10-1</Attribute>
</Component>
<Component FQDD="Disk.Direct.0-0:BOSS.SL.10-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
<Component FQDD="Disk.Direct.1-1:BOSS.SL.10-1">
<Attribute Name="RAIDHotSpareStatus">No</Attribute>
<Attribute Name="RAIDPDState">Ready</Attribute>
<Attribute Name="Cryptographic Erase">False</Attribute>
</Component>
</Component>
</SystemConfiguration>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+55
View File
@@ -0,0 +1,55 @@
#!/bin/bash
# 사용자 이름 및 비밀번호 설정
IDRAC_USER="root"
IDRAC_PASS="calvin"
# IP 주소 파일 경로 인자 받기
if [ -z "$1" ]; then
echo "Usage: $0 <ip_file>"
exit 1
fi
IP_FILE=$1
if [ ! -f "$IP_FILE" ]; then
echo "IP file $IP_FILE does not exist."
exit 1
fi
# 정보 저장 디렉터리 설정
OUTPUT_DIR="$(dirname "$0")/../temp/staging"
mkdir -p $OUTPUT_DIR
# iDRAC 정보를 가져오는 함수 정의
fetch_idrac_info() {
local IDRAC_IP=$(cat $IP_FILE)
# DellEMC Server
local set=$(racadm -r $IDRAC_IP -u $IDRAC_USER -p $IDRAC_PASS iDRAC.Users.3.UserName "")
rm -f $IP_FILE
}
export -f fetch_idrac_info
export IDRAC_USER
export IDRAC_PASS
export OUTPUT_DIR
# 시작 시간 기록
START_TIME=$(date +%s)
# IP 목록 파일을 읽어 병렬로 작업 수행
fetch_idrac_info
# 종료 시간 기록
END_TIME=$(date +%s)
# 소요 시간 계산
ELAPSED_TIME=$(($END_TIME - $START_TIME))
ELAPSED_HOURS=$(($ELAPSED_TIME / 3600))
ELAPSED_MINUTES=$((($ELAPSED_TIME % 3600) / 60))
ELAPSED_SECONDS=$(($ELAPSED_TIME % 60))
echo "설정 완료."
echo "수집 완료 시간: $ELAPSED_HOURS 시간, $ELAPSED_MINUTES 분, $ELAPSED_SECONDS 초."
+6
View File
@@ -0,0 +1,6 @@
services:
idrac-info:
build:
context: .
dockerfile: Dockerfile
image: "${IDRAC_INFO_IMAGE:-gitea.mouse84.com/kim.kanghee/idrac-info:local}"
+23
View File
@@ -0,0 +1,23 @@
services:
idrac-info:
image: "${IDRAC_INFO_IMAGE:-gitea.mouse84.com/kim.kanghee/idrac-info:latest}"
container_name: idrac-info
network_mode: "host"
environment:
FLASK_HOST: "0.0.0.0"
FLASK_PORT: "${FLASK_PORT:-6050}"
FLASK_DEBUG: "false"
APP_DATA_DIR: "/app/data"
SOCKETIO_ASYNC_MODE: "threading"
AUTO_BOOTSTRAP_DB: "${AUTO_BOOTSTRAP_DB:-true}"
SECRET_KEY: "${SECRET_KEY:-change-me-in-docker}"
REDFISH_VERIFY_SSL: "${REDFISH_VERIFY_SSL:-false}"
REDFISH_TIMEOUT: "${REDFISH_TIMEOUT:-15}"
FILES_PER_PAGE: "${FILES_PER_PAGE:-35}"
BACKUP_FILES_PER_PAGE: "${BACKUP_FILES_PER_PAGE:-10}"
MAX_WORKERS: "${MAX_WORKERS:-60}"
TELEGRAM_BOT_TOKEN: "${TELEGRAM_BOT_TOKEN:-}"
TELEGRAM_CHAT_ID: "${TELEGRAM_CHAT_ID:-}"
volumes:
- ./backend/instance:/app/backend/instance
restart: unless-stopped
+340
View File
@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
+1
View File
@@ -0,0 +1 @@
The software contained in this CD is an aggregate of third party programs as well as Dell programs. Use of the software is subject to designated license terms. All Software that is designated as "under the terms of the GNU GPL" may be copied, distributed and/or modified in accordance with the terms and conditions of the GNU General Public License,Version 2, June 1991. All software that is designated as "under the terms of the GNU LGPL" (or "Lesser GPL") may be copied, distributed and/or modified in accordance with the terms and conditions of the GNU Lesser General Public License, Version 2.1, February 1999. Under these GNU licenses, you are also entitled to obtain the corresponding source files by contacting Dell at 1-800-WWW-DELL. Please refer to SKU 420-3178 when making such request. There may be a nominal fee charged to you for the physical act of transferring a copy.This software distributed under the terms of the GNU GPL and lesser GPL is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License and Lesser GPL along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+180
View File
@@ -0,0 +1,180 @@
The package that you downloaded contains the following tools:
• RACADM
• IPMI Tool
==========================================================================================
Release summary
==========================================================================================
The Integrated Dell Remote Access Controller (iDRAC) is designed to make server administrators
more productive and improve the overall availability of Dell servers.
iDRAC alerts administrators to server issues, helps them perform remote server management, and
reduces the need for physical access to the server. Additionally, iDRAC enables administrators
to deploy, monitor, manage, configure, update, and troubleshoot Dell servers from any location
without using any agents. It accomplishes this regardless of the operating system or hypervisor
presence or state.
iDRAC provides out-of-band mechanisms for configuring the server, applying firmware updates,
saving or restoring a system backup, or deploying an operating system, by using the iDRAC GUI, the
iDRAC RESTful API or the RACADM command line interface.
This release of the RACADM command line interface includes updated packaging supporting
the installation of both local and remote RACADM and fixes to issues documented below.
------------------------------------------------------------------------------------------
Version
------------------------------------------------------------------------------------------
Dell iDRAC Tool for Linux v11.4.0.0
------------------------------------------------------------------------------------------
Release date
------------------------------------------------------------------------------------------
December 2025
==========================================================================================
Compatibility
==========================================================================================
For SLES 15 systems, the HAPI RPM has a dependency on the 'insserv-compact' OS package.
To ensure backward compatibility, HAPI still uses System V init scripts and has this
dependency. Install this package before installing RACADM.
==========================================================================================
New and enhanced features
==========================================================================================
RACADM:
. Support for RHEL 10 OS
. Support for SLES 15 SP7 OS
. Support for SLES 16 OS
. Support for UBUNTU 24.04
IPMI Tool:
==========================================================================================
Fixes
==========================================================================================
RACADM:
. 324902: Fixed an issue getting invalid file format error when using ".d10" file for fwupdate in remote racadm.
. 330833: srvadmin-idrac readme file updated.
IPMI Tool:
.
.
==========================================================================================
Known issues
==========================================================================================
RACADM:
RAC1143 Error for RACADM Command
Description: The error RAC1143, which states "Configuration results are not applicable for Job type for Job <-j>," occurs while performing the command "racadm lclog viewconfigresult -j" without specifying a job and using the "--nocertwarn" option from the local RACADM interface.
Workaround: N/A
Tracking: 313793
Description: When OMSA is uninstalled using YUM, the local RACADM functionality becomes unavailable, resulting in an error message stating: "ERROR: Unable to perform requested operation."
Workaround: Reinstalling iDRACTools will restore local RACADM functionality.
Tracking: 329785
Description: Uninstalling iDRAC tools might appear successful, despite the tools may not actually be removed.
Workaround: Uninstall iDRACTools using the script
Tracking: 329977,329984
ARM based servers are not supported
Description: iDRACTools application is not supported on ARM based servers.
Workaround: N/A
Systems Affected: ARM based servers
Tracking: 363186
IPMI Tool:
N/A
==========================================================================================
Installation
==========================================================================================
RACADM:
1. Navigate to the directory where the tar.gz of iDRACTools is downloaded.
2. Run tar -zxvf on the tar.gz to unzip the contents into the current directory.
3. Inside the folder where you extracted the files, navigate to /linux/rac folder.
4. To install the RACADM binary, execute the script install_racadm.sh.
Note: Open a new console window to run the RACADM commands. You cannot execute RACADM
commands from the console window using which you executed the install_racadm.sh script.
If you get an SSL error message for remote RACADM, use the following steps to
resolve the error:
a. Run the command 'openssl version' to find the openssl version installed in the Host OS.
b. Locate the openSSL libraries that are present in the HOST OS.
Example: ls -l /usr/lib64/libssl*
c. Soft-link the library libssl.so using ln -s command to the appropriate OpenSSL
version present in the Host OS.
Example: ln -s /usr/lib64/libssl.so.<version> /usr/lib64/libssl.so
To uninstall RACADM, use the 'uninstall_racadm.sh' script.
Note:
• RACADM and its specific RPMS/Debians can be installed without requiring the installation of OMSA components.
• The installed RACADM binary can be used to execute both Local RACADM and Remote RACADM commands.
• The install_racadm.sh installs only the RPMS/Debians required for RACADM (srvadmin-argtable2, srvadmin-idracadm7, srvadmin-hapi).
• If the RPM's files are installed directly without the script, the path will not be set to the RPM files once the host is logged out leads to Racadm command failure.
• In case of UBUNTU installation, install_racadm.sh and uninstall_racadm.sh scripts has to run using bash as below:
bash ./install_racadm.sh
bash ./uninstall_racadm.sh
$PATH information will differ between host and SSH login.
IPMI Tool:
To install the latest version of RAC Tools, do the following:
1 Uninstall the existing IPMI tool:
a) Query the existing IPMI tool: rpm -qa | grep ipmitool
If the IPMI tool is already installed, the query returns ipmitool-x.x.xx-x.x.xx.
b) To uninstall the IPMI tool:
On systems running SUSE Linux Enterprise Server type rpm -e ipmitool-x.x.xx-x.x.xx
On systems running Red Hat Enterprise Linux 6.x, type rpm -e ipmitool
On systems running Red Hat Enterprise Linux 7.x, type rpm -e OpenIPMI-tools
2 Browse to the downloaded DRAC tools directory and got to IPMI tool sub folder and then
type rpm -ivh ipmitool*.rpm
3 To update already available Dell IPMI Tool type rpm -Uvh ipmitool*.rpm
==========================================================================================
Resources and support
==========================================================================================
------------------------------------------------------------------------------------------
Accessing documents using direct links
------------------------------------------------------------------------------------------
You can directly access the documents using the following links:
• dell.com/idracmanuals — iDRAC and Lifecycle Controller
• dell.com/openmanagemanuals — Enterprise System Management
• dell.com/serviceabilitytools — Serviceability Tools
• dell.com/OMConnectionsClient — Client System Management
• dell.com/OMConnectionsClient — OpenManage Connections Client systems management
• dell.com/OMConnectionsEnterpriseSystemsManagement — OpenManage Connections Enterprise
Systems Management
------------------------------------------------------------------------------------------
Accessing documents using product selector
------------------------------------------------------------------------------------------
You can also access documents by selecting your product.
1. Go to dell.com/manuals.
2. In the All products section, click Software --> Enterprise Systems Management.
3. Click the desired product and then click the desired version, if applicable.
4. Click Manuals & documents.
==========================================================================================
Contacting Dell
==========================================================================================
Dell provides several online and telephone-based support and service options.
Availability varies by country and product, and some services may not be available in
your area. To contact Dell for sales, technical support, or customer service issues,
go to www.dell.com/contactdell.
If you do not have an active Internet connection, you can find contact information on
your purchase invoice, packing slip, bill, or the product catalog.
==========================================================================================
Information in this document is subject to change without notice.
Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved.
Dell and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
Rev: A00