psm command
You can use the psm command to troubleshoot and diagnose problems related to the Platform System Managers.
Use the following list of commands as a reference when you are using the psm command. The optional parameters are in square brackets [ ].
COMMAND [? | help]
[SUBCOMMAND].
automation command
Use this command to reload the Platform System Manager automation policy, which affects the high availability, monitoring and recovery functions of the Platform System Manager services. Before you run this command, use the psm info all command to validate that no services are currently starting or stopping. The psm automation reload command is needed only when a resource becomes stuck in the Unknown state. Use the psm info all command to verify a good state of the services after reloading the automation policy.
psm automation reloadclean command
Use this command to remove files on the specified file system and increase the amount of free space.
psm clean <file_system_display_name>gatherlogs command
Use this command to collect Platform System Manager logs.
- collection type
- Specifies the type of logs to collect. Some of the choices are listed as follows:
- collect bsr
- Contains data about block storage replication.
- collect computenodes
- Contains diagnostics and dump information about the compute nodes on the system.
- collect deploy
- Contains data to help resolve problems with workload management.
- collect dumps
- Contains diagnostic information about the Java™ virtual machine (JVM), which supports the console functions.
- collect fiber
- Contains diagnostics and dump information about the SAN64B-6 Scalable Switches on the system.
- list
- list all
- collect management
- Contains data to help resolve problems with the console and run time.
- collect network
- Contains switch diagnostics and dump information from TOR switch SN2410 devices in the system.
- collect system
- The default log collection consisting of the management collection set and deploy collection set.
- collect ip-<address>
- Collects data from specific components, such as storage components, networking components, management nodes, and compute nodes.
psm gatherlogs [collection type]info command
- Serial number
- Location in the rack
- Service state
- Operating system version
- Console version
- High availability status
- Recovery Subsystems Status
- all
- Includes details about the management nodes for the purpose of troubleshooting.
- filesystem
- Shows the file system usage of the Platform System Managers.
psm info <option>passwd command
Use this command to change the SSH account password. The change is applied only to one Platform System Manager at a time, therefore run the command on the other Platform System Manager to ensure the passwords remain synchronized.
psm passwdreboot command
- remote
- Restarts the other management node (if it is powered on) instead of the local management node as
indicated in the
psm infocommand return results. If the remote option is not specified, the local management node is restarted.
psm reboot [remote]recovery restart command
Use this command to restart the Platform System Manager recovery engine, which affects the high availability, monitoring, and recovering functions of the Platform System Manager.
psm recovery restart psm reset command
psm reset [<service name>]shutdown command
- remote
- Powers off the other management node (if it is powered on) instead of the local management node
as indicated in the
psm infocommand return results. If the remote option is not specified, the local management node is powered off.
psm shutdown [remote]psm tls command
psm tls <add|remove|status> [TLSv1|TLSv1.1]User-initiated failover
Before you initiate a failover using any of the methods that are listed below, put the system in maintenance mode to prevent compute nodes from temporarily transitioning to a quiesced state.- Issue a
psm failovercommand. - Power off the leader management node from the console.
- Issue a
psm rebootcommand on the leader management node (orpsm reboot remotefrom the non-leader management node). - On the leader Platform System Manager on the physical rack, press the power button quickly and release it without holding it down. This action is sometimes referred to as a soft press.
If the full system restore is successful, verify whether the High Availability Status in PSM is online before you attempt operations, for example, pattern deployment.
If PSM failover occurs, then restore to any backup that was taken after the failover. This action ensures that there are no encryption related key mismatch and the restore is successful. If you initiate restore after PSM failover without a system backup, then the system restore fails with the following errors:
- PSM nodes change to
Ineligiblestate. - After a few hours, one of the PSM node state changes to 'Non-leader'.
To restore the PSM and resume online services, contact IBM Support.
The full system restore job might fail with other network errors even though the metadata files and databases are restored and the system restarts successfully. As a troubleshooting step, check whether the system is in a healthy state. If the system is not healthy, contact IBM Support.
- Click .
- Expand Maintenance Mode.
- Specify a start and end time.
- Click Submit.