This adds the following information to the already existing configuration information for Card1 in the /etc/Master.ini file:

[Card1]

CmdLineArgs=-p /pc/card1.ini -c card1 -xwait AutoStart=Disabled

UID=root

;User

ID

GID=root

;Group ID

HomeDir=/

;Home

directory

This information instructs the SunPCi daemon that Card1 is to be added to its internal list to handle. As with VNC, when you add Boot@Boot support for a card, the card is configured with AutoStart disabled. Again, this is to give the person who will configure the card the opportunity to customize the way the SunPCi software will run on the card, before starting the SunPCi software.

The information shown above, which was added to the Card1 section of the /etc/Master.ini file, contains many of the same items that are in the VNC section. The UID, GID and HomeDir entries, as well as the CmdLineArgs and AutoStart options, are all common to both, and act similarly.

For example, under normal circumstances, if you change the UID, GID, or HomeDir entries in the VNC section, make the same changes for each card that is configured for Boot@Boot.

After you have configured one or more cards properly, you can enable them using the sunpcidadm command with the -eoption. Unlike the -aoption, which you can use to add only one card at a time, you can use the -eoption to enable multiple cards at once.

For example, if two cards, Card1 and Card2, are configured for Boot@Boot support, you can enable both at the same time by using the following command:

#/opt/SUNWspci3/bin/sunpcidadm -e card1 card2

After you issue this command, the SunPCi daemon will start SunPCi sessions on both cards.

Note – If the card has AutoStart enabled in the /etc/Master.ini file, be sure that the SunPCi software is not running on the card when you use the sunpcidadm -eoption to enable the card. If AutoStart is enabled on a card that is running, the daemon will fail to start the SunPCi software on that card.

124 SunPCi III 3.2.1 User’s Guide • March 2004

Page 166
Image 166
Sun Microsystems 817-3630-11 manual # /opt/SUNWspci3/bin/sunpcidadm -e card1 card2