Sybase recommends that you do not use block devices on UNIX and Linux systems. A system crash may lead to loss of data integrity if you use block devices as database devices.
To verify that the async I/O is active on the Itanium machine:
Log in as root.
Issue the command:
# kcmodule -a | grep aync
Result: asyncdsk static required
or you can also use the following:
# ls /dev/asyn* idev/async /dev/asyncdsk
It is mandatory for HP-UX users to enable asynchronous I/O.
To improve I/O performance on character or raw block devices, enable asynchronous I/O by installing the HP asynchronous I/O driver from SAM. For help with installing this driver, contact your operating system administrator or HP technical support.
Before executing the following instructions, shut down
Adaptive Server (or SQL Server).
To launch the Kernel Configuration use kcweb -F.
Select Modules.
Select asyncdsk and change the next boot to static.
Rebuild the kernel, and reboot the system.
Execute the following commands using the userid root:
#/etc/mknod/dev/async c 101 4 #chmod 0660/dev/async #chown <uid> /dev/async #/etc/setprivgrp <ugrp> MLOCK
Where:
<uid> is the identification (user ID) used by the user that is booting Adaptive Server.
<ugrp> is the user group for the sybase userid.
At the UNIX prompt, execute the following statements as “root”. The user ID of the user who is starting Adaptive Server and Backup Server must be the owner of the /dev/async directory.
It is mandatory for HP-UX users to enable asynchronous I/O.
To improve I/O performance on character or raw and block devices, enable asynchronous I/O by installing the HP asynchronous I/O driver from SAM. For help with installing this driver, contact your operating system administrator or HP technical support.
Before executing the following instructions, shut down
Adaptive Server (or SQL Server).
To enable asynchronous I/O:
From the SAM Kernel Configuration menu, choose Drivers and set the Pending State for asyncdisk to In by adding the driver.
An alternate step could be done by adding the asyncdsk subsystem keyword to /stand/system.
Rebuild the kernel, and reboot the system.
Execute the following commands using the userid root:
#/etc/mknod/dev/async c 101 4 #chmod 0660/dev/async #chown <uid> /dev/async #/etc/setprivgrp <ugrp> MLOCK
Where:
<uid> is the identification (user ID)used by the user that is booting Adaptive Server.
<ugrp> is the user group for the <uid> user ID.
At the UNIX prompt, execute the following statements as “root”. The user ID of the user who is starting Adaptive Server and Backup Server must be the owner of the /dev/async directory.
Enable asynchronous disk I/O.
This step is mandatory for IBM users.
Enable asynchronous I/O by adjusting the kernel parameters, using the System Management Interface Tool (SMIT):
Enter “smit” at the UNIX prompt.
From the Devices menu, select Asynchronous I/O.
Select Change/Show Characteristics of Asynchronous I/O.
Enter the values from Table 3-1:
SMIT parameter |
Values for RS/6000 AIX 4.3.3 |
---|---|
MINIMUM number of servers |
1 |
MAXIMUM number of servers |
10 |
MAXIMUM number of REQUESTS I/O |
4096 |
Server PRIORITY |
39 |
ASYNC I/O STATE (to be configured at system restart) |
Available |
If your system uses more than seven disks at the same time for Asynchronous I/O, increase the MAXIMUM number of servers value by 1 for every active device.
Setting the minor device number on /dev/async to
4 reduces or eliminates transient 605 errors in Adaptive Server.
If you are using LVM mirroring, set the minor device number to 0x0.