summaryrefslogtreecommitdiff
path: root/NPB
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2021-06-24 10:25:16 +0800
committersongyanchao <[email protected]>2021-06-24 10:25:16 +0800
commit9cf3df1de71cad443a29d34c6f04a26d05efec5f (patch)
treee1a53893785253eb9fe59c2e65e6e948914f2827 /NPB
parent0eca4a1c8f6f5b3394735ce16a5cf15447fc123c (diff)
✨ feat(NPB): 添加jut_shm RPM包以及安装说明
计算板可通过jut_shm对ATCA设备中任意板卡进行上下电的操作
Diffstat (limited to 'NPB')
-rw-r--r--NPB/config_file/jut_shm.conf47
-rw-r--r--NPB/rpm_file/README.md24
-rw-r--r--NPB/rpm_file/jut_shm-1.0.0-1.x86_64.rpmbin0 -> 667412 bytes
3 files changed, 71 insertions, 0 deletions
diff --git a/NPB/config_file/jut_shm.conf b/NPB/config_file/jut_shm.conf
new file mode 100644
index 0000000..434ba90
--- /dev/null
+++ b/NPB/config_file/jut_shm.conf
@@ -0,0 +1,47 @@
+{
+"chassis":
+[
+ {
+ "name": "6u",
+ "part_number": "ICMM-48P06-01",
+ "fan_addr_l": "5a",
+ "fan_addr_r": "5c",
+ "slot1": "41",
+ "slot2": "42",
+ "slot3": "43",
+ "slot4": "44",
+ "slot5": "45",
+ "slot6": "46"
+ },
+ {
+ "name": "16u",
+ "part_number": "ICMM-48P09-01",
+ "fan_addr_l": "40",
+ "fan_addr_r": "42",
+ "slot1": "4d",
+ "slot2": "4b",
+ "slot3": "49",
+ "slot4": "47",
+ "slot5": "45",
+ "slot6": "43",
+ "slot7": "41",
+ "slot8": "42",
+ "slot9": "44",
+ "slot10": "46",
+ "slot11": "48",
+ "slot12": "4a",
+ "slot13": "4c",
+ "slot14": "4e"
+ }
+],
+"fan":
+[
+ {
+ "interval": 10,
+ "default": 30,
+ "unc": 50,
+ "ucr": 75,
+ "unr": 100
+ }
+]
+}
diff --git a/NPB/rpm_file/README.md b/NPB/rpm_file/README.md
new file mode 100644
index 0000000..8ae3660
--- /dev/null
+++ b/NPB/rpm_file/README.md
@@ -0,0 +1,24 @@
+# jut_shm软件安装过程
+**1.将jut_shm.conf和jut_shm-1.0.0-1.x86_64.rpm上传到计算板**
+2.增加2个文件执行权限
+```
+chmod +x jut_shm-1.0.0-1.x86_64.rpm
+chmod +x jut_shm.conf
+```
+3、安装软件
+```
+rpm -ivh jut_shm-1.0.0-1.x86_64.rpm -f
+```
+4、检查是否安装
+```
+rpm -qa|grep jut
+```
+5、修改目录
+```
+cp jut_shm.conf /usr/local/jut_shm/bin/
+```
+6、重启
+```
+systemctl restart jut_shm.service
+systemctl status jut_shm.service
+``` \ No newline at end of file
diff --git a/NPB/rpm_file/jut_shm-1.0.0-1.x86_64.rpm b/NPB/rpm_file/jut_shm-1.0.0-1.x86_64.rpm
new file mode 100644
index 0000000..2c762a6
--- /dev/null
+++ b/NPB/rpm_file/jut_shm-1.0.0-1.x86_64.rpm
Binary files differ