This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:nimol [2022/06/13 15:19] manu [Install and configure NIMOL] |
aix:nimol [2022/06/13 16:22] (current) manu [nimol_config] |
||
|---|---|---|---|
| Line 132: | Line 132: | ||
| <cli prompt='#'> | <cli prompt='#'> | ||
| # mkdir /export/nim/lpp_source/7300-00-01 | # mkdir /export/nim/lpp_source/7300-00-01 | ||
| - | # nimol_config -L 7300-00-0 -d /dev/cdrom -t /export/nim/lpp_source | + | # nimol_config -L 7300-00-01 -d /dev/cdrom -t /export/nim/lpp_source |
| </cli> | </cli> | ||
| Line 140: | Line 140: | ||
| # rm -fr bosinst.data image.data lpp_source | # rm -fr bosinst.data image.data lpp_source | ||
| # mkdir -p lpp_source/installp | # mkdir -p lpp_source/installp | ||
| - | # mount/dev/cdrom/mnt | + | # mount /dev/cdrom/mnt |
| - | # cp/mnt/*.data ./ | + | # cp /mnt/*.data ./ |
| - | # cp -a/mnt/installp/ppc ./lpp_source/installp/ | + | # cp -a /mnt/installp/ppc ./lpp_source/installp/ |
| - | # cp -a/mnt/RPMS ./lpp_source/ | + | # cp -a /mnt/RPMS ./lpp_source/ |
| </cli> | </cli> | ||
| Line 152: | Line 152: | ||
| # mount /dev/cdrom/mnt/cdrom | # mount /dev/cdrom/mnt/cdrom | ||
| # cd /mnt/cdrom | # cd /mnt/cdrom | ||
| - | # rpm -ivh RPMS/linux/aix-res-6100-08-1.0-1.noarch.rpm | + | # rpm -ivh RPMS/linux/aix-res-7300-00-.noarch.rpm |
| Then generate a directory/opt/aix-res/6100-08 | Then generate a directory/opt/aix-res/6100-08 | ||
| - | # cd /opt/aix-res/6100-08 | + | # cd /opt/aix-res/7300-00-01 |
| # ls -al | # ls -al | ||
| -rwxr-xr-x 1 root root 23478299 September 14 2012 booti.chrp.mp. ent.Z | -rwxr-xr-x 1 root root 23478299 September 14 2012 booti.chrp.mp. ent.Z | ||
| -rwxr-xr-x 1 root root 928 September 14 2012 bosinst.data | -rwxr-xr-x 1 root root 928 September 14 2012 bosinst.data | ||
| -rwxr-xr-x 1 root root 119181465 September 14 2012 ispot.tar.Z | -rwxr-xr-x 1 root root 119181465 September 14 2012 ispot.tar.Z | ||
| + | </cli> | ||
| copy the generated mksysb file to this directory, You can also just make a symbolic link. The file name must be mksysb or mksysb.bff. | copy the generated mksysb file to this directory, You can also just make a symbolic link. The file name must be mksysb or mksysb.bff. | ||
| Now you can define mksysb resources: | Now you can define mksysb resources: | ||
| Line 207: | Line 208: | ||
| The script that needs to be modified is <Target_dir>/<Label_Dir>/SPOT/usr/lpp/bosinst/bi_main | The script that needs to be modified is <Target_dir>/<Label_Dir>/SPOT/usr/lpp/bosinst/bi_main | ||
| + | ===== man NIMOL ===== | ||
| + | |||
| + | ==== nimol_config ==== | ||
| + | |||
| + | Configures a Linux® server to network install a machine with AIX® by configuring services and copying install resources. | ||
| + | |||
| + | To configure the NIMOL server without copying resources, type: | ||
| + | nimol_config -C | ||
| + | |||
| + | To configure the NIMOL server, copy resources from /mnt/aix to /export/aix, and label the resource aix530, type: | ||
| + | nimol_config -d /mnt/aix -t /export/aix -L aix530 | ||
| + | |||
| + | To configure the NIMOL server and copy resources without configuring syslog and without globally exporting the resource label directory, type: | ||
| + | nimol_config -S -e | ||
| + | |||
| + | To list defined resource labels, type: | ||
| + | nimol_config -l | ||
| + | |||
| + | To remove the aix530 resource label, type: | ||
| + | nimol_config -L aix530 -r | ||
| + | |||
| + | ==== nimol_install ==== | ||
| + | |||
| + | Sets up a configured NIMOL server to install AIX® to a specific client machine. | ||
| + | |||
| + | To setup client myclient to install the aix530 resource label with gateway 192.168.1.1, MAC address 00:60:08:3F:E8:DF, and subnet mask 255.255.255.0, type: | ||
| + | nimol_install -c myclient -g 192.168.1.1 -m 00:60:08:3F:E8:DF -s 255.255.255.0 -L aix530 | ||
| + | |||
| + | To setup client myclient and not have it remain a client to the NIMOL server after the installation, type: | ||
| + | nimol_install -n -c myclient -g 192.168.1.1 -m 00:60:08:3F:E8:DF -s 255.255.255.0 -L aix530 | ||
| + | |||
| + | To list the clients configured to be installed, type: | ||
| + | nimol_install -l | ||
| + | |||
| + | To remove client myclient, type: | ||
| + | nimol_config -c myclient -r | ||