1. Gather background information about the environment a) Run the following SQL to provide information about the nodes REM REM START OF SQL REM set echo on set timing on…