NonStop S-Series Hardware Installation and FastPath Guide (G06.27+)
Online Configuration Tasks
HP NonStop S-Series Hardware Installation and FastPath Guide—540460-001
12-17
Create a Command File
Create a Command File
A command file can automate the task of reconfiguring paths that have been stopped 
or deleted. For example, a set of disk drives can be added in one operation rather than 
one at a time. The command file must be constructed before the system is prepared to 
lose access to the paths. 
To prepare a command file that configures a disk drive: 
1.  Create an editable file by issuing the SCF LOG command:
-> SCF LOG [ logfile-spec [!]] 
2. Write to this file by issuing the SCF INFO DISK, OBEYFORM command:
-> INFO DISK $disk-name, OBEYFORM
where $disk-name is a disk to be reconfigured by the command file. 
3. Stop writing to this log file by either exiting from SCF or using the SCF LOG 
command: 
->LOG
 -> SCF LOG LOGFILE43
-> info $data3,obeyform
ADD DISK $data3 , &
 SENDTO STORAGE , &
 BACKUPCPU 3 , &
 HIGHPIN ON , &
 PRIMARYCPU 2 , &
 PROGRAM $SYSTEM.SYSTEM.TSYSDP2 , &
 STARTSTATE STARTED, &
 PRIMARYDEVICEID 0 , &
 PRIMARYLOCATION (2,1,54) , &
 PRIMARYSAC 3 , &
 BACKUPDEVICEID 0 , &
 BACKUPLOCATION (2,1,54) , &
 BACKUPSAC 4 , &
 AUDITTRAILBUFFER 0 , &
 AUTOREVIVE OFF, &
 AUTOSTART ON, &
 CBPOOLLEN 1000 , &
 FSTCACHING OFF , &
 FULLCHECKPOINTS ENABLED , &
 HALTONERROR 1 , &
 LKIDLONGPOOLLEN 8 , &
 LKTABLESPACELEN 15 , &
 MAXLOCKSPEROCB 5000 , &
 MAXLOCKSPERTCB 5000 , &
 NUMDISKPROCESSES 4 , &
 OSSCACHING ON , &
 PROTECTDIRECTORY SERIAL , &
 REVIVEBLOCKS 1 , &
 REVIVEINTERVAL 100 , &
 SERIALWRITES ENABLED
-> log










