02.12.2012 Views

OpenVMS Cluster Systems - OpenVMS Systems - HP

OpenVMS Cluster Systems - OpenVMS Systems - HP

OpenVMS Cluster Systems - OpenVMS Systems - HP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sample Programs for LAN Control<br />

D.2 Starting the NISCA Protocol<br />

D.2.1 Start the Protocol<br />

To start the protocol on a LAN adapter, perform the following steps:<br />

Step Action<br />

1 Use an account that has the PHY_IO privilege—you need this to run LAVC$START_<br />

BUS.EXE.<br />

2 Define the foreign command (DCL symbol).<br />

3 Execute the foreign command (LAVC$START_BUS.EXE), followed by the name of the LAN<br />

adapter on which you want to start the protocol.<br />

Example: The following example shows how to start the NISCA protocol on LAN<br />

adapter ETA0:<br />

$ START_BUS:==$SYS$DISK:[ ]LAVC$START_BUS.EXE<br />

$ START_BUS ETA<br />

D.3 Stopping the NISCA Protocol<br />

The sample program LAVC$STOP_BUS.MAR, provided in SYS$EXAMPLES,<br />

stops the NISCA protocol on a specific LAN adapter.<br />

Caution: Stopping the NISCA protocol on all LAN adapters causes satellites to<br />

hang and could cause cluster systems to fail with a CLUEXIT bugcheck.<br />

Follow the steps below to build the program:<br />

Step Action<br />

1 Copy the files LAVC$STOP_BUS.MAR and LAVC$BUILD.COM from SYS$EXAMPLES to<br />

your local directory.<br />

2 Assemble and link the sample program using the following command:<br />

D–2 Sample Programs for LAN Control<br />

$ @LAVC$BUILD.COM LAVC$STOP_BUS.MAR

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!