Technical Knowledge Base

PSI update (Gen 6)

Problem

Node has an incorrect configuration for the cluster.
- Example: SED vs non-SED node

Equipment needed

USB formatted with an 8GB FAT partition (not exFAT), name USB something recognizable
Laptop
Serial cable

Resolution

Collect needed psi files

  1. Insert USB into a healthy node
  2. Log in as root
  3. Verify USB is mounted
ls -l /dev/msdosfs
  1. Create mount point for the USB
mkdir /tmp/sei
  1. Mount USB to filesystem
mount -t msdosfs /dev/msdosfs/<usb> /tmp/sei
  1. Mount needed files
mount /dev/mirror/mfg /mfg
  1. Verify psi folder is in the /mfg directory
ls -la /mfg
  1. Move files to the USB
cp -rf /mfg/psi /tmp/sei
  1. Compare files on the USB (/tmp/sei) to the files in /mfg
ls -la /tmp/sei
  1. Unmount the USB
umount /tmp/sei
  1. Physically remove the USB from the healthy node

Modify psi file on replacement node

  1. Attach USB used to collect required psi files
  2. Verify USB is mounted
ls -l /dev/msdosfs
  1. Create mount point for the USB
mkdir /tmp/sei
  1. Mount USB to filesystem
mount -t msdosfs /dev/msdosfs/<usb> /tmp/sei
  1. Mount needed directory
mount /dev/mirror/mfg /mfg
  1. Verify /mfg contents (looking for psi folder)
ls -la /mfg
  1. Move psi folder
mv /mfg/psi /mfg/psi_old
  1. Copy the new psi directory to /mfg
mkdir /mfg/psi
cp -rf /tmp/sei/psi/ /mfg/psi
  1. Verify contents of /mfg and /psi files
ls -la /mfg
ls -la /mfg/psi
  1. Update configuration of the node
/usr/bin/isi_hwtools/isi_psi_tool -v

This will display the configuration, can be compared with a working node

/usr/bin/isi_hwtools/isi_psi_tool -c

Write configuration to the node

/usr/bin/isi_hwtools/isi_psi_tool --backup
/usr/bin/isi_hwtools/isi_psi_tool --backup --peer

Backup the configuration

  1. Reboot the node
reboot