Você está na página 1de 6

NIM Server Creation

1) Identify Resources lppsource 3 GB per Version or Release level of AIX SPOT 200 MB Per Version or Release level of AIX Server Lots of disk. Start with 3 GB per client + 3 GB per level of AIX. Clients Network Interfaces bosinst.data install from scratch, migration image.data optional 2) Create NIM VG and File system smitty mkvg create exportvg smitty crfs create /export file system (large file enabled JFS, or JFS2) You may or may not want to create additional filesystems for other NIM resources Typically: lppsources: /export/aix_level (e.g. aix_520) SPOT: /export/aixlevel_SPOT (e.g. aix520_SPOT) Images: /export/images (used for mksysb images) You will need to add the images directory to /etc/exports with root access from your LPARs. Be sure to run exportfs a to recreate the /etc/xtab file Other resources: /export/nim (e.g. bosinst.data ) 3) Create NIM Server Install the following filesets if not already on the NIM master bos.sysmgt.nim.client bos.sysmgt.nim.master bos.sysmgt.nim.spot Configure primary network and start the NIM daemons smitty nim Configure the NIM Environment Advanced Configuration Initialize NIM Master Only
Configure Network Installation Management Master Fileset Type or select values in entry fields. Press Enter AFTER making all desired changes. * Network Name * Primary Network Install Interface Allow Machines to Register Themselves as Clients? Alternate Port Numbers for Network Communications (reserved values will be used if left blank) Client Registration Client Communications F1=Help Esc+5=Reset F9=Shell F2=Refresh F6=Command F10=Exit F3=Cancel F7=Edit Enter=Do [Entry Fields] [PublicTokenRing] [tr0] [yes] [] [] F4=List F8=Image

+ + # #

Create/Define NIM lppsource and SPOT Do this for each level of AIX being used. smitty nim Configure the NIM Environment Advanced Configuration Create NIM Basic Installation resources Create a LPPSOURCE and SPOT Select the master
Create Basic Installation Resources Type or select values in entry fields. Press Enter AFTER making all desired changes. [TOP] * Resource SERVER * Input device for installation images (specify the device on the resource server) * LPP_SOURCE Name * LPP_SOURCE Directory Create new file system for LPP_SOURCE? File system SIZE (MB) VOLUME GROUP for new file system * SPOT Name * SPOT Directory Create new file system for SPOT? File system SIZE (MB) VOLUME GROUP for new file system Remove all newly added NIM definitions and filesystems if any part of this operation fails? [BOTTOM] F1=Help Esc+5=Reset F9=Shell F2=Refresh F6=Command F10=Exit F3=Cancel F7=Edit Enter=Do [Entry Fields] master [cd0] [aix_520] [/export/aix_520] [no] [650] [/exportvg] [AIX52_SPOT] [/export/aix52_SPOT] [no] [350] [exportvg] [no] +

+ + + #

+ + #

F4=List F8=Image

Define NIM Clients The client systems need to be defined in the /etc/hosts file prior to these installation steps. Do this for every NIM Client. smitty nim Configure the NIM Environment Advanced Configuration Define NIM Clients Machines Add a NIM client
Define a Machine Type or select a value for the entry field. Press Enter AFTER making all desired changes. * Host Name of Machine (Primary Network Install Interface) [Entry Fields] [mozart]

F1=Help Esc+5=Reset F9=Shell

F2=Refresh F6=Command F10=Exit

F3=Cancel F7=Edit Enter=Do

F4=List F8=Image

4) Load all of AIX CD filesets into lppsources for every level of AIX supported smitty bffcreate select cd
Copy Software to Hard Disk for Future Installation Type or select values in entry fields. Press Enter AFTER making all desired changes. * INPUT device / directory for software * SOFTWARE package to copy * DIRECTORY for storing software package DIRECTORY for temporary storage during copying EXTEND file systems if space needed? Process multiple volumes? [Entry Fields] /dev/cd0 [all] [/export/aix_520] [/tmp] yes yes

+ + +

F1=Help Esc+5=Reset F9=Shell

F2=Refresh F6=Command F10=Exit

F3=Cancel F7=Edit Enter=Do

F4=List F8=Image

5) Download fixes from IBM to a temporary directory, like /export/aix520/fixes. Unzip the fixes. Use smitty bffcreate to copy fixes from /export/aix520/fixes to /export/aix_520/installp/ppc. You may need to run inutoc . in the /export/aix_520 directory. 6) Update the NIM Server with the latest fixes smitty update_all install device = /export/aix_520 Update Installed Software to Latest Level (Update All) Type or select values in entry fields. Press Enter AFTER making all desired changes.
* INPUT device / directory for software * SOFTWARE to update PREVIEW only? (update operation will NOT occur) COMMIT software updates? SAVE replaced files? AUTOMATICALLY install requisite software? EXTEND file systems if space needed? VERIFY install and check file sizes? DETAILED output? Process multiple volumes? ACCEPT new license agreements? Preview new LICENSE agreements? [Entry Fields] /export/aix_520 _update_all no no yes yes yes no no yes yes no

+ + + + + + + + + +

F1=Help Esc+5=Reset F9=Shell

F2=Refresh F6=Command F10=Exit

F3=Cancel F7=Edit Enter=Do

F4=List F8=Image

7) *** Critical Step *** Update the SPOT smitty nim Perform NIM administration tasks Manage Resources Perform operations on NIM resources Select the SPOT from list Select update_all from the list Customize a SPOT

Type or select values in entry fields. Press Enter AFTER making all desired changes.
[Entry Fields] * Resource Name Fixes (Keywords) * Source of Install Images Expand file systems if space needed? Force installp Flags PREVIEW only? (install operation will NOT occur) COMMIT software updates? SAVE replaced files? AUTOMATICALLY install requisite software? OVERWRITE same or newer versions? VERIFY install and check file sizes? F1=Help Esc+5=Reset F9=Shell F2=Refresh F6=Command F10=Exit F3=Cancel F7=Edit Enter=Do 52spot update_all [aix520] yes no no no yes yes no no F4=List F8=Image

+ + + + + + + + +

8) Create bosinst.data for install and migration. The install will be used for mksysb installs or from scratch installs. cp /var/adm/ras/bosinst.data /export/nim/bosinst.migrate cp /var/adm/ras/bosinst.data /export/nim/bosinst.install Edit the bosinst files
control_flow: CONSOLE = Default INSTALL_METHOD = migrate ( or overwrite for mksysb installs or new installs) PROMPT = yes EXISTING_SYSTEM_OVERWRITE = no (Yes for mksysb or install) INSTALL_X_IF_ADAPTER = yes RUN_STARTUP = no (do you want Install Assistant at boot?) RM_INST_ROOTS = no ERROR_EXIT = CUSTOMIZATION_FILE = TCB = yes (ALWAYS have this as yes) INSTALL_TYPE = BUNDLES = SWITCH_TO_PRODUCT_TAPE = RECOVER_DEVICES = Default BOSINST_DEBUG = no ACCEPT_LICENSES = yes (always have this as yes) INSTALL_64BIT_KERNEL = yes (default is no. Turn to yes if the machine is 64 bit capable) INSTALL_CONFIGURATION = DESKTOP = CDE INSTALL_DEVICES_AND_UPDATES = yes IMPORT_USER_VGS = yes ENABLE_64BIT_KERNEL = yes (default is no, turn to yes if 64 bit capable) CREATE_JFS2_FS = yes (default is no, turn to yes) ALL_DEVICES_KERNELS = yes GRAPHICS_BUNDLE = yes DOC_SERVICES_BUNDLE = yes NETSCAPE_BUNDLE = yes HTTP_SERVER_BUNDLE = no KERBEROS_5_BUNDLE = no SERVER_BUNDLE = yes ALT_DISK_INSTALL_BUNDLE = yes (default is no, you will want this) REMOVE_JAVA_118 = no

Define the bosinst.data files as a resource. Do once for each file Smitty nim perform NIM administration tasks Manage resources define a resource select bosinst_data
Define a Resource Type or select values in entry fields. Press Enter AFTER making all desired changes. * * * * Resource Name Resource Type Server of Resource Location of Resource Comments Source for Replication [Entry Fields] [bosinst_migrate] bosinst_data [master] + <t/nim/bosinst.migrate] / [] [] +

F1=Help Esc+5=Reset F9=Shell

F2=Refresh F6=Command F10=Exit

F3=Cancel F7=Edit Enter=Do

F4=List F8=Image

9) Create other network interface resources Smitty nim perform NIM administration tasks manage networks define a network Select network type
Define a Network Type or select values in entry fields. Press Enter AFTER making all desired changes. * * * * Network Name Network Type Network IP Address Subnetmask Default Gateway for this Network Other Network Type Comments [Entry Fields] [privateTokenRing] tok [10.10.16.0] [255.255.255.0] [10.10.16.1] []

F1=Help Esc+5=Reset F9=Shell

F2=Refresh F6=Command F10=Exit

F3=Cancel F7=Edit Enter=Do

F4=List F8=Image

10) On Clients, Initialize NIM environment Install bos.sysmgt.nim.client Define the system as a NIM client smitty nim_client configure Network Installation Manager client fileset
Configure Network Installation Management Client Fileset Type or select values in entry fields. Press Enter AFTER making all desired changes. [TOP] * Machine Name * Primary Network Install Interface * Host Name of Network Install Master Hardware Platform Type Kernel to use for Network Boot Ethernet Interface Options Network Speed Setting Network Duplex Setting Comments Alternate Port Numbers for Network Communications (reserved values will be used if left blank) Client Registration Client Communications [BOTTOM] F1=Help Esc+5=Reset F9=Shell F2=Refresh F6=Command F10=Exit F3=Cancel F7=Edit Enter=Do [Entry Fields] [napoli] [en0] [nim-server] chrp [up]

[] + [] + [44P in Margarets Office]

[] [] F4=List F8=Image

# #

You are now ready to do NIM Tasks. Other NIM Server Notes The NIM server must be at the highest level of AIX in the NIM environment. When fixes are required by a system, the following steps should be taken. 1) Download the fixes to a temporary directory. 2) Use smitty bffcreate to add them to the appropriate lppsource You may need to run inutoc . in the directory to recreate the table of contents file 3) On the NIM Server, do a smitty update_all using the lppsource as the installation device 4) Update the SPOT for the lppsource 5) Update the NIM Client

Você também pode gostar