AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Is it possible to access WPAR in a network

    Posted Wed February 11, 2009 10:06 AM

    Originally posted by: SystemAdmin


    Hi Everyone,

    I created a WPAR on my AIX 6.1 box. But after assigning a static ip to wpar. I can access WPAR by global environment server. But was unable to access it through local machine through ssh separately.
    Now question arises is can WPAR be accessed separately through network.
    If yes, please let me know the procedure.
    #AIX-Forum


  • 2.  Re: Is it possible to access WPAR in a network

    Posted Wed February 11, 2009 06:39 PM

    Originally posted by: bassemir


    Yes WPARs are assessable from the network. Can the static IP address you assigned to the WPAR be resolved by the DNS to a hostname? Is the static IP address you used on the subnet the global system is connected to?

    When I create a WPAR, a very basic WPAR with no fancy extra r/w file systems I will run the command:

    mkwpar -n mywpar

    I include an entry in my /etc/hosts file that resolves "mywpar" to an IP address on the subnet I have my system attached. I added "mywpar" to the /etc/hosts file because the local DNS will not resolve "mywpar" to an IP address.

    Naturally any other system I use to talk to the wpar has to be able to resolv "mywpar" if the IP address is not used.
    Rich
    #AIX-Forum


  • 3.  Re: Is it possible to access WPAR in a network

    Posted Thu February 12, 2009 08:52 AM

    Originally posted by: SystemAdmin


    Hey,
    Don't know why for some reasons I was getting this error while assigning network interface to my wpar.
    ERROR
    chwpar: 0960-111 network.interface = en1 must refer to an active global network interface.
    en1 not found in ( en0 ).

    But somehow got resolved and tried couple of times.
    Anyways thanks
    #AIX-Forum


  • 4.  Re: Is it possible to access WPAR in a network

    Posted Fri February 20, 2009 06:31 PM

    Originally posted by: nagger


    You should be making your WPAR with network parameters like:

    mkwpar -n fred -h bloggs -N interface=en0 netmask=255.255.255.0 address=1.2.3.4 -r

    And arranging with DNS for the host "bloggs" to map to the address 1.2.3.4
    The -r is important too.

    thanks Nigel
    #AIX-Forum