Instalação do AIX

Nesta série de artigos, irei mostrar como configurar uma máquina 9117-570 apenas como um laboratório para estudos. Não use estas configurações para seu ambiente produtivo.

Após criar as LPARs via linha de comando do HMC/IVM, vamos instalar o AIX.

Conectamos no VIO/IVM via ssh, e inicializamos a LPAR via linha de comandos (comando chsysstate) ou via interface GUI. Também iremos abrir uma janela de console para acompanhar a instalação do AIX (comando mkvt).

$ chsysstate -r lpar -o on --id 2 -b sms
$ mkvt -id 2

Escolha opção 5. Select Boot Options

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 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

Em seguida escolhemos a opção 1. Select Install/Boot Device

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
 Multiboot
 1. Select Install/Boot Device
 2. Configure Boot Device Order
 3. Multiboot Startup <OFF>











 -------------------------------------------------------------------------------
 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

Vamos realizar o boot através do DVD virtual, opção 5. Hard Drive

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 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:5

Utilize a opção 1. SCSI

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
 Select Media Type
 1. SCSI
 2. SSA 
 3. SAN 
 4. IDE 
 5. ISA 
 6. 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:1

Utilize a opção 2. List all devices, para encontrar o dvd virtual

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
 Select Media Adapter
 1. U9117.570.104218D-V2-C2-T1 /vdevice/v-scsi@30000002
 2. 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:2

Escolha a opção 3. SCSI CD-ROM

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
 Select Device
 Device Current Device
 Number Position Name
 1. 2 Virtual Ethernet 
 ( loc=U9117.570.104218D-V2-C4-T1 )
 2. - Virtual Ethernet 
 ( loc=U9117.570.104218D-V2-C5-T1 )
 3. 1 SCSI CD-ROM
 ( loc=U9117.570.104218D-V2-C2-T1-W8200000000000000-L0 )






 -------------------------------------------------------------------------------
 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

Em seguida escolhemos a opção 2. Normal Mode Boot

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
 Select Task

SCSI CD-ROM
 ( loc=U9117.570.104218D-V2-C2-T1-W8200000000000000-L0 )

 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

Em seguida escolhemos a opção 1. Yes

 Version SF240_284 
 SMS 1.6 (c) Copyright IBM Corp. 2000,2005 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

A partir deste momento seguir as opções comuns de instalação do SO

IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM 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

Pressione 1 e Enter

 Preserving 263779 bytes of symbol table [/usr/lib/drivers/hd_pin_bot]


 ******* 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.



Digite 1 para usar o Inglês.

 
>>> 1 Type 1 and press Enter to have English during install.
 2 Entreu 2 i premeu Intro per veure la instal·lació en català.
 3 Entrez 3 pour effectuer l'installation en français.
 4 Für Installation in deutscher Sprache 4 eingeben
 und die Eingabetaste drücken.
 5 Immettere 5 e premere Invio per l'installazione in Italiano.
 6 Digite 6 e pressione Enter para usar Português na instalação.
 7 Escriba 7 y pulse Intro para la instalación en español.











 88 Help ?


>>> Choice [1]: 1

Aqui, é importante realizar algumas customizações antes de prosseguir. Opção 2

                      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 Make Additional Disks Available

 5 Select Storage Adapters






 88 Help ?
 99 Previous Menu

>>> Choice [1]: 2

Modifique a Edição a ser instalada de acordo com sua licença de uso. No meu caso vou utilizar a Enterprise. Opção 5.

                          Installation and Settings

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

    1 System Settings:
      Method of Installation.............New and Complete Overwrite
      Disk Where You Want to Install.....hdisk0

    2 Primary Language Environment Settings (AFTER Install):
      Cultural Convention................English (United States)
      Language ..........................English (United States)
      Keyboard ..........................English (United States)
      Keyboard Type......................Default
    3 Security Model.......................Default 
    4 More Options (Software install options)
    5 Select Edition.......................express
>>> 0 Install with the current 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

Abaixo vemos a alteração da Edição de express para enterprise. Agora configuramos os discos de destino na opção 1

                          Installation and Settings

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

    1 System Settings:
      Method of Installation.............New and Complete Overwrite
      Disk Where You Want to Install.....hdisk0

    2 Primary Language Environment Settings (AFTER Install):
      Cultural Convention................English (United States)
      Language ..........................English (United States)
      Keyboard ..........................English (United States)
      Keyboard Type......................Default
    3 Security Model.......................Default 
    4 More Options (Software install options)
    5 Select Edition.......................enterprise
>>> 0 Install with the current 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

 

Como alocamos apenas um lv de 40G no VIO para cada uma das LPARs, vemos um único disco de 40G disponível para instalar o AIX. Pressione 0.

                 Change Disk(s) Where You Want to Install

Type one or more numbers for the disk(s) to be used for installation and press
Enter. To cancel a choice, type the corresponding number and Press Enter.
At least one bootable disk must be selected. The current choice is indicated
by >>>.

        Name   Location Code    Size(MB)   VG Status   Bootable

>>> 1   hdisk0 none             40960      none        Yes    No 






>>> 0 Continue with choices indicated above
 55 More Disk Options
 66 Disks not known to Base Operating System Installation
 77 Display More Disk Information
 88 Help ?
 99 Previous Menu

>>> Choice [0]:

 

Após confirmados estes ajustes, podemos prosseguir com a instalação. Opção 0

                          Installation and Settings

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

    1 System Settings:
      Method of Installation.............New and Complete Overwrite
      Disk Where You Want to Install.....hdisk0

    2 Primary Language Environment Settings (AFTER Install):
      Cultural Convention................English (United States)
      Language ..........................English (United States)
      Keyboard ..........................English (United States)
      Keyboard Type......................Default
    3 Security Model.......................Default 
    4 More Options (Software install options)
    5 Select Edition.......................enterprise
>>> 0 Install with the current 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]: 0

A seguir aparece um Sumário com as opções feitas. Pressione 1 para continuar.

                          Overwrite Installation Summary

Disks: hdisk0
Cultural Convention: en_US
Language: en_US
Keyboard: en_US
JFS2 File Systems Created: Yes
Graphics Software: Yes
System Management Client Software: Yes
Enable System Backups to install any system: Yes
Selected Edition: enterprise
 
Optional Software being installed: 
 
 
 
 
 
>>> 1 Continue with Install
                     +-----------------------------------------------------
    88 Help ?        | WARNING: Base Operating System Installation will
    99 Previous Menu | destroy or impair recovery of ALL data on the
                     | destination disk hdisk0.
>>> Choice [1]: 1

 

Agora vamos tomar um café e aguardar o término da instalação.

                     Installing Base Operating System




 Please wait...













    Approximate   Elapsed time
 % tasks complete (in minutes)

      0             0
Após o término da instalação, devemos escolher o tipo de terminal VT100.
                            Set Terminal Type 
The terminal is not properly initialized. Please enter a terminal type 
and press Enter. Some terminal types are not supported in 
non-English languages. 

     ibm3101         tvi912          vt330          aixterm
     ibm3151         tvi920          vt340          dtterm
     ibm3161         tvi925          wyse30         xterm
     ibm3162         tvi950          wyse50         lft
     ibm3163         vs100           wyse60         sun
     ibm3164         vt100           wyse100 
     ibmpc           vt320           wyse350 

               +-----------------------Messages------------------------
               | If the next screen is unreadable, press Break (Ctrl-c)
     88 Help ? | to return to this screen.
               | 
>>> Choice []: vt100

 

No installation Assistant, configuramos a senha de root por segurançae em seguida sair usando Task Completed.

                             Installation Assistant

Move cursor to desired item and press Enter.

 Set Dat and Time
 Set root password
 Configure Network Communications
 Install Software Applications
 Using SMIT (information Only)
 Tasks Completed - Exit to Login












F1=Help        F2=Refresh            F3=Cancel          Esc+8=Image
Esc+9=Shell    Esc+0=Exit            Enter=Do
Prompt de Login do AIX. Instalação concluída.
 
 AIX Version 6
 Copyright IBM Corporation, 1982, 2014.
 Console login: root
 root's Password: 
*******************************************************************************
*                                                                             *
*                                                                             *
*                           Welcome to AIX Version 6.1!                       *
*                                                                             *
*                                                                             *
* Please see the README file in /usr/lpp/bos for information pertinent to     *
* this release of the AIX Operating System.                                   *
*                                                                             *
*                                                                             *
*******************************************************************************

#

Próximos passos configurar o AIX. (próximo artigo)

 

Douglas Ribas de Mattos
E-mail: douglasmattos0@gmail.com
LinkedIn: https://www.linkedin.com/in/douglasmattos0/
Blog: http://www.douglasmattos.com
Twitter: @douglasmattos0

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s