Cluster changing hostname & Logical host

hello I have sunCluster 3.1 update 4.
the cluster is 2(v440) + 1(v240) installed on solaris8.
Did anyone actualy succeeded to change the hostnames of all the nodes & Logical host on SunCluster system like above?
I saw a procedure that is not realy supported :
1. Reboot cluster nodes into non-cluster node (reboot -- -x)
2. Change the hostname of the system (nodenames, hosts etc)
3. Change hostname on all nodes within the files under /erc/cluster/ccr
4. Regenerate the checksums for each file changed using ccradm -I /etc/cluster/ccr/FILENAME -0Reboot every cluster node into the cluster
is it works?
Thanks & Regards

So if I understand you correctly, you have two metasets already created and mounted. If so, this is a fairly tricky process (outlined from memory):
1. Backup your data
2. Shut down the RGs using scswitch -F -g <RGnames>, make the RGs unmanaged
3. Unmount the file systems
4. Deconstruct the metasets and mediators
5. Shutdown the cluster and boot -x
6. Change the hostnames in /etc/inet/hosts, etc
7. Change the CCR and re-checksum it
8. Reboot the cluster into cluster mode
9. Re-construct metasets and mediators with new host names
10. scswitch -Z -g <RGs>
If you recreate your metasets in the same way as they were originally created and the state replicas haven't changed in size, then the data should be intact.
Note - I have not tried this process in a long time. Remember also that changing the CCR as described previously is officially unsupported (partly because of the risks involved).
Regards,
Tim
---

Similar Messages

  • Zone Cluster: Creating a logical host resource fails

    Hi All,
    I am trybing to create a logical host resource with two logical addresses to be part of the resource, however, the command is failing. Here is what I run to create the resource:
    clrslh create -Z pgsql-production -g pgsql-rg -h pgprddb-prod,pgprddb-voip pgsql-halh-rs
    And I am presented with this failure:
    clrslh: specified hostname(s) cannot be hosted by any adapter on bfieprddb01
    clrslh: Hostname(s): pgprddb-prod pgprddb-voip
    I have pgprddb-prod and pgprddb-voip defined in the /etc/hosts files on the 2 global cluster nodes and also within the two zones in the zone cluster.
    I have also modified the zone cluster configuration as described in the following thread:
    http://forums.sun.com/thread.jspa?threadID=5420128
    This is what I have done to the zone cluster:
    clzc configure pgsql-production
    clzc:pgsql-production> add net
    clzc:pgsql-production:net> set address=pgprddb-prod
    clzc:pgsql-production:net> end
    clzc:pgsql-production> add net
    clzc:pgsql-production:net> set address=pgprddb-voip
    clzc:pgsql-production:net> end
    clzc:pgsql-production> verify
    clzc:pgsql-production> commit
    clzc:pgsql-production> quit
    Am I missing something here, help please :)
    I did read a blog post mentioning that the logical host resource is not supported with exclusive-ip zones at the moment, but I have checked my configuration and I am running with ip-type=shared.
    Any suggestions would be greatly appreciated.
    Thanks

    I managed to fix the issue, I got the hint from the following thread:
    http://72.5.124.102/thread.jspa?threadID=5432115&tstart=15
    Turns out that you can only define more than one logical host if they all reside on the same subnet. I therefor had to create 2 logical host resources for each subnet by doing the following in the global zone:
    clrslh create -g pgsql-rg -Z pgsql-production -h pgprddb-prod pgsql-halh-prod-rs
    clrslh create -g pgsql-rg -Z pgsql-production -h pgprddb-voip pgsql-halh-voip-rs
    Thanks for reading :)

  • Solaris Cluster  - two machines - logical host

    Good morning!
    I am a complete dummie Solaris Cluster, buuuuuuuuuuuuuuuuuuuut... I need to create a cluster and install an application:
    I have two V440, with Solaris 10;
    I need to put the two machines in the cluster;
    I have CE0 of each of the machines plugged into the network;
    I have CE1 and CE2 of each machine connected together via a crossover cable;
    According to the documentation "Oracle Solaris Cluster HA for Alliance Access" there are prerequisites (http://docs.oracle.com/cd/E19680-01/html/821-1547/ciajejfa.html) as creating HAstoragePlus , and logical host resource group;
    Could anyone give me some tips on how to create this cluster and the prerequisites?
    tanks!
    Edited by: user13045950 on 05/12/2012 05:04
    Edited by: user13045950 on 05/12/2012 05:06

    Hi,
    a good source of information for the beginner is: http://www.oracle.com/technetwork/articles/servers-storage-admin/how-to-install-two-node-cluster-166763.pdf
    To create a highly available logical IP address just do
    clrg create <name-for-resource-group>
    clrslh create -g <name-for-resource-group> <name-of-ip-address> # This IP address should be available in /etc/hosts on both cluster nodes.
    clrg online -M <name-for-resource-group>
    Regards
    Hartmut

  • Changing ip of physical and logical host

    I have a 2 nodes Sun cluster 2.2 working. I have to put it in another lan, so I have to change both Physical and logical host and terminal concentrator and console ip addresses. How can I do?
    Thanks

    I don't see a reply so I'll take a shot. Just like you have 0-9 for numbers and you can arrange them anyway you want, you still only have 0-9. You have the physical (system block and datafiles) which are somewhat static. Then you have the the logical (tablespace, segements, extents)which are volatile and connected by chaining (links) which may be all over the place in the physical but appears to be one whole unit in the logical. Just like an image on a TV screen wearing a red hat, you see a red hat (logical) but it is actual pixels which are chained or linked (data pointers) to each other by the color red. I hope that helps until someone comes by with a better answer.

  • Changing Cluster node hostname

    Dear all
    Can i change hostname of box in cluster enviroment
    Regards
    DR

    According to SysAdmin magazine (it's not on there site but in the May 2006 edition) you can change the hostname of cluster hostnames by performing the following:
    Reboot cluster nodes into non-cluster node (reboot -- -x)
    Change the hostname of the system (nodenames, hosts etc)
    Change hostname on all nodes within the files under /erc/cluster/ccr
    Regenerate the checksums for each file changed using ccradm -I /etc/cluster/ccr/FILENAME -0Reboot every cluster node into the cluster.
    I have no idea if this works but if it does then let me know.

  • Creating logical host on zone cluster causing SEG fault

    As noted in previous questions, I've got a two node cluster. I am now creating zone clusters on these nodes. I've got two problems that seem to be showing up.
    I have one working zone cluster with the application up and running with the required resources including a logical host and a shared address.
    I am now trying to configure the resource groups and resources on additional zone clusters.
    In some cases when I install the zone cluster the clzc command core dumps at the end. The resulting zones appear to be bootable and running.
    I log onto the zone and I create a failover resource group, no problem. I then try to create a logical host and I get:
    "Method hafoip_validate on resource xxx stopped or terminated due to receipt of signal 11"
    This error appears to be happening on the other node, ie: not the one that I'm building from.
    Anyone seen anything like, this have any thoughts on where I should go with it?
    Thanks.

    Hi,
    In some cases when I install the zone cluster the clzc command core dumps at the end. The resulting zones appear to be bootable and running.Look at the stack from your core dump and see whether this is matching with the bug:
    6763940 clzc dumped core after zones were installed
    As far as I know, the above bug is harmless and no functionality should be impacted. This bug is already fixed in the later release.
    "Method hafoip_validate on resource xxx stopped or terminated due to receipt of signal 11" The above message is not enough to figure out what's wrong. Please look at the below:
    1) Check the /var/adm/messages on the nodes and observe the messages that got printed around the same time that the above
    message got printed and see whether that gives more clues.
    2) Also see whether there is a core dump associated with the above message and that might also provide more information.
    If you need more help, please provide the output for the above.
    Thanks,
    Prasanna Kunisetty

  • Logical host resource in SC3.2 missing IPMP

    I was under the impression that when creating a logical host resource in Solaris Cluster 3.2, that it will read the hosts and hostname.* files to get the IPMP info and do this automatically for you. I am not seeing this behavior and am hoping someone can shed some light on this for me. Here is the relevant data, any help is greatly appreciated. If it matters, this is Solaris Cluster 3.2 on Solaris 10, running in a 25k domain.
    # grep cluster1vip hosts
    10.230.108.28 cluster1vip cluster1vip.example.com
    10.230.108.29 cluster1vip-ce1 #ipmp_test_cluster1vip1
    10.230.108.30 cluster1vip-ce5 #ipmp_test_cluster1vip2
    # cat hostname.ce1
    cluster1vip netmask + broadcast + group ipmp_sc1 up \
    addif cluster1vip-ce1 deprecated -failover netmask + up
    # cat hostname.ce5
    cluster1vip-ce5 deprecated -failover netmask + broadcast + group ipmp_sc1 up
    When I bring the resource online, these are the settings that get applied:
    ce6:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 3
    inet 10.230.108.28 netmask ffffff80 broadcast 10.230.108.127
    Again, any help or guidance is greatly appreciated.

    For probe based IPMP the following has always worked for me:
    - IPMP interfaces of same media type
    - SPARC needs local-mac-address set to true in OBP
    - Supported interface (if using probe method - [http://docs.sun.com/app/docs/doc/816-4554/mpoverview?a=view|http://docs.sun.com/app/docs/doc/816-4554/mpoverview?a=view] )
    /etc/hosts
    192.168.1.1 hawkeye
    192.168.1.2 ipmp-test1
    192.168.1.3 ipmp-test2
    For the cluster node 'hawkeye'
    /etc/hostname.ce0 before the IPMP change:
    hawkeye group sc_ipmp0 -failover
    /etc/hostname.ce0 after the IPMP change:
    hawkeye group sc_ipmp- failover up addif ipmp-test1 -failover deprecated up
    /etc/hostname.ce.1
    group sc_ipmp0 failover up addif ipmp-test2 -failover deprecated up
    Reboot cluster node and you should be good to go.

  • Adding logical host

    Hi. I'm trying to add a logical host to a Sun Cluster 3.0 cluster, and it keeps giving the error:
    not all hostnames are on the same subnet
    Now, despite the obvious nature of this error, it doesn't make sense since a) all cluster nodes are on the same subnet (xxx.xxx.214.xxx), they are listed in the /etc/hosts file as such, and b) there is only one logical host being added. This is what I have been typing:
    scrgadm -a -L -l usilsu60 -g MyRGroup
    Does anyone know what is wrong?
    Thanks,
    Michael Chiaramonte

    Hi ,you can try command ��#scrgadm -a -L -g MyRGroup -l usilsu60

  • What needs to be changed if we change hostname in linux

    Dear all,
    I have a question and will appreciate for appropriate answer(s).
    My machine name was lxcms120.cern.ch and Oracle 10g DB was running fine on it (listener, DB, Enterprise Manager). It is not a production system rather a test system.
    Now, i changed its name to docms11.cern.ch
    I change hostname in listener.ora & tnsnames.ora and listener started successfully.
    I started db from sqlplus and it started without any complaints.
    Now, when i tried to start Enterprise Manager (emctl start dbconsole), it didn't and return this error.
    OC4J Configuration issue. /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_docms11.cern.ch_oralxcms120 not found.
    Now, i know that when the machine name was initially lxcms120, it was /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_lxcms120.cern.ch_oralxcms120
    and if i go to that directory, i could see OC4J_DBConsole_lxcms120.cern.ch_oralxcms120 but of course there is no OC4J_DBConsole_docms11.cern.ch_oralxcms120
    My dbname instance is oralxcms120 and has nothing to do with hostname.
    So, what is the solution to the problem. Moreover, are there any steps to do while changing hostname of the oracle database like in my case which i can follow to make all required changes.
    Best regards,
    Anjum

    You will need to do a little more than just directory rename,
    From Oracle document,When the database host name (including the domain name) or the IP address changes, deconfigure and then reconfigure the Database Console with the repository create command. Run the following command:
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    or
    emca -deconfig dbcontrol db
    emca -config dbcontrol db -repos recreate
    http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/structure.htm#CACBBFGI

  • 2 Logical Host, 2 Web Servers, Big Problem?

    I am setting up a sun HA cluster using 2 E4500 servers. I have created 2 logical hosts, each one needs to host a Netscape iPlanet 4.0 web server sitting at port 80. Each logical host is serving up web applications for different clients.
    If I need to fail over one of the logical hosts so that they are both running on the same system, the newly imported instance of the web server will fail because port 80 is already in use by the logical host that is on that physical host.
    At first this seemed totally wrong. Each logical host should be able to run applications on any port they need to. Then someone who has a lot more time on Solaris told me that this was not the case, and each logical host had to steer clear of using the same ports as other logical hosts in the same cluster.
    Can someone clue me into what is reality?
    Any good documentation that tells how to set this stuff up?
    Thanks!
    Bruce

    Hi,
    The best way to resolve this would be to try implementing the same.
    Instead of going through an entire cluster install/configuration
    process, you may want to try setting up two different web servers
    on a single node. You may want to set up a virtual interface (like
    le0:1, hme0:1 etc) for this. You coud then try connecting to
    individual web servers on port 80. If this works, then the two
    webserver/two node cluster implementation should also work.
    Hope this helps.
    Thanks,
    Gopinath.

  • Similar logical host resource configured on 2 different resource groups

    hi,
    I had an issue with logical host setup as follows.
    Background
    We had a failover resource group RGA which is running a critical Oracle instance and listener process.
    It has a logical host resource ora-lh-rs configured with logical host pointing to VirtualHostA.
    I need to create another failover resource group called RGB with another Oracle instance.
    Now at present this Oracle instance (Not under cluster control yet) is listening to the same logical host - VirtualHostA as RGA.
    When I create this new resource group RGB, I need to configure it to share the same logical host as RGA.
    The problem is if I need to add the logical host resource ora-lh-rs with VirtualHostA to this RGB, I foresee that there will be an IP address conflict if I failover RGB to the other cluster node (If my guess is wrong, but logically there should be an IP address conflict if SUN Cluster does not block me from adding the same logical host resource to RGB).
    Question
    Is there any other way to overcome this issue other than to configure the second Oracle instance to listen on a different logical IP?
    To add, RGB is a less priority Oracle instance and will always need to be with RGA on the same node.
    Any suggestions are welcome. My apology if this question sounds stupid as I do not have an UAT environment to test.
    Thanks
    ldd76

    HI Tim,
    Thanks very much for your kind advice. I must say that I have very little experience with SUN Cluster so I beg your pardon if my concept is too superficial.
    The reason why I cannot put both Oracle instance in the same RG is because that' s my boss initial proposal. I will speak to her again on the log_only option.
    But can I confirm that the command looks like this after I add the resources to RGA.
    scrgadm -cj rgb-ora-rs -y Failover_mode=LOG_ONLY (Oracle server)
    scrgadm -cj rgb-lsn-rs -y Failover_mode=LOG_ONLY (Oracle Listener)
    scrgadm -cj rgb-hasp-rs -y Failover_mode=LOG_ONLY (HA Storage Plus)
    As for the logical host questions, it has been legacy that both the Oracle instance listens on the same logical IP(Just that the new and less critical Oracle instance is not under cluster control yet)
    But my gut feel for the reason behind this is that the less important Oracle instance is always running on the same node where RGA is running (since that Oracle instance is used for data warehousing with data replicated from the more critical Oracle instance only) else it is meaningless. Thats my guess why ony one logical IP is used.
    If the direction is still to use RG_affinities, then if I tweak the following steps a bit will it work?
    1) Create RGB.
    2) Activate RGB - scswitch -Z -g RGB
    3) Offline RGB - scswitch -F -g RGB
    4) Failover RGA to the other node
    5) Failover RGB to the other node
    6) Offline RGB on the other node
    7) Failover RGA back to the original node
    8) Failover RGB back to the original node
    Thanks.

  • Event Logs of VMs Migration in Failover Cluster of Hyper-V Hosts

    Hello All,
    We're running Failover Cluster of Hyper-V hosts of Windows Server 2012 R2. Using SCVMM 2012 R2 with UR5 for management.
    If any host gets down unexpectedly (due to any reason power/bugcheck/hardware failure or what so ever), then the VMs on that host, of course, get migrated (either quick or live) to some other host within the cluster.
    I want to have logs/events of this VMs migration. I want to know that which of the VMs were residing on that host at that time of failure. Of course, we can't have this info in the Cluster events is Failover Cluster Manager. I am unable to find this info
    anywhere. I have searched in Event Viewer --> Administrative Roles --> Hyper-V. I have searched a lot in the SCVMM, but no success.
    Please help me in finding the exact location of these logs/events. I would also like to know that if the VM was quick migrated or live migrated, and to which host the VM got migrated.
    I'd be highly grateful.
    Thanks in anticipation.
    Regards,
    Hasan Bin Hasib

    This post was cross-posted in the clustering forum.  As noted in that forum, a failure of a host does not initiate a quick or live migration.  Migration requires both the source and destination nodes be operational during the entire migration
    process.  Should a host fail, it is impossible for that host to participate in a migration.  In the case of a host failure, the VM is restarted on another node of the cluster.  You can still use the information provided by Elton for viewing
    events in the event log.  If you want to see the exact sequence of log entries, perform quick/live migrations in a lab and notices the changes in the event log.  You can also fail a host and see the sequence of log entries.
    . : | : . : | : . tim

  • Logical host name Question

    Hi
    Iam in process of creating 2 node cluster on 2 domains.This is for FailOver Clustering
    I would appreciate if someone can throw some light and explain if Iam doing right and answer some of the Questions that I had
    We have created 2 RG and we are in the process of creating logical host name. Here are the steps that I think Iam going to execute
    1> The name of the logicalhost name resources are LH-01 , LH-02
    The name of the logical host name are virtualhost-01 , virtualhost-02
    The name of the domains are domainapp-01 , domainapp-02
    2> Create entry in /etc/hosts for the new logical host name and IP address
    Question : Is there any command which can be used to add entries to this files , instead of manually addding them. Iam not a Sys Admin and I do not know how many more places I have to add.
    3>Create logicalhostname resources by following commands
    a>clreslogicalhostname create -g RG-01 -h virtualhost-01 LH-01
    b>clreslogicalhostname create -g RG-02 -h virtualhost-02 LH-02
    4>Edit the /etc/nsswitch.conf
    Question : I could not understand why we have to do this and what needs to be modified. Do I have to comment out the lines which says
    host: cluster files
    rpc : files
    5>Question : Do I need to also create Shared Address Resource? I really did not understand the concept of Shared Address Resource
    I would really appreciate if someone can throw some light on this. I have gone through the documents , but It really did not clear up for me
    Thanks
    Edited by: Cluster_newbie on Jun 25, 2008 4:06 PM

    actually scinstall put this host: cluster files , i dont remember was the the logic
    here is some explaination about shared address which used scalable applications like apache
    The SUNW.SharedAddress Resource Type
    Resources of type SUNW.SharedAddress represent a special type of IP
    address that is required by scalable services. This IP address is configured
    on the public net of only one node with failover capability, but provides a
    load-balanced IP address that supports scalable applications that run on
    multiple nodes simultaneously. This subject is described in greater detail
    I hope this helps
    Regards

  • Changing Oracle Apps. host name

    Hi,
    I would like to know if it is possible to change a hostname of an Oracle Applications server (11.5.9 / 11.5.10).
    If so, what is the procedure?
    Thank you,
    Yaniv

    Hi Yaniv,
    Yes. It is possibe to change hostname.
    The procedure is to do a self-clone.
    1. The hostname you are going to change to should be "ping"able. There should be an entry in the /etc/hosts of the new hostname.
    2. Take a backup before you proceed.
    3. Follow all the steps in Note :- 230672.1 Except that you will not be copying files over as the source and the target are the same. The adcfgclone.pl fro dbTier and appsTier will prompt you for hostname, change it
    Regards,
    Suleman

  • Logical Host name

    Hi,
    Please tell me about procedure, how to create logical host name in sun cluster.

    Please check other recent posts in this forum or try Google as I'm sure I've posted an answer to this very recently.
    You can also find the procedure if you look on docs.sun.com.
    Thanks,
    Tim
    ---

Maybe you are looking for

  • Fiscal Year Period User Choice to Restrict the Balance wrt to version

    Hello friend, I have a Budget Balance key fiegure. which has values for a period say 001.2007  4 Values . sum equal = 13035 Now I want to Create a Current Period Balance in Report and YTD Balance in Report For Current Period I did this as below but i

  • Could not cast to second level extensions in schema in BPEL

    Hi, I use jdeveloper 11g, for calling an external Web service from BPEL process. The schema given has multiple extensions defined for its elements. For instance, Customer class is extension to FCO, which in turn is extension to ExtensibleObject class

  • Kernel Change on ABAP+JAVA Dialog instances

    Hi guys (& girls). Another question from me. I installed two Dialog instances for an ABAP+JAVA System (BI 7). The Central instance is on AIX, the DIs are running on SLES / x86_64. Now i want to change the kernel. It's fully automated for the Centeral

  • Out of Memory - Indesign 2.02 for Windows

    Hello. Probably been asked before but how do you resolve the "out of memory" (clipping path) problem when you are using InDesign for Windows? - see that there is a fix for Mac but can't find one for Windows 7 - is there a downloadable update availabl

  • HTTP+FTP+HTTPS library for JAVA

    Looking for a free JAVA library (with source code) that can manage automatic HTTP, HTTPS and FTP downloads. Need a robust library with retry, scheduling, error report mechanism Please let me know Thanks in Advance.. Regard's Roopesh