venerdì 20 giugno 2014

Install a vio server from nim

Let's start assembling the vio server mksysb that is broken in 3 files on the 2 installation dvds.
I copied the 3 files on my wks :

[user@scottish-heavy vio-2222]$ ll
total 3418208
-rw-r--r--. 1 user user 2146959360 Feb  4  2013 mksysb_image1
-rw-r--r--. 1 user user 1073479680 Feb  4  2013 mksysb_image2
-rw-r--r--. 1 user user  279797760 Feb  4  2013 mksysb_image3
[user@scottish-heavy vio-2222]$ cat mksysb_image1 mksysb_image2 mksysb_image3 > vio_mksysb-2222
[user@scottish-heavy vio-2222]$ ll
total 6836412
-rw-r--r--. 1 user user 2146959360 Feb  4  2013 mksysb_image1
-rw-r--r--. 1 user user 1073479680 Feb  4  2013 mksysb_image2
-rw-r--r--. 1 user user  279797760 Feb  4  2013 mksysb_image3
-rw-rw-r--. 1 user user 3500236800 Jun 20 08:57 vio_mksysb-2222
[user@scottish-heavy vio-2222]$ scp vio_mksysb-2222 user@nim-master:/export/mksysb/
user@nim-master's password:
vio_mksysb-2222                                                        


Later i defined the ios_mksysb resource from smitty so it can be managed from nim :

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Resource Name                                      [ios_mksysb_vio_2222]
* Resource Type                                       ios_mksysb
* Server of Resource                                 [master]                                                                                              +
* Location of Resource                               [/export/mksysb/ios_mksysb_vio_2222]                                                                   /
  NFS Client Security Method                         [sys]                                                                                                 +
  NFS Version Access                                 [3]                                                                                                   +
  Comments                                           []

  Source for Replication                             []                                                                                                    +
                  -OR-
  System Backup Image Creation Options:
    CREATE system backup image?                       no                                                                                                   +
    NIM CLIENT to backup                             []                                                                                                    +
    PREVIEW only?                                     no                                                                                                   +
    IGNORE space requirements?                        no                                                                                                   +
    backupios Command Flags                          []    



Now i must define a spot from the new ios_mksysb resource :

                                                                      Define a Resource

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Resource Name                                      [spot_vio_2222]
* Resource Type                                       spot
* Server of Resource                                 [master]                                                                                              +
  Source of Install Images                           [ios_mksysb_vio_2222]                                                                                 +
* Location of Resource                               [/export/spot/spot_vio_2222]]                                                                          /
  NFS Client Security Method                         [sys]                                                                                                 +
  NFS Version Access                                 [3]                                                                                                   +
  Expand file systems if space needed?                yes                                                                                                  +
  Comments                                           []

  installp Flags
  PREVIEW only? (install operation will NOT occur)    no                                                                                                   +
  COMMIT software updates?                            no                                                                                                   +
  SAVE replaced files?                                yes                                                                                                  +
  AUTOMATICALLY install requisite software?           yes                                                                                                  +
  OVERWRITE same or newer versions?                   no                                                                                                   +
  VERIFY install and check file sizes?                no                                                                                                   +




Now we have all the needed resources to install the vio server, so let's do a network install
selecting bos_inst from the control objects operations :

                                         +--------------------------------------------------------------------------+
                                         |                           Operation to Perform                           |
                                         |                                                                          |
                                         | Move cursor to desired item and press Enter. Use arrow keys to scroll.   |
                                         |                                                                          |
                                         |   lvios72-int:                                                           |
                                         |      cust             = perform software customization                   |
                                         |      bos_inst         = perform a BOS installation                       |
                                         |      fix_query        = perform queries on installed fixes               |
                                         |      reboot           = reboot specified machines                        |
                                         |      showlog          = display a log in the NIM environment             |
                                         |      lppchk           = verify installed filesets                        |
                                         |      check            = check the status of a NIM object                 |
                                         |      reset            = reset an object's NIM state                      |
                                         |      updateios        = perform software customization on I/O server     |
                                         |      alt_disk_install = perform an alt_disk_install operation on a clien |
                                         |                                                                          |
                                         | F1=Help                 F2=Refresh              F3=Cancel                |
                                         | F8=Image                F10=Exit                Enter=Do                 |
F1=Help                                F2| /=Find                  n=Find Next                                      | F8=Ima







                                                                  Perform a Network Install

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  Management Object Name                              lvios72-int
  Installation TYPE                                   mksysb
* SPOT                                               [spot_vio_2222]                                                                                       +
* IOS_MKSYSB                                         [ios_mksysb_vio_2222]                                                                                 +

  BOSINST_DATA to use during installation            []                                                                                                    +
  RESOLV_CONF to use for network configuration       []                                                                                                    +
  Remain NIM client after install?                    yes                                                                                                  +
  Initiate Boot Operation on Client?                  no                                                                                                   +
  Set Boot List if Boot not Initiated on Client?      no                                                                                                   +
  Force Unattended Installation Enablement?           no                                                                                                   +
    ACCEPT new license agreements?                   [no]                                                                                                  +

  Open a console window?                             [no]                                                                                                  +
  Set the DISPLAY environment variable               []






 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 IP Parameters
Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U789D.001.DQD3L90-P1-C5-T
 1.   Client IP Address                    [192.168.34.140]
 2.   Server IP Address                    [192.168.34.27]
 3.   Gateway IP Address                   [192.168.34.1]
 4.   Subnet Mask                          [255.255.255.0]









 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Network Parameters
Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U789D.001.DQD3L90-P1-C5-T
 1.   IP Parameters
 2.   Adapter Configuration
 3.   Ping Test
 4.   Advanced Setup: BOOTP









 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:3

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Ping Test
 Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U789D.001.DQD3L90-P1-C5-T
 Speed, Duplex: auto,auto
 Client IP Address: 192.168.34.140
 Server IP Address: 192.168.34.27
 Gateway IP Address: 192.168.34.1
 Subnet Mask: 255.255.255.0
 Protocol: Standard
 Spanning Tree Enabled: 0
 Connector Type:




 1. Execute Ping Test                  
 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:1









                            .---------------------.
                            |  Attempting Ping... |
                            `---------------------'













192.168.34.140:    24  bytes from 192.168.34.27:  icmp_seq=1  ttl=? time=11  ms

192.168.34.140:    24  bytes from 192.168.34.27:  icmp_seq=2  ttl=? time=11  ms

192.168.34.140:    24  bytes from 192.168.34.27:  icmp_seq=3  ttl=? time=11  ms

192.168.34.140:    24  bytes from 192.168.34.27:  icmp_seq=4  ttl=? time=11  ms

192.168.34.140:    24  bytes from 192.168.34.27:  icmp_seq=5  ttl=? time=11  ms










                              .-----------------.
                              |  Ping  Success. |
                              `-----------------'










 Type menu item number and press Enter or select Navigation key:2

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 NIC Adapters
      Device                          Location Code                 Hardware
                                                                    Address
 1.  Port 1 - IBM 2 PORT 10/100/100  U789D.001.DQD3L90-P1-C5-T1  00096baeac84
 2.  Port 2 - IBM 2 PORT 10/100/100  U789D.001.DQD3L90-P1-C5-T2  00096baeac85










 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:2

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Select Internet Protocol Version.

 1.   IPv4 - Address Format 123.231.111.222
 2.   IPv6 - Address Format 1234:5678:90ab:cdef:1234:5678:90ab:cdef











 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:


 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Main Menu
 1.   Select Language
 2.   Setup Remote IPL (Initial Program Load)
 3.   Change SCSI Settings
 4.   Select Console
 5.   Select Boot Options









 -------------------------------------------------------------------------------
 Navigation Keys:

                                             X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:5

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Multiboot
 1.   Select Install/Boot Device
 2.   Configure Boot Device Order
 3.   Multiboot Startup











 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:1









                              .------------------.
                              |  PLEASE WAIT.... |
                              `------------------'














 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Select Device Type
 1.   Diskette
 2.   Tape
 3.   CD/DVD
 4.   IDE
 5.   Hard Drive
 6.   Network
 7.   List all Devices







 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:6

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Select Network Service.
Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter: U789D.001.DQD3L90-P1-C5-T
 1.   BOOTP
 2.   ISCSI











 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:


 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Select Device
 Device  Current  Device
 Number  Position  Name
 1.        1      Port 1 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter
        ( loc=U789D.001.DQD3L90-P1-C5-T1 )
 2.        -      Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter
        ( loc=U789D.001.DQD3L90-P1-C5-T2 )








 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:2

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Select Task

Port 2 - IBM 2 PORT 10/100/1000 Base-TX PCI-X Adapter
    ( loc=U789D.001.DQD3L90-P1-C5-T2 )

 1.   Information
 2.   Normal Mode Boot
 3.   Service Mode Boot








 -------------------------------------------------------------------------------
 Navigation keys:
 M = return to Main Menu
 ESC key = return to previous screen         X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:2

 PowerPC Firmware
 Version EM340_122
 SMS 1.7 (c) Copyright IBM Corp. 2000,2008 All rights reserved.
-------------------------------------------------------------------------------
 Are you sure you want to exit System Management Services?
 1.   Yes
 2.   No












 -------------------------------------------------------------------------------
 Navigation Keys:

                                             X = eXit System Management Services
 -------------------------------------------------------------------------------
 Type menu item number and press Enter or select Navigation key:1
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM     STARTING SOFTWARE       IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM        PLEASE WAIT...       IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM







TFTP BOOT ---------------------------------------------------
Server IP.....................192.168.34.27
Client IP.....................192.168.34.140
Gateway IP....................192.168.34.1
Subnet Mask...................255.255.255.0
( 1  ) Filename................./tftpboot/lvios72-int
TFTP Retries..................5
Block Size....................512

TFTP BOOT ---------------------------------------------------
Server IP.....................192.168.34.27
Client IP.....................192.168.34.140
Gateway IP....................192.168.34.1
Subnet Mask...................255.255.255.0
( 1  ) Filename................./tftpboot/lvios72-int
TFTP Retries..................5
Block Size....................512
FINAL PACKET COUNT = 38913
FINAL FILE SIZE = 19922944  BYTES

Elapsed time since release of system processors: 732235 mins 48 secs


-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 07:14:24 06/20/2014
                 The current time and date: 07:44:39 06/20/2014
        processor count: 3;  memory size: 4096MB;  kernel size: 29153194
boot device: /pci@800000020000262/ethernet@1,1:speed=auto,duplex=auto,192.168.34.27,,192.168.34.140,192.168.34.1,5,5,255.255.255.0,512
-------------------------------------------------------------------------------

 ******* Please define the System Console. *******

Type a 1 and press Enter to use this terminal as the
  system console.
Pour definir ce terminal comme console systeme, appuyez
  sur 1 puis sur Entree.
Taste 1 und anschliessend die Eingabetaste druecken, um
  diese Datenstation als Systemkonsole zu verwenden.
Premere il tasto 1 ed Invio per usare questo terminal
  come console.
Escriba 1 y pulse Intro para utilizar esta terminal como
  consola del sistema.
Escriviu 1 1 i premeu Intro per utilitzar aquest
  terminal com a consola del sistema.
Digite um 1 e pressione Enter para utilizar este terminal
  como console do sistema.



     
>>>  1 Type 1 and press Enter to have English during install.


















    88  Help ?


>>> Choice [1]:


                           Welcome to Base Operating System
                      Installation and Maintenance

Type the number of your choice and press Enter. Choice is indicated by >>>.

>>> 1 Start Install Now with Default Settings

    2 Change/Show Installation Settings and Install

    3 Start Maintenance Mode for System Recovery

    4 Configure Network Disks (iSCSI)

    5 Select Storage Adapters






    88  Help ?
    99  Previous Menu

>>> Choice [1]:


                           System Backup Installation and Settings

Either type 0 and press Enter to install with the current settings, or type the
number of the setting you want to change and press Enter.

      Setting:                                 Current Choice(s):

    1 Disk(s) where you want to install ...... hdisk0                    
         Use Maps............................. No
    2 Shrink File Systems..................... No
    3 Import User Volume Groups............... No
    4 Recover Devices......................... No
    5 Select Edition........................ express
>>> 0 Install with the settings listed above.





                       +-----------------------------------------------------
    88  Help ?         |  WARNING: Base Operating System Installation will
    99  Previous Menu  |        destroy or impair recovery of ALL data on the
                       |            destination disk hdisk0.
>>> Choice [0]: 1



                        Installing Base Operating System




        Please wait...













        Approximate     Elapsed time
     % tasks complete   (in minutes)


nim_rcmd: getaddrinfo: Hostname and service name not provided or found      
0042-001 nimclient: processing error encountered on "master":
   0042-006 nimclient: (To_Master) rcmd Error 0

          5               0      Making file systems.                  

...
...
...


          87               9      Creating boot image.                      

...
...


-------------------------------------------------------------------------------
                       Welcome to the Virtual I/O Server.
                   boot image timestamp: 08:01:08 06/20/2014
                 The current time and date: 08:04:06 06/20/2014
        processor count: 3;  memory size: 4096MB;  kernel size: 29153194
     boot device: /pci@800000020000260/pci@2/pci1014,02BD@1/sas/disk@200:2
-------------------------------------------------------------------------------

Saving Base Customize Data to boot disk
Starting the sync daemon
Starting the error daemon


...
...

0513-059 The lldpd Subsystem has been started. Subsystem PID is 6029498.
0513-059 The ecpvdpd Subsystem has been started. Subsystem PID is 6422728.
IBM Virtual I/O Server

                      login:


login: padmin
[compat]: 3004-610 You are required to change your password.
        Please choose a new one.

padmin's New password:

Enter the new password again:

Indicate by selecting the appropriate response below whether you
accept or decline the software maintenance terms and conditions.
Accept (a) |  Decline (d) |  View Terms (v) > a
$

$ license -accept
$ oem_setup_env
#





Nessun commento: