Relationship among the SP CLI, SP console, and system console sessions
You can open an SP CLI session to manage a node remotely and open a separate SP console session to access the console of the node. The SP console session mirrors output displayed in a concurrent system console session. The SP and the system console have independent shell environments with independent login authentication.
Understanding how the SP CLI, SP console, and system console sessions are related helps you manage a node remotely. The following describes the relationship among the sessions:
-
Only one administrator can log in to the SP CLI session at a time; however, the SP enables you to open both an SP CLI session and a separate SP console session simultaneously.
The SP CLI is indicated with the SP prompt (
SP>
). From an SP CLI session, you can use the SPsystem console
command to initiate an SP console session. At the same time, you can start a separate SP CLI session through SSH. If you press Ctrl-D to exit from the SP console session, you automatically return to the SP CLI session. If an SP CLI session already exists, a message asks you whether to terminate the existing SP CLI session. If you enter “y”, the existing SP CLI session is terminated, enabling you to return from the SP console to the SP CLI. This action is recorded in the SP event log.In an ONTAP CLI session that is connected through SSH, you can switch to the system console of a node by running the ONTAP
system node run-console
command from another node. -
For security reasons, the SP CLI session and the system console session have independent login authentication.
When you initiate an SP console session from the SP CLI (by using the SP
system console
command), you are prompted for the system console credential. When you access the SP CLI from a system console session (by pressing Ctrl-G), you are prompted for the SP CLI credential. -
The SP console session and the system console session have independent shell environments.
The SP console session mirrors output that is displayed in a concurrent system console session. However, the concurrent system console session does not mirror the SP console session.
The SP console session does not mirror output of concurrent SSH sessions.