You will need to install the standalone gateway on both nodes.
Check SAP note 657999 - Installing a Standalone Gateway in an MSCS Environment
In fact the standalone gateway should be part if the DB cluster group so that whenever the DB is nide is moved to the second node it will also be taken care.