Using LogicalHostname

Hello
I am Trying to Set up a two-node cluster.
I am pasting the contents of both the /etc/hosts and ifconfig -a output.
Node 1
# cat /etc/hosts
# Internet host table
127.0.0.1 localhost
192.18.75.223 shaw.red.iplanet.com shaw loghost
#192.18.75.223 shaw loghost
#192.18.75.221 telstra # Cluster Node
192.18.75.221 telstra.red.iplanet.com telstra # Cluster Node
192.18.75.155 meadows.red.iplanet.com meadows
# pwd
/usr/cluster/bin
# ls
claccess clreslogicalhostname clsnmpmib libimsinfo2.so scha_cluster_get scshutdown
cldev clresource clsnmpuser pmfadm scha_control scsnapshot
cldevice clresourcegroup clta pnmd scha_resource_get scstat
cldevicegroup clresourcetype cltelemetryattribute sccheck scha_resource_setstatus scswitch
cldg clressharedaddress cluster scconf scha_resourcegroup_get sctelemetry
clinterconnect clrg clvxvm scdidadm scha_resourcetype_get scversions
clintr clrs hactl scdpm scinstall scvxinstall
clnas clrslh haget scdsbuilder scnas scwtadm
clnasdevice clrssa halockrun scdsconfig scnasdir
clnode clrt hasp_check scdscreate scprivipadm
clq clsetup hatimerun sceventmib scrgadm
clquorum clsnmphost libimsinfo.so scgdevs scsetup
# pwd
/usr/cluster/bin
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.18.75.223 netmask ffffff00 broadcast 192.18.75.255
groupname sc_ipmp0
ether 0:3:ba:2f:8b:6e
qfe0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
ether 8:0:20:b6:84:ac
qfe1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
ether 8:0:20:b6:84:ad
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:1
Node 2:
# cat /etc/hosts
# Internet host table
127.0.0.1 localhost
192.18.75.221 telstra.red.iplanet.com telstra loghost
#192.18.75.221 telstra loghost
192.18.75.223 shaw.red.iplanet.com shaw # Cluster Node
#192.18.75.223 shaw # Cluster Node
192.18.75.155 meadows.red.iplanet.com meadows
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.18.75.221 netmask ffffff00 broadcast 192.18.75.255
groupname sc_ipmp0
ether 0:3:ba:2d:0:a7
eri0:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
inet 192.18.75.155 netmask ffffff00 broadcast 192.18.75.255
qfe0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 8:0:20:bc:c0:cc
qfe1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 8:0:20:bc:c0:cd
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.4.2 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:2
Question:
1) If i want to add say another say 4 Logical Host names, to this existing two-node cluster . I ONLY have IP Addresses with me, how do I go about creating 4 More Logical Hostnames ?.
2) How about the interfaces, do I need to do use ifconfig to configure the interface ?
Thanks a lot in Advance

Hi,
logical hosts are usually setup as part of a resource group that defines a highly available service. See this doc for more information: http://docs.sun.com/app/docs/doc/819-0703/6n343k6fu?a=view
In order to make these new IP addresses available for the cluster, you should add them into all(!) /etc/hosts //etc/ipnodes) files, so that they are available even if your nameservice should fail. You must not configure these IP addresses using ifconfig. THe cluster will do this for you once you have configured the logical host as part of a resource group and start it.
BTW: you have configured both cluster interconnects on your qfe card. You could achieve a minimal higher availability by moving one of them to your onboard port and the public net to the qfe card. So, if your whole qfe card should fail, you still have a working cluster interconnect. On the other hand, in that case you would also have no more public net:-( and your service would failover anyway. Hmmm, I havfe to think this through. The docs state that you should spread your cluster interconnects to different NICs.
Hope that helps
Hartmut

Similar Messages

  • The hostname test01 is not authorized to be used in this zone cluster

    Hi,
    I have problems to register a LogicalHostname to a Zone Cluster.
    Here my steps:
    - create the ZoneCluster
    # clzc configure test01
    clzc:test01> info
    zonename: test01
    zonepath: /export/zones/test01
    autoboot: true
    brand: cluster
    bootargs:
    pool: test
    limitpriv:
    scheduling-class:
    ip-type: shared
    enable_priv_net: true
    sysid:
    name_service not specified
    nfs4_domain: dynamic
    security_policy: NONE
    system_locale: en_US.UTF-8
    terminal: vt100
    timezone: Europe/Berlin
    node:
    physical-host: farm01a
    hostname: test01a
    net:
    address: 172.19.115.232
    physical: e1000g0
    node:
    physical-host: farm01b
    hostname: test01b
    net:
    address: 172.19.115.233
    physical: e1000g0
    - create a RG
    # clrg create -Z test01 test01-rg
    - create Logicalhostname (with error)
    # clrslh create -g test01-rg -Z test01 -h test01 test01-ip
    clrslh: farm01b:test01 - The hostname test01 is not authorized to be used in this zone cluster test01.
    clrslh: farm01b:test01 - Resource contains invalid hostnames.
    clrslh: (C189917) VALIDATE on resource test01-ip, resource group test01-rg, exited with non-zero exit status.
    clrslh: (C720144) Validation of resource test01-ip in resource group test01-rg on node test01b failed.
    clrslh: (C891200) Failed to create resource "test01:test01-ip".
    Here the entries in /etc/hosts from farm01a and farm01b
    172.19.115.119 farm01a # Cluster Node
    172.19.115.120 farm01b loghost
    172.19.115.232 test01a
    172.19.115.233 test01b
    172.19.115.252 test01
    Hope somebody could help.
    regards,
    Sascha
    Edited by: sbrech on 13.05.2009 11:44

    When I scanned my last example of a zone cluster, I spotted, that I added my logical host to the zone clusters configuration.
    create -b
    set zonepath=/zones/cluster
    set brand=cluster
    set autoboot=true
    set enable_priv_net=true
    set ip-type=shared
    add inherit-pkg-dir
    set dir=/lib
    end
    add inherit-pkg-dir
    set dir=/platform
    end
    add inherit-pkg-dir
    set dir=/sbin
    end
    add inherit-pkg-dir
    set dir=/usr
    end
    add net
    set address=applh
    set physical=auto
    end
    add dataset
    set name=applpool
    end
    add node
    set physical-host=deulwork80
    set hostname=deulclu
    add net
    set address=172.16.30.81
    set physical=e1000g0
    end
    end
    add sysid
    set root_password=nMKsicI310jEM
    set name_service=""
    set nfs4_domain=dynamic
    set security_policy=NONE
    set system_locale=C
    set terminal=vt100
    set timezone=Europe/Berlin
    end
    I am refering to:
    add net
    set address=applh
    set physical=auto
    end
    So as far as I can see this is missing from your configuration. Sorry for leading you in the wrong way.
    Detlef

  • Logicalhostname IP wont failover when one member of the cluster dies

    Hi There,
    I've setup a failover cluster with 2 servers. The cluser IP is set up as a logicalhostname and each server has two network cards configured as IPMP groups.
    I can test the IPMP failover on each server by failing a network card and checkign the IP address fails over.
    I can test the logicalhost name failsover by switchign the resource group over from one node to the other
    BUT
    If I drop one member of the cluster the failover fails
    Nov 4 15:09:06 nova cl_runtime: NOTICE: clcomm: Path nova:qfe2 - gambit:qfe2 errors during initiation
    Nov 4 15:09:06 nova cl_runtime: WARNING: Path nova:ce1 - gambit:bge1 initiation encountered errors, errno = 62. Remote node may be down or unreachable through this path.
    Nov 4 15:09:06 nova cl_runtime: WARNING: Path nova:qfe2 - gambit:qfe2 initiation encountered errors, errno = 62. Remote node may be down or unreachable through this path.
    ova
    Nov 4 15:09:08 nova Cluster.PNM: PNM daemon system error: SIOCLIFADDIF failed.: Network is down
    Nov 4 15:09:08 nova Cluster.PNM: production can't plumb 130.159.17.1.
    Nov 4 15:09:08 nova SC[SUNW.LogicalHostname,test-vle,vle1,hafoip_prenet_start]: IPMP logical interface configuration operation failed with <-1>.
    Nov 4 15:09:08 nova Cluster.RGM.rgmd: Method <hafoip_prenet_start> failed on resource <vle1> in resource group <test-vle>, exit code <1>, time used: 0% of timeout <300 seconds>
    Nov 4 15:09:08 nova ip: TCP_IOC_ABORT_CONN: local = 130.159.017.001:0, remote = 000.000.000.000:0, start = -2, end = 6
    Nov 4 15:09:08 nova ip: TCP_IOC_ABORT_CONN: aborted 0 connection
    scswitch: Resource group test-vle failed to start on chosen node and may fail over to other node(s)
    Any ideas would be appreciated as I dont understand how it all fails over correctly if the cluster is up but fails when one member is down.

    Hi,
    looking at the messages, the problem seems to be with the network setup on nova. I would suggest to try to configure the logical IP on nova manually to see if that works. If that does not it should tell you where the problem is.
    Or are you saying that manually switching the RG works, but when a node dies and cluster switches the RG it doesn't. That would be strange.
    You should also post the status of your network on nova in the failure case. There might be something wrong with your IPMP setup. Or has the public net failed completely when you killed the other node?
    Regards
    Hartmut

  • Using gcore on a process monitored by cluster

    So we want to run gcore on a process running on a suncluster
    2.1 but it doesn't work because rpc.pmfd is monitoring
    the process via /proc. gcore also uses /proc to get a
    core of a running process but only one process is allowed
    to use /proc for a process at one time. So I came up with
    a possible work around that involves killing pmfd and
    then doing some other tricks to get the cluster back into
    a sane state:
    kill rpc.pmfd
    run gcore
    kill process
    scadmin switch 'clustername' 'nodenametoswitchto' 'logicalhostname'
    scadmin stopnode 'clustername'
    restart rpc.pmfd (/etc/init.d/initpmf start) should do it.
    scadmin startnode 'clustername'
    For those of you that are very familiar with suncluster,
    does the above procedure look ok?
    -Scott

    If you kill pmfd it will panic the system. The process to do is ugly and definitely not going to be supported.
    1) Find the script that starts the process using pmfadm. Modify the script to start the process outside of pmfd.
    2) Start up cluster and run a gcore on the process.
    3) Change the script back to the way it was.
    ***) You will have to shutdown the cluster to make this change. Within pmfadm there is the option to stop restarting the process, but nothing to stop monitoring it. If you do not completely remove it from pmfd control gcore with fail. Pmfd runs a trace on the process when monitoring and gcore will fail if it cannot run a trace.
    Hope this helps,
    Chris

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

  • How can multiple family members use one account?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

  • Iphoto crashing after using mini-dvi to video adapter

    Hi, IPhoto on my Macbook is crashing. I can open it, then as soon as I scroll down it locks up and I have to force quit.
    This started happening right after I used a Mini-DVI to Video Adapter cable to hook my macbook up to my TV. The adapter/s-video connection worked and I was able to see the video on the tv. But iphoto immediately locked up the computer when I went to slide show and now it locks every time I open it.
    Any ideas?
    Thank you:)
    Dorothy

    It means that the issue resides in your existing Library.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • How do multiple family members use iTunes.? One account or multiple?

    How do multiple family members use iTunes. One account right now but apps gets added to all devices and iTunes messages go to all devices.  Can multiple accounts be setup and still have ability to share purchased items?

    Hey Ajtt!
    I have an article for you that can help inform you about using Apple IDs in a variety of ways:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using one Apple ID for iCloud and a different Apple ID for Store Purchases
    You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud. Just follow these steps:
    iPhone, iPad, or iPod touch:
    When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud.
    In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match). You may need to sign out first to change the Apple ID.
    Mac:
    Enter the Apple ID you want to use for iCloud in Apple () menu > System Preferences > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in Store > Sign In. In iTunes 11, you can also click iTunes Store > Quick Links: Account.
    PC (Windows 8):
    Enter the Apple ID you want to use for iCloud in the Control Panel. To access the iCloud Control Panel, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes. In iTunes 10, select Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    PC (Windows 7 and Vista):
    Enter the Apple ID you want to use for iCloud in Control Panel > Network and Internet > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes 10 in Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    Note: Once a device or computer is associated with your Apple ID for your iTunes Store account, you cannot associate that device or computer with another Apple ID for 90 days. Learn more about associating a device or computer to your Apple ID.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Using SQVI to generate report of open and released delivery schedule lines

    All,
    I'm using SQVI  to generate an excel spreadsheet for some buyers to show open released schedule lines because they are a 1 line item per scheduling agreement company.
    I used the logical database MEPOLDB instead of a table joint and pulled fields from EKKO(vendor, SA #,&purchasing group), EKPO(Material Number), EKEH(schedule line type), and EKET(delivery date, scheduled qty,previous qty).
    Does this sound like I'll get the results I want on paper as long as I use the right selection criteria, because the report I'm getting isn't quite what I expect? I am unable to identify which lines are authorized to ship vs. trade-off zone, planning, etc. in the report thus far.

    Hi Mark,
                 I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
    After generating SQVI program in DEV , I assigned that program  to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
    About authorization , if its not sensitive report, BASIS can restrict at transaction level.
    Regards,
    Ravi.

  • Using Mini DVI to VGA adapter on MacBook

    I bought the adapter from Apple & hooked up my LCD monitor to the MacBook, but the video I get on the monitor is different that on my laptop. It has an old screen background & the dock but nothing on my desktop shows up. Also, when I'm plugged to the monitor, my dock disappears on the laptop screen. Is there some setting I need to change? It worked fine with my G4 PowerBook.
    Thanks for any help....
    MacBook   Mac OS X (10.4.6)  

    i use the mini dvi-vga adapter in my classroom almost everyday. It sounds like your new monitor is running as a side by side monitor to your display instead of a "replacement" display.
    To get your projector/monitor to basically show whatever is on your macbook screen once you've hooked up press F7....this should make your projector/monitory become your display with your dock & all of your desktop stuff. Your new monitor will completely mirror your display.
    THis should do what you're looking for.

  • Using mini-DVI to VGA adapter to Samsung display

    I have 2009 late model of mac mini, The text on display looks washed out, not clear or sharp at all from day one, I thought it was the old model of monitor, tried the same cable to another monitor on another computer, SAME. so I thought the problem could be the cable or adapter.
    It's hard for me to believe is the signal from computer. I'm using VGA adapter made by Dynex bought from Best Buy.
    Anybody has suggestions?? Thanks

    Yeah, My old Samsung is lcd synmaster 17", bought many years ago at around $1000. Crazy, crazy price looked back. It's fine when I used it on the retired old Dell. It must be the adapter, trying not to buy another VGA adapter, could not image my next lcd will use one, anyway.
    This cable has only 14 pins vs 15 pins on the other cable, not sure if it matters?? Or if Safari has anything to do with it??
    Thank for you reply...

  • Using S-Video w/ the Mini DVI to Video Adapter

    I just purchased a MacBook last week and I also purchased a Mini DVI to Video adapter for it so I can use the built-in DVD player to watch movies on my TV. I have a composite to composite cable and that worked fine when I connected the cable between the Mini DVI to Video Adapter and my TV. However, when I tried to use a S-Video cable and connected that between the Mini DVI to Video Adapter and my TV; then I got no picture at all. All I saw on the TV was a picture of the MAC desktop w/o the dock and the movie or nothing else played at all.
    Is the composite connection a better connection for the MAC, or, are there some settings I need to work with on the MAC to get the S-Video connection to work?

    I managed to figure this one out, by fluke. The MacBook has to be powered on and ready for user input prior to connecting the mini DVI to video adapter with the s video already connected to it, and to the TV. Once I did it this way, it worked fine. I just thought I'd share this.

  • Using a mini-DVI to video adapter

    I have connected the video adapter and everything works fine. I use the internet for my video source and I was just wondering, is it possible to have video playing fullscreen on the tv and have another window open on my desktop that I can work with without disrupting the video from the browser? Every time I watch something I am unable to work on my computer while the video is playing.

    As far as I know, you can't go full screen on one monitor without it interfering with the other. I believe this would require a second video card, which isn't possible for a MacBook.
    ~Lyssa

  • Display problems using mini-dvi to video adapter

    I recently purchased the mini-dvi to video adapter for my powerbook to use my TV as a monitor and to play pictures and videos from the laptop to the TV. I am getting a full color display on the TV, but it's only the screen saver. None of my files, text, or any other desktop folders or menus appear when I open them up on the laptop. The only screen that opens is the display preferences when I open that up, but it's a different set of preferences than what's in my computer's display preferences, as it's header is "NTSC/PAL". But other than that 1 menu, nothing is appearing but the screen saver.

    OK, I discovered that I didn't know what I was doing. With the Mini-DVI to video adapter, you need to use an S-Video cable that plugs into an S-video jack on the TV, and then you need a separate cable to plug into the audio out jack on the MacBook to plug into the TV.
    I think you could also use an S-video to RCA component cable if you have a TV with component video input, but I couldn't get that to work so I went to the s-video to s-video cable.

  • Resolution using Mini-DVI to Video Adapter

    I have a Mini-DVI to Video Adapter that I connect to a television set. When I connect it my resolution drops from 1280x800 on my MacBook to 1024x768 on the television. On the MacBook tech specs screen it says: "Simultaneously supports full native resolution on the built-in display and up to 1920 by 1200 pixels on an external display, both at millions of colours".
    Is it just something that I'll have to live with when switching to the television, or is there any way that I can increase this resolution?

    You can make the TV the main monitor by dragging the menu bar to it in the "Arrangement" pane of "Displays" System Preference, or if you connect the power adapter and an external mouse and keyboard, just close the lid. It will sleep, but will wake when you use the mouse or keyboard.

Maybe you are looking for

  • Cannot edit wiki pages-- Exception message: Invalid field name

    We have migrated from one Sharepoint 2010 environment to another Sharepoint 2010 environment and only wanted to preserve a few sites, mostly Enterprise Wiki Sites. We have imported 5 total Enterprise Wiki Sites, all of which point to particular Term

  • Form Field Display Only

    Is there anyway within ADDT to specify a form field that is input on insert but display only on update? Marking the field read-only makes it so for both. I would like to let the user input the data, not be able to change it, but still see it for refe

  • Non-standard date format yyyymdd in holiday calendar?

    Hello, I currently implement the Mozilla Dutch Holiday calendar http://www.mozilla.org/projects/calendar/caldata/DutchHolidays.ics on iPhones, iPads, Thunderbird with Lightning and Android-based telephones. That calendar contents show up in the iPhon

  • Company and company code

    Hi friends   Can any one tell me the usefullness and functionalities of a company and company code. Regards Balu

  • Partition a table after loading data

    Hi there, Is it possible to partition a table after loading the data in OWB? Thanks