Upload
buiminh
View
227
Download
0
Embed Size (px)
Citation preview
© 2016, 2017 IBM Corporation 1
© 2016, 2017 IBM Corporation
Session ID:
Agenda Key:
Cognitive Systems
35CO How to Get Started with VIO Server Install and configurationGary Konicek - [email protected]
IBM Lab Services
170295
35CO
© 2016, 2017 IBM Corporation
Cognitive Systems
2
Steps for installing VIOS
• PowerVM Standard or Enterprise Edition must be ordered
• Cable at least one ethernet port per VIOS and obtain an IP address from your network team for each VIOS
– Must be on a network that can communicate with the HMC
• Create VIOS Partition(s)
– Assign physical adapters
• Choose install method
– HMC VIOS repository over the network
– HMC DVD over the network
– DVD media in system DVD drive
– NIM server infrastructure
• Activate partition for network install or boot to SMS (like DST on IBM i) if installing from physical media
• Complete post-install configuration tasks
– Configure network
– Adjust attributes on fiber and disk resources (dyntrk, fast_fail, reserve policy, etc). This can be done with rules command in VIOS 2.2.4.0 or later (rules –o deploy –d)
© 2016, 2017 IBM Corporation 2
© 2016, 2017 IBM Corporation
Cognitive Systems
Creating VIOS Partition and Install
3
© 2016, 2017 IBM Corporation
Cognitive Systems
4
Enhanced+ - Create Virtual I/O Server
© 2016, 2017 IBM Corporation 3
© 2016, 2017 IBM Corporation
Cognitive Systems
5
Enhanced+ - Create Virtual I/O Server
© 2016, 2017 IBM Corporation
Cognitive Systems
6
Enhanced+ - Create Virtual I/O Server
© 2016, 2017 IBM Corporation 4
© 2016, 2017 IBM Corporation
Cognitive Systems
7
Enhanced+ - Create Virtual I/O Server
© 2016, 2017 IBM Corporation
Cognitive Systems
8
Enhanced+ - Create Virtual I/O Server
© 2016, 2017 IBM Corporation 5
© 2016, 2017 IBM Corporation
Cognitive Systems
9
VIOS Network Installation via HMC Enhanced+
© 2016, 2017 IBM Corporation
Cognitive Systems
10
VIOS Network Installation via HMC Enhanced+Additional choices:
Management Console DVDNIM server
Open “Monitor vTerm” for console messages
IP information for VIOS
© 2016, 2017 IBM Corporation 6
© 2016, 2017 IBM Corporation
Cognitive Systems
11
After install completes - Open Console and Login to VIOS
• TCP/IP and other subsystems will start• Will be prompted to login using padmin• Will be prompted to set password
© 2016, 2017 IBM Corporation
Cognitive Systems
12
Accept Terms & Conditions and License Agreement
• Enter “a” to accept software maintenance license agreement
• Type “license –accept” to accept software license agreement
© 2016, 2017 IBM Corporation 7
© 2016, 2017 IBM Corporation
Cognitive Systems
13
Protecting the VIOS Load Source Disk
• Verify mirror operation was successful with lsvg command
• lsvg –lv rootvg
• If the number 2 is present in the PVs column, it was successful
– Use bootlist command to add the second disk to the bootlist
• bootlist –mode normal hdisk0 hdisk1
– Reboot VIOS
• shutdown -restart
• VIOS is typically installed on one disk and mirrored to another disk
• If RAID-10 was set up prior to install or protected on SAN, nothing more to do
• If installed on one disk, need to mirror to second disk
– Use chsp command to add second disk to storage pool
• chsp –add hdisk1
– Use mirrorios command
• mirrorios –f -defer hdisk1
© 2016, 2017 IBM Corporation
Cognitive Systems
14
VIOS post-install tasks: network configuration
• Network Configuration
– On VIOS console, use the lsdev command to identify the correct network device name
• lsdev | grep ent
– Example: ent0
– Use the corresponding numeric network interface (en0 in our example) in the mktcpipcommand to configure networking:
• mktcpip -hostname <VIOS hostname> -inetaddr <VIOS IP address> -interface <enX> –gateway <gateway IP address> –nsrvaddr <DNS server IP address> –nsrvdomain<domain name> –start
– Use lstcpip to check the network configuration or rmtcpip –f –all to start over
– Or use cfgassist menu
• Network Interface must be enabled in order for RMC connection to be active between HMC and VIOS LPAR
© 2016, 2017 IBM Corporation 8
© 2016, 2017 IBM Corporation
Cognitive Systems
15
VIOS post-install tasks: network configuration
• Network Configuration– On VIOS console, use the lsdev command to identify the correct network device name
• lsdev | grep ent Example: ent0– Configure ip address on interface (en0 in this example)
• cfgassist menu• mktcpip command
– mktcpip -hostname <VIOS hostname> -inetaddr <VIOS IP address> -interface <enX> –gateway <gateway IP address> –nsrvaddr <DNS server IP address> –nsrvdomain<domain name> –start
– Use lstcpip to check the network configuration or rmtcpip –f –all to start over
• Network Interface must be enabled in order for RMC connection to be active between HMC and VIOS LPAR
© 2016, 2017 IBM Corporation
Cognitive Systems
16
Using cfgassist to Configure TCP/IP
Select enX interface
Not entX or etX
© 2016, 2017 IBM Corporation 9
© 2016, 2017 IBM Corporation
Cognitive Systems
17
Set TCP/IP Parameters
© 2016, 2017 IBM Corporation
Cognitive Systems
18
VIOS post-install tasks: attribute changes
• Starting with VIOS 2.2.4.0, the “rules” command will handle adjusting many of the VSCSI and NPIV attributes
• For virtual scsi
– Change reserve_policy attribute to no_reserve for each hdisk in both VIOs that will be used with IBM i partition
– Change queue_depth for each hdisk in both VIOs
– Change dyntrk and fc_err_recov attributes on all fscsi resources
• For NPIV
– Change dyntrk and fc_err_recov attributes on all fscsi resources
– Change num_cmd_elems on all fcs resources
© 2016, 2017 IBM Corporation 10
© 2016, 2017 IBM Corporation
Cognitive Systems
19
Need to define storage
• For virtual scsi (vSCSI), will generally have storage volumes created and mapped to the VIOS host resource(s) in storage subsystem before creating IBM i partition
• For NPIV, will use virtual WWPN (vWWPN) to zone the SAN switch and configure host resource in storage subsystem. Will need to map storage volumes after creating but before activating the IBM i partition
© 2016, 2017 IBM Corporation
Cognitive Systems
Creating IBM i Partition
20
© 2016, 2017 IBM Corporation 11
© 2016, 2017 IBM Corporation
Cognitive Systems
21
IBM i LPAR Creation – Planning
• Put IBM i LPARs in their own shared processor pool
– Only pay for the IBM i licenses you need
• Create virtual client adapters (or add them after LPAR creation)
• Create virtual ethernet adapter(s)
• Set Tagged I/O to use a virtual adapter for the load source and alternate load source after virtual adapters have been created
© 2016, 2017 IBM Corporation
Cognitive Systems
22
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation 12
© 2016, 2017 IBM Corporation
Cognitive Systems
23
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation
Cognitive Systems
24
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation 13
© 2016, 2017 IBM Corporation
Cognitive Systems
25
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation
Cognitive Systems
26
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation 14
© 2016, 2017 IBM Corporation
Cognitive Systems
27
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation
Cognitive Systems
28
Deploy IBM i Partition Template
© 2016, 2017 IBM Corporation 15
#COMMONS17www.common.org
Don’t Forget Your Session Surveys
• Sign in to the Online Session Guide (www.common.org/sessions)
• Go to your personal schedule
• Click on the session that you attended
• Click on the Feedback Survey button located above the abstract
Completing session surveys helps us plan future programming and provides feedback used in speaker awards. Thank you for your participation.
© 2016, 2017 IBM Corporation
Cognitive Systems
https://facebook.com/IBMPowerSystems
https://twitter.com/IBMPowerSystems
https://www.linkedin.com/company/ibm-power-systems
IBM Power Systems Official Channels:
http://www.youtube.com/c/ibmpowersystems
https://www.ibm.com/blogs/systems/topics/servers/power-
systems/
Power Systems Social Media
30
© 2016, 2017 IBM Corporation 16
© 2016, 2017 IBM Corporation
Cognitive Systems
31
More to Follow:
Blogs to Follow More to Follow Hashtags To Use
• IBM Systems Magazine You and I (Steve Will)
• IBM Systems Magazine i-Can (Dawn May)
• IBM Systems Magazine: iDevelop (Jon Paris and
Susan Gantner)
• IBM Systems Magazine: iTalk with Tuohy
• IBM DB2 for i (Mike Cain)
• IBM DB2 Web Query for i (Doug Mack)
@IBMSystems@COMMONug
@IBMChampions@IBMSystemsISVs
@LinuxIBMMag@OpenPOWERorg
@AIXMag@IBMiMag
@SAPonIBMi@SiDforIBMi
@IBMAIXeSupp@IBMAIXdoc
#PowerSystems
#IBMi
#IBMAIX
#POWER8
#LinuxonPower
#OpenPOWER
#HANAonPower
#ITinfrastructure
#OpenSource
#HybridCloud
#BigData