DRD-Safe Concepts for HP-UX 11i v2 and Later

1

Introduction......................................................................................................................................

2

 

1.1

Abstract ....................................................................................................................................

2

 

1.2

Purpose of Document..................................................................................................................

3

 

1.3

Audience ..................................................................................................................................

3

 

1.4

Release Information ....................................................................................................................

3

 

1.5

Terms and Definitions .................................................................................................................

3

2

What must be DRD-Safe?...................................................................................................................

6

3

DRD-Safe Problem Areas ...................................................................................................................

7

 

3.1

Process Communications.............................................................................................................

7

 

3.2

Unterminated Process .................................................................................................................

9

 

3.4

Firmware Patches and Other Unsafe Packages ............................................................................

10

4

Making Control Scripts and Commands DRD-Safe ..............................................................................

11

 

4.1

Control Scripts Stopping, Starting or Restarting Processes/Daemons ..............................................

11

 

4.2

Commands that Communicate with Other Processes.....................................................................

12

 

4.4

Unsafe Logic in an Unconfigure Script ........................................................................................

13

 

4.3

Logic to Support NFS Diskless may not be DRD-safe .....................................................................

16

5

Making Control Script Invocations of swremove DRD-Safe ...................................................................

17

 

5.1

How to Make Packages DRD-Safe for swremove..........................................................................

17

6

DRD-Safe Packaging Changes..........................................................................................................

19

 

6.1

The is_drd_safe Attribute...........................................................................................................

19

7

Making Special Installation Instructions DRD-Safe ...............................................................................

21

Appendix A ......................................................................................................................................

22

 

A.1 HP-UX 11i v2 control_utils.........................................................................................................

22

 

A.2 HP-UX 11i v2 Commands .........................................................................................................

23