beautypg.com

Deleting the smf configuration – HP NonStop G-Series User Manual

Page 66

background image

Configuring and Managing SMF Processes

HP NonStop Storage Management Foundation User's Guide523562-008

3-16

Deleting the SMF Configuration

If you need to shut down hundreds of VDPs, you can use this TACL macro to shut
them down without operator confirmation:

#set #informat tacl
#push i
#set i o
dp SCF

scf reset disk $*, sub virtual, forced
[#loop |while| (i < numofvdps) |do|
== replace numofvdps with actual number
scf y
#set i [#compute [i] + 1]
]
dp:undp SCF

To stop D-series versions of the SMF subsystem, you must stop all pool processes, all
VDP processes, and the $ZSMS process. Enter this command for each process:

COUP STOP PROCESS process-name

Deleting the SMF Configuration

You might need to delete the entire SMF configuration. After you have purged all files
on all VDPs, you can delete the SMF configuration by using the following procedures.

For D-series systems, issue the following PUP and COUP commands.

1. Obtain a list of all the VDPs in the configuration:

PUP LISTDEV TYPE 3,36

2. Stop and delete each VDP using these commands:

PUP DOWN $VDP
PUP UP $VDP, SPECIAL
PUP DELETEVIRTDISK $VDP

Repeat this step for each VDP in your configuration.

3. Obtain a list of all the pools and volumes

PUP LISTDEV TYPE 25, ALLVOL

4. Exclude all the disks from their respective pools:

PUP EXCLUDE $DISK, POOL $POOL

Repeat this step for each disk in your configuration.

5. Stop and delete all the pools:

PUP DOWN $POOL
PUP UP $POOL, SPECIAL
PUP DELETEPOOL $POOL