Documente Academic
Documente Profesional
Documente Cultură
using Solaris Volume Manager and an Oracle database. It's easy to modify these steps
and add more file systems into the script.
Notes: In this example, I make only one instance or zone, called zone1. I used Solaris
Volume Manager in Steps 2 and 3, and I tested this on Oracle 10.1 and 10.2.
2. Make the meta devices. For example, I have three SAN disks, and I want to make a
meta device with the three disks concatenated. (Note: Please type the command all on
one line.)
# newfs /dev/md/rdsk/d61
newfs: construct a new file system /dev/md/rdsk/d61: (y/n)? y
# newfs /dev/md/rdsk/d62
newfs: construct a new file system /dev/md/rdsk/d62: (y/n)? y
# newfs /dev/md/rdsk/d63
newfs: construct a new file system /dev/md/rdsk/d63: (y/n)? y
#
5. Create the mount point for the root file system (/ fs) and /u00 and /u01 for the
Oracle database.
mkdir -p /export/zone1
mkdir /u00
mkdir /u01
mount /export/zone1
6. Execute the following script, which is shown in its entirety after Step 11.
7. Install zone1:
9. Transition the zone to the ready state by running the following command:
create -b
set zonepath=/export/zone1
set autoboot=true
add fs
set dir=/u00
set special=/dev/md/dsk/d62
set raw=/dev/md/rdsk/d62
set type=ufs
end
add fs
set dir=/u01
set special=/dev/md/dsk/d63
set raw=/dev/md/rdsk/d63
set type=ufs
end
add net
set address=10.11.33.144
set physical=ce2
end