Sponsored Content
Full Discussion: AIX: DLPAR VFC - HMC v9
Operating Systems AIX AIX: DLPAR VFC - HMC v9 Post 303030813 by aixkidbee on Saturday 16th of February 2019 10:08:02 AM
Old 02-16-2019
AIX: DLPAR VFC - HMC v9

Hey All,

I have running dual VIOS on a P9 systems, and just created a new LPAR profile. My objective is to create LPAR Client VFC adapters, and then DLPAR VFC Server adapters on the VIOS.


In the HMC v9 Enhanced GUI, I have DLPAR a VFC adapter to both VIOS, however, you can't specify the partner adapter to connect to? Why is that?


Also, when I use command line to DLPAR the VFC adapters using chhwres with the -s option, to specify the partner adapter when adding in the VFC adapters to a VIOS, it says that the VFC adapter with X value already has the X value partner adapter already associated with another adapter.
e.g In the VIOS profile, an existing Server Fibre Channel Adapter has Adapter ID 14 and Partner Adapter ID 11, and I want to DLPAR Server Fibre Channel Adapter Adapter ID 15 and Partner Adapter ID 11 (for another LPAR of course) and it won't allow.


Command:
Code:
chhwres -m xyz123 -r virtualio --rsubtype fc -o a -p VIOS_A  -a  "adapter_type=server,remote_lpar_name=xyz123,remote_slot_num=14" -s 11


Why is this failing? All existing Server Fibre Channel adapters in the VIOS profile all have obviously different Server Adapter IDs but all pointing to the same Partner Adapter IDs to their own LPAR clients.

Last edited by vbe; 02-16-2019 at 11:21 AM..
 

10 More Discussions You Might Find Interesting

1. AIX

AIX HMC LSCOD with space

I am trying to run the lscod command against an HMC that has managed system names with spaces. Tried enclosing the managed system names in quotes; single and double. How do I get the command to run? ssh hmcname lscod -m 'managed system 1' -t cap -r proc -c cuod Thanks, ~Donavon (0 Replies)
Discussion started by: djlerman
0 Replies

2. AIX

AIX and HMC installation issue

I started the AIX install with a fiber channel disk, and let it run: restricted by GSA ADP Schedule Contract with IBM Corp. . . . . . << End of copyright notice for perfagent.tools >>. . . . ... (2 Replies)
Discussion started by: Gideon1a
2 Replies

3. AIX

Virtualizing the Fiber card (VFC) on P595

Hi, We have a P595 machine with a dual port Fiber card per VIOs. We have two VIOs in the box. VIO1: ---> 2 port Fiber Card VIO2: ---> 2 port Fiber Card One port on each fiber card is utilized. Connected to SAN switches. We are getting all disks from SAN both for VIOs and LPARs. Now... (0 Replies)
Discussion started by: aixromeo
0 Replies

4. AIX

AIX HMC - Getting Colon ":" in output

Hi, I am executing below commands on HMC. I see that there is only colon ":" in output. Can someone please help why I am getting ":" in output? Why I am not getting proper output? xxxxx@yyyyhmc1:~> viosvrcmd -m PCC-p590#2-SN024D8F0 -p ppvio1 -c "lsmap -all" :xxxxx@yyyyhmc1:~> viosvrcmd... (0 Replies)
Discussion started by: marya
0 Replies

5. AIX

Upgrade AIX without HMC

Hi all, i would like to know if it's possible upgrade AIX 5.3 to 6.1 on a LPAR without use the HMC. so i would like to know if i must use the console to do it or i can do all from the up&running system on LPAR. Thanks in advance. Mario (4 Replies)
Discussion started by: Zio Bill
4 Replies

6. AIX

HMC - tracking dlpar

I am trying to generate a report to track dlpar operation performed on a MS and was wondering if anyone has done this before. I can get history from HMC using lssvcevents , but this does not give me details as to what quantity was added or removed . Any thoughts ? Thanks (3 Replies)
Discussion started by: mk8570
3 Replies

7. AIX

Install AIX lpar via hmc, can't access cd drive

Hi , I would like to access the cd drive of , i have power series server , and have lpars . I try to install AIX in an lpar via HMC, but it can't access the cd drive. how i can make installtion or make the the cd drive accessible in hmc or in power series server? Thanks in advance (2 Replies)
Discussion started by: prpkrk
2 Replies

8. AIX

Install AIX , do i need hmc console

Hi, For installing aix on power series , do i need to install hmc first? or i can connect hmc after? Rgs, (7 Replies)
Discussion started by: prpkrk
7 Replies

9. AIX

View IP of HMC from AIX

Trying to get the IP address of the HMC connected to some servers running AIX 6 and 7. I thought this would be as easy as running 'lsrsrc IBM.MCP IPAddresses', but when I run that command, the resource is empty. Is there some where else I should be looking, or is there a reason why this resource... (5 Replies)
Discussion started by: acascianelli
5 Replies

10. AIX

IBM VIOS AIX HMC Error

hello P6 was managed by HMC, tried to install on it VIOS 2.2.6 and got this error message Hosting requires a hosting partition -- boot not permitted vios-4 - imgbb.com then after creating an lpar in HMC got this message B2001230 vios-3 - imgbb.com anyone know how to solve this... (3 Replies)
Discussion started by: filosophizer
3 Replies
Log::Any::Adapter(3pm)					User Contributed Perl Documentation				    Log::Any::Adapter(3pm)

NAME
Log::Any::Adapter -- Tell Log::Any where to send its logs VERSION
version 0.07 SYNOPSIS
use Log::Any::Adapter; # Use Log::Log4perl for all categories # Log::Log4perl::init('/etc/log4perl.conf'); Log::Any::Adapter->set('Log4perl'); # Use Log::Dispatch for Foo::Baz # use Log::Dispatch; my $log = Log::Dispatch->new(outputs => [[ ... ]]); Log::Any::Adapter->set( { category => 'Foo::Baz' }, 'Dispatch', dispatcher => $log ); # Use Log::Dispatch::Config for Foo::Baz and its subcategories # use Log::Dispatch::Config; Log::Dispatch::Config->configure('/path/to/log.conf'); Log::Any::Adapter->set( { category => qr/^Foo::Baz/ }, 'Dispatch', dispatcher => Log::Dispatch::Config->instance() ); # Use your own adapter for all categories # Log::Any::Adapter->set('+My::Log::Any::Adapter', ...); DESCRIPTION
The "Log-Any-Adapter" distribution implements Log::Any class methods to specify where logs should be sent. It is a separate distribution so as to keep "Log::Any" itself as simple and unchanging as possible. You do not have to use anything in this distribution explicitly. It will be auto-loaded when you call one of the methods below. ADAPTERS
In order to use a logging mechanism with "Log::Any", there needs to be an adapter class for it. Typically this is named Log::Any::Adapter::something. The following adapters are available on CPAN as of this writing: o Log::Any::Adapter::Log4perl - work with log4perl o Log::Any::Adapter::Dispatch - work with Log::Dispatch or Log::Dispatch::Config You may also find other adapters on CPAN by searching for "Log::Any::Adapter", or create your own adapter. See Log::Any::Adapter::Development for more information on the latter. SETTING AND REMOVING ADAPTERS
Log::Any::Adapter->set ([options, ]adapter_name, adapter_params...) This method sets the adapter to use for all log categories, or for a particular set of categories. adapter_name is the name of an adapter. It is automatically prepended with "Log::Any::Adapter::". If instead you want to pass the full name of an adapter, prefix it with a "+". e.g. # Use My::Adapter class Log::Any::Adapter->set('+My::Adapter', arg => $value); adapter_params are passed along to the adapter constructor. See the documentation for the individual adapter classes for more information. An optional hash of options may be passed as the first argument. Options are: category A string containing a category name, or a regex (created with qr//) matching multiple categories. If not specified, all categories will be affected. lexically A reference to a lexical variable. When the variable goes out of scope, the adapter setting will be removed. e.g. { Log::Any::Adapter->set({lexically => my $lex}, ...); # in effect here ... } # no longer in effect here "set" returns an entry object, which can be passed to "remove". Log::Any::Adapter->remove (entry) Remove an entry previously returned by "set". MULTIPLE ADAPTER SETTINGS
"Log::Any" maintains a stack of entries created via "set". When you get a logger for a particular category, "Log::Any" will work its way down the stack and use the first matching entry. Whenever the stack changes, any "Log::Any" loggers that have previously been created will automatically adjust to the new stack. For example: my $log = Log::Any->get_logger(); $log->error("aiggh!"); # this goes nowhere ... { Log::Any::Adapter->set({ local => my $lex }, 'Log4perl'); $log->error("aiggh!"); # this goes to log4perl ... } $log->error("aiggh!"); # this goes nowhere again SEE ALSO
Log::Any COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-02-22 Log::Any::Adapter(3pm)
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy