Skip to main content

คำสั่ง syslock

ใช้คำสั่งนี้เพื่อแสดงผลและกำหนดการตั้งค่าการล็อคดาวน์ระบบ

รูปแบบคำสั่ง:
syslock [-options]
ตารางที่ 1. ตัวเลือก syslock
ตัวเลือกรายละเอียดค่า
-enเปิดหรือปิดฟังก์ชันล็อคการกำหนดค่าระบบ
หมายเหตุ
เปิดใช้งานด้วยตัวเลือก -e สามารถโปรโมทสินค้าคงคลังปัจจุบันเป็นสแน็ปช็อตที่เชื่อถือได้
enabled, disabled
-eเปิดใช้งานการตั้งค่าการล็อคการกำหนดค่าระบบ โดยมีหรือไม่มีการบังคับใช้สินค้าคงคลังปัจจุบันให้เป็นสแน็ปช็อตที่เชื่อถือได้
หมายเหตุ
ค่าเริ่มต้นจะถูกตั้งค่าหากไม่มีตัวเลือก -e
enabled, disabled
-l [x]แสดงรายการสินค้าคงคลังของสแนปช็อตเฉพาะที่ดัชนี xหมายเลขดัชนีพอร์ต x คือ เลขจำนวนเต็มในตัวเลือกคำสั่ง
-mถ่ายภาพสแน็ปช็อตด้วยตนเอง 
-dคำอธิบายสำหรับการถ่ายภาพสแน็ปช็อตด้วยตนเองสตริงที่มีความยาวไม่เกิน 32 อักขระ
-cแสดงรายการความแตกต่างของสินค้าคงคลังจากสแน็ปช็อตที่เชื่อถือได้ 
-poกำหนดนโยบายล็อคดาวน์
หมายเหตุ
การดำเนินการนี้จะป้องกันการบูตเซิร์ฟเวอร์หากการปกป้องระบบหรือ System Guard อยู่ในสถานะไม่เป็นไปตามข้อกำหนด
none, osboot, pperm
-cpuตั้งค่าการล็อคดาวน์ของ CPUon, off
-dimmตั้งค่าการล็อคดาวน์ DIMMon, off
-pciตั้งค่าการล็อคดาวน์ PCIon, off
-driveตั้งค่าการล็อคดาวน์ไดรฟ์on, off
-riserตั้งค่าการล็อคดาวน์ตัวยกon, off
-bpตั้งค่าการล็อกดาวน์แบ็คเพลนon, off
To show current status and snapshot list (trusted and history)
system> syslock
Current status: disabled
Policy: none
cpu: off
dXCC: off
pci: off
drive: off
riser: off
bp: off

No snapshot.

System changes have been detected!
Index In Use Date Description
----- -------- ------------------- ----------------
1 Yes 28/01/2022 15:32:59 Enforced by XCCroot.
2 No 28/01/2022 15:28:16 Boot by BMC.

system> syslock
Current status: disabled
Policy: none
cpu: off
dXCC: off
pci: off
drive: off
riser: off
bp: off

To list inventory of specific snapshot
system> syslock -l 1
Location Component ID Description
--------- -------------- ----------------
To enable/disable function.(enable with passphrase, and/or promote current inventory as trusted snapshot):
system> syslock -en enabled
ok
system> syslock -en disabled
ok
system> syslock -en disabled -p Passw0rd12 -e disabled
ok
To take manual snapshot:
system> syslock -m -d xyz
ok
To list inventory difference from trusted snapshot
System>syslock -c
system configuration changes have been detected:

Difference Location ID Description
-------------- ---------- --------------- ----------------------------------------------------------------
New device Drive 13 S0K2QRYC Drive 13, IBM-ESXS, 300GB 10K 6Gbps SAS 2.5"

To set lockdown policy:
system> syslock -po none/pperm/osboot

To set lockdown components:
system>syslock -cpu <on | off>
system>syslock -dXCC <on | off>
system>syslock -pci <on | off>
system>syslock -drive <on | off>
system>syslock -tpm <on | off>
system>syslock -riser <on | off>
system>syslock -bp <on | off>
system>syslock -board <on | off>
system>syslock -psu <on | off>
system>syslock -fan <on | off>
system>syslock -xccfw <on | off>
system>syslock -uefifw <on | off>