Anda di halaman 1dari 8

INSTALLING VIO SERVER

IBM VIRTUAL I/O SERVER The Virtual I/O Server is part of the eServer p5 Advanced Power Virtualization hardware feature. Virtual I/O Server allows sharing of physical resources between LPARs including virtual SCSI and virtual networking. This allows more efficient utilization of physical resources through sharing between LPARs and facilitates server consolidation. INSTALLATING A VIO SERVER USING CDROM You have Three options to install the AIX-based VIO Server: 1. Install from CD by booting lpar from cdrom 2. Install from network via an AIX NIM-Server 3. Install from cd using hmc Installation method #1 is probably the more frequently used method in a pure Linux environment as installation method #2 requires the presence of an AIX NIM (Network Installation Management) server. Both methods differ only in the initial boot step and are then the same. They both lead to the following installation screen:

Elapsed time since release of system processors: 51910 mins 20 secs ------------------------------------------------------------------------------Welcome to the Virtual I/O Server. boot image timestamp: 10:22 03/23 The current time and date: 17:23:47 08/10/2005 number of processors: 1 size of memory: 2048MB

boot device: /pci@800000020000002/pci@2,3/ide@1/disk@0:\ppc\chrp\bootfile.exe SPLPAR info: entitled_capacity: 50 platcpus_active: 2 This system is SMT enabled: smt_status: 00000007; smt_threads: 2 kernel size: 10481246; 32 bit kernel -------------------------------------------------------------------------------

The next step then is to define the system console. After some time you should see the following screen: ******* 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 drcken, um diese Datenstation als Systemkonsole zu verwenden. Premere il tasto 1 ed Invio per usare questo terminal come console.

88 Help ?

This is the main installation menu of the AIX-based VIO-Server: 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 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 >>> 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]: Selection of disks:

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

Name Location Code Size(MB) VG Status Bootable Maps 1 hdisk0 03-08-00-3,0 70006 none Yes No 2 hdisk1 03-08-00-4,0 70006 none Yes No 3 hdisk2 03-08-00-5,0 70006 none Yes No 4 hdisk3 03-08-00-8,0 70006 none Yes No >>> 0 Continue with choices indicated above 55 More Disk Options 66 Devices not known to Base Operating System Installation 77 Display More Disk Information 88 Help ? 99 Previous Menu Choice [0]: Now start the installation. Installing Base Operating System Please wait... Approximate Elapsed time % tasks complete (in minutes) 8 0 1% of mksysb data restored. ------------------------------------------------------------------------------Welcome to the Virtual I/O Server. boot image timestamp: 17:44 08/10 The current time and date: 17:46:01 08/10/2005 number of processors: 1 size of memory: 2048MB

boot device: /pci@800000020000002/pci@2,4/pci1069,b166@1/scsi@0/sd@3:2 SPLPAR info: entitled_capacity: 50 platcpus_active: 2 This system is SMT enabled: smt_status: 00000007; smt_threads: 2 kernel size: 12405120; 64 bit kernel ------------------------------------------------------------------------------Saving Base Customize Data to boot disk Starting the sync daemon Starting the error daemon System initialization completed. Setting tunable parameters...complete Starting Multi-user Initialization Performing auto-varyon of Volume Groups Activating all paging spaces 0517-075 swapon: Paging device /dev/hd6 is already active. swapon: Paging device /dev/paging00 activated. The current volume is: /dev/hd1 Primary superblock is valid. The current volume is: /dev/hd10opt Primary superblock is valid. Performing all automatic mounts Multi-user initialization completed System reconfiguration in progress. Please wait.

Rebuild of Scriptinfo file is complete Checking for srcmstr active...complete Starting tcpip daemons: 0513-059 The syslogd Subsystem has been started. Subsystem PID is 217224. Aug 10 12:46:40 localhost syslog:err|error syslogd: /tmp/syslog.out: errno = 2

0513-059 The sendmail Subsystem has been started. Subsystem PID is 180374. 0513-059 The portmap Subsystem has been started. Subsystem PID is 69844. 0513-059 The inetd Subsystem has been started. Subsystem PID is 118936. 0513-059 The snmpd Subsystem has been started. Subsystem PID is 184462. 0513-059 The hostmibd Subsystem has been started. Subsystem PID is 131306. 0513-059 The snmpmibd Subsystem has been started. Subsystem PID is 172216. 0513-059 The aixmibd Subsystem has been started. Subsystem PID is 204952. 0513-059 The muxatmd Subsystem has been started. Subsystem PID is 164006. Finished starting tcpip daemons. Starting NFS services: 0513-059 The biod Subsystem has been started. Subsystem PID is 176302. 0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 262390. 0513-059 The ctrmc Subsystem has been started. Subsystem PID is 229540. Completed NFS services. IBM Virtual I/O Server login: 3 Initial setup After the reboot you are presented with the VIO-Server login prompt. Login as special user id padmin. No initial default password is set. Immediately after login you are forced to set a new password. [compat]: 3004-610 You are required to change your password. Please choose a new one. padmin's New password: Enter the new password again:

The following file has been updated: .profile Changes will take affect at next login. Before you can do anything you have to accept the I/O Server license. This is done with the

license command. The I/O Server license must be accepted before running this command. Only the chlang command may be run before accepting the license. To view the license, run the license command with the -view option. If the -lang flag is not specified the license will by displayed in the current locale (set by the chlang command). If the license is not available in the language selected, English will be the default. To accept the license, run the license command with the -accept option. Locale currently set to: "en_US". Usage: license [-view] [-accept] [-lang Name] license [-ls] View and accept the I/O Server license agreement. -accept Accept the license agreement. -lang Specifies the language-territory (locale name) the license is displayed in. -ls Lists available locales. -view Displays the license agreement.

Please enter: license -accept

Once you are logged in as user padmin you find yourself in a restricted Korn shell with only a limited set of commands. You can see all available commands with the command help. All these commands are shell aliases to a single SUID-binary called ioscli which is located in the directory /usr/ios/cli/bin. If you are familiar with AIX you will recognize most commands but most command line parameters differ from the AIX versions.

Asking help in vio As there are no man pages available you can see all options for each command separately by issueing the command help . Here is an example for the command lsmap: VIO LSMAP COMMAND SYNTAX

$ help lsmap Usage: lsmap {-vadapter ServerVirtualAdapter | -plc PhysicalLocationCode | -all} [-net] [-fmt delimiter] Displays the mapping between physical and virtual devices. -all Displays mapping for all the server virtual adapter

devices. -vadapter Specifies the server virtual adapter device by device name. -plc Specifies the server virtual adapter device by physical location code. -net Specifies supplied device is a virtual server Ethernet adapter. -fmt Divides output by a user-specified delimiter. A very important command is oem_setup_env which gives you access to the regular AIX command line interface. This is provided solely for the installation of OEM device drivers.

Anda mungkin juga menyukai