Sponsored Content
Operating Systems AIX LPAR - What is my VIO (hostname, IP, ...) Post 302475633 by kah00na on Monday 29th of November 2010 10:32:55 AM
Old 11-29-2010
There isn't anyway I know of to get the hostname, IP, or even the LPAR id of the VIO server your LPAR is going through. You can, however, find the serial number of your managed system and that limits down the VIO search to just the VIO servers on that physical box. You can then compare the slot numbers of the client vscsi's to those on the VIO servers and figure out where it is connected.

You can see with this output that this LPAR is running on the managed system with serial number "200888E" and is connected to a VIO server on port C60.
Code:
host:/:$ lscfg -vl vscsi0
  vscsi0           U9117.570.200888E-V6-C60-T1  Virtual SCSI Client Adapter

        Hardware Location Code......U9117.570.200888E-V6-C60-T1

host:/:$

You would then have to run an "lsmap -all" command and find this slot number on the VIO server:
Code:
vios1:/home/padmin:# lsmap -all | grep C60
vhost5          U9117.570.200888E-V40-C60                    0x00000006
vios1:/home/padmin:#

If you are using the same slot numbers on both of your VIO servers, this can complicate things a little more, but by examing the "lsmap -all" output on your VIO servers, you could figure it out.
 

10 More Discussions You Might Find Interesting

1. AIX

Restoring mksysb to vio lpar?

I have a standard template I deploy for each of my AIX servers. It's in a mksysb format which I pulled via the nim server after I originally set it up. I'm trying to restore this mksysb over the wire to a remote system. The remote system is an lpar running under vio (no HMC attached). The disk... (1 Reply)
Discussion started by: scottsl
1 Replies

2. UNIX for Dummies Questions & Answers

Unix VIO vs Dynamic LPAR

Can you have a Dynamic LPAR without VIO and if yes is there a benefit to having both? I am attempting to implement VIO and Resource pooling at my company and want to understand the limitations. Also, I have been told the managing and allocation of the Logical Volumes is a time consuming task as... (0 Replies)
Discussion started by: bombers73
0 Replies

3. AIX

Lost root password in LPAR (VIO Server).

Hi, I've lost the root password in a virtual partition created in a IBM Vio Server. May I recover that somehow? Thanks (2 Replies)
Discussion started by: r4mp4g3
2 Replies

4. AIX

LPAR and vio disk mapping

We have a frame the uses 2 vios that assign disk storage to LPAR's. We have a LPAr with multiple disk and I want to know how do I tell which vio is serving the disk. For example the LPAr has hdisk 0, 1, 2, 3 all the same size. I want to know which vio is serving hdisk0, 1. (4 Replies)
Discussion started by: daveisme
4 Replies

5. AIX

VIO Backing Disk LPAR how to find which one ?

hello Folks, my vio: $ lsmap -all SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------ vhost0 U9117.MMA.6534BE4-V2-C11 0x00000003 VTD ... (0 Replies)
Discussion started by: filosophizer
0 Replies

6. AIX

CDROM Issue on LPAR HMC VIO

Whenever I assign/unassign a CDROM ( RAID CTRL ) to Active LPAR from HMC, I have to reboot the LPAR. How can I do it without rebooting the LPARS. POWER6 with HMC LPARS = AIX 6.1 Any info developerWorks : AIX and UNIX : PowerVM Forum : Moving CD-ROM/DVD-ROM dynamically ... But... (5 Replies)
Discussion started by: filosophizer
5 Replies

7. AIX

Possible to connect a LPAR to two different VIO's?

Just a question which may seem dumb to some out there, but then again I am not a super technie so that's my excuse. Is it possible to say provision a test AIX LPAR (has a 10gb boot lun and 20gb data) under a VIO which has connectivity to SAN Array A so it can see the disks provisioned to it,... (2 Replies)
Discussion started by: Johnny1314
2 Replies

8. AIX

VIO server does not show new LPAR

Hi All, I've been trying to create a new LPAR for some days now but I can't get the VIO server to recognize the new LPAR. This is what I did: On HMC create new LPAR On HMC create new virtual scsi adapter for LPAR in VIO profile On HMC add new virtual scsi adapter for LPAR with DLPAR... (6 Replies)
Discussion started by: petervg
6 Replies

9. AIX

cdrom confusion on the vio client lpar

Hi In my vio server I have the below output $ lsvopt | grep -i SAPSITGS sapsitgs_cdrom TL12UP.iso 3182 In my vio client lpar I have the below output root@sapsitgs:/ # lsdev -Cc cdromcd0 Available Virtual SCSI Optical Served by VIO Server cd1... (1 Reply)
Discussion started by: newtoaixos
1 Replies

10. AIX

VIO and LPAR disk/fcs communications

:wall::wall::wall: 1. I have created an LPAR in the HMC. 2. I have allocated the storage from an Hitachi AMS2500 and assigned it to the host group. 3. I have zoned the LPAR and Storage on a Brocade 5100. (The zone sees the AMS) Next I activated the LPAR in the HMC, SMS mode for the mksysb... (3 Replies)
Discussion started by: Dallasguy7
3 Replies
ypset(8)						      System Manager's Manual							  ypset(8)

NAME
ypset - bind ypbind to a particular NIS server SYNOPSYS
ypset [ -d domain ] [ -h hostname ] server DESCRIPTION
In order to run ypset, ypbind must be initiated with the -ypset or -ypsetme options. See ypbind(8). ypset tells ypbind to get NIS ser- vices for the specified domain from the ypserv(8) process running on server. In cases where several hosts on the local net are supplying NIS services, it is possible for ypbind to rebind to another host even while you attempt to find out if the ypset operation succeeded. For example, you can type: example% ypset host1 example% ypwhich host2 which can be confusing. This is a function of the NIS subsystem's attempt to know always a running NIS server, and occurs when host1 does not respond to ypbind because it is not running ypserv (or is overloaded), and host2, running ypserv, gets the binding. Server indicates the NIS server to bind to, and must be specified as a name or an IP address. This will work only if the node has a cur- rent valid binding for the domain in question, and ypbind has been set to allow use of ypset. In most cases, server should be specified as an IP address. OPTIONS
-d domain Specify a domain other than the default domain as returned by domainname(1). -h hostname Set the NIS binding on host hostname instead of the local machine. SEE ALSO
domainname(8), ypbind(8), ypcat(8), ypmatch(1), ypserv(8), yppoll(8), ypwhich(1) AUTHOR
ypset is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>. YP Tools 2.9 May 1998 ypset(8)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy