You can set up swap space now if you have a suitable volume group. You also can perform this step at the end of the OS preparation.
Prerequisites
You can find the minimum swap space requirement as per your project documentation. If possible, you should use an entire physical disk as a swap space partition.
Procedure
1. Determine the size of the installed RAM using the command:
lscfg | grep mem
2. Determine the allocated swap space:
a. Enter the command smitty.
b. Select:
Physical & Logical Storage → Logical Volume Mgr → Paging
Space → List All Paging Spaces
or enter the command
lsps -a
3. Add another paging space if necessary using smitty:
a. Select:
Physical & Logical Storage → Logical Volume Mgr →
Paging Space → Add Another Paging Space
A list of volume group names is displayed.
b. Select a volume group.
c. Enter the size of paging space in logical partitions.
d. Set Start using this paging space NOW ? to YES.
e. Set Use this paging space each time the system is RESTARTED to YES.
f. Press F10 to exit smitty.
g. To check the results, follow the procedure described in step 2.