Host name question

Trying to set up email account using myway.com....it is asking for "host name" then Outgoing mail server information?? where would I find what to enter here?

woodypita wrote:
OK, so from what I can tell "myway"...does not use IMAP or POP.
By which I guess you mean that it's webmail only? If so then of course you're left with browser access.
So now I am going to Safari, opening up internet, going to email that way...can view my inbox, but won't open messages?
Make sure that Safari is configured properly, JavaScript on, accepting cookies, etc. You might clear the cache and cookies to see if that helps. You could try powering down, or a hard reset. Or you could try on a different browser.

Similar Messages

  • 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

  • DNS: Zone name vs. Host name question

    My little office OSX Server setup has been working fine, but I realized my DNS setup was a little weird. I think the primary zone and first host machine record were setup during the initial install/setup process, and it doesn't seem to match what Hoffman recommends in his excellent DNS Setup guide.
    My primary zone was named "files.example.com", and my server host record was also named "files.example.com". Everything seemed to work, but I realized when I wanted to add some additional hosts and aliases, I was getting something like "mail.files.example.com", when what I wanted was "www.example.com".
    Hoffman, and others, recommend trashing the default zone and records, and making a new zone named "example.com", then making a machine record for the server, "files.example.com".
    That makes perfect sense, except I don't understand one thing: how, with this setup, can I get the dns to cough up an ip address for hostname "example.com"? Can I make a machine record with a blank hostname, thus yielding a hostname that is the same as the zone name?
    Thanks.

    RobertNichols wrote:
    My little office OSX Server setup has been working fine, but I realized my DNS setup was a little weird. I think the primary zone and first host machine record were setup during the initial install/setup process, and it doesn't seem to match what Hoffman recommends in his excellent DNS Setup guide.
    My primary zone was named "files.example.com", and my server host record was also named "files.example.com". Everything seemed to work, but I realized when I wanted to add some additional hosts and aliases, I was getting something like "mail.files.example.com", when what I wanted was "www.example.com".
    Hoffman, and others, recommend trashing the default zone and records, and making a new zone named "example.com", then making a machine record for the server, "files.example.com".
    That makes perfect sense, except I don't understand one thing: how, with this setup, can I get the dns to cough up an ip address for hostname "example.com"? Can I make a machine record with a blank hostname, thus yielding a hostname that is the same as the zone name?
    Thanks.
    Apple setup wizard creates a zonename like files.example.com i.e. the same as the host name. I totally agree with Hoffman this is wrong (and I reported it as a bug to Apple) but that is the way Apple do it until 10.7 at least.
    I therefore do the same as Hoffman and trash Apple's auto-created zone and do it myself.
    Note: The auto-zone format used by Apple will work and might be 'good enough' for a small simple internal only setup, but if your doing a more complex multi-server setup and especially if your going to do split-horizon DNS, it is a terrible setup.

  • Question about Domain and Host name fields.

    Hello! Just a quick question, I currently have the Mail Server up and running although I'm a little unsure about what exactly needs to be entered into the users email application.
    I've tested POP and IMAP using the information that I entered into the "Domain Name" field, and into the "Host name" field, and everything worked great.
    Example:
    Incoming Mail Server: mail.example.com
    Outgoing Mail Server: smtp.example.com
    Although while setting up another site and including the normal mail setup via DNS I've also noticed that I can send and receive email by using other sites that belong to me, as long as they are pointing towards our server.
    Example:
    Incoming Mail Server: mail.mynewsite.com
    Outgoing Mail Server: smtp.mynewsite.com
    So, I guess my question is whether its bad to use other websites in the incoming and outgoing mail server fields, or should I stick to the incoming and outgoing sites that I have listed in the Mail Server's 'Domain Name' and 'Host Name' fields?
    I hope that made sense, thanks again for your help.
    Paul
    PowerMac G5, Xserve G5, and PowerBook G4 Mac OS X (10.4.8)

    Does it matter if our users type mail.example.com
    into the incoming mail server, or are they allowed to
    use their own domain name "mail.mydomain.com" as long
    as the DNS is setup correctly?
    There is no intrinsic 'meaning' to hostnames entered into the mail client. These are merely converted to IP addresses, using available dns, and then the mail client communicates with the IP address, using whatever port number is applicable for the service required (e.g., port 25 for smtp, port 110 for pop). So you could use the hostname woohooo.mydomain.com for the smtp or pop server, as long as it resolves to the correct IP.
    This enables laptop users to have the one smtp/pop hostname, with lan dns resolving it to the local private IP and ext dns resolving same hostname to wan IP.
    There is also no need to have two separate hostnames for pop and smtp. These are typically used by ISPs because they have separate servers doing each job - one doing pop, one doing smtp. If one server does both (and there is no likelihood of splitting the services later) then just the one hostname for pop and smtp is fine.
    -david

  • Host Name and IP Question

    Sorry about this, I posted this on the Web Services forum, but nobody looks in there :(
    Well, not strictly issues, and also maybe not strictly Java, but it does fall under web services. And the second question might be fixed with Java (probably HTML though!)
    OK, enough dribble here is my question. I have set up my home PC as a web and FTP server running with XP IIS, there isn't much on it at the mo, but what I would like to know if it is at all possible (And I think I know the answer already) to change the host name/ip address.
    By this I mean, I have an IP address which is provided by my broadband provider and although its DHCP, its static (I assume) because it never changes? and at the moment I can go anywhere in the world and type http://???.???.??.?? and I can see my little site working away. But I don't want to do that I want to type http://bestsexywebsiteintheworldever (or something to that affect)
    So is it possible to do that, but without having to use one of these URL Forwarding Services.
    Secondly, on my site I have some links that I am trying to keep a suprise for people when they click them, but the problem is when you hover over it, the address is shown on the bottom of the screen, as I'm sure you are all aware of. Is it possible to remove this so that when you hover no address is shown?
    Thanks, sorry the first one is a bit long winded, I got carried away (very bored at work!)
    MP.

    Sorry about this, I posted this on the Web Services
    forum, but nobody looks in there :(
    Well, not strictly issues, and also maybe not strictly
    Java, but it does fall under web services. And the
    second question might be fixed with Java (probably
    HTML though!)
    OK, enough dribble here is my question. I have set up
    my home PC as a web and FTP server running with XP
    IIS, there isn't much on it at the mo, but what I
    would like to know if it is at all possible (And I
    think I know the answer already) to change the host
    name/ip address.
    By this I mean, I have an IP address which is provided
    by my broadband provider and although its DHCP, its
    static (I assume) because it never changes? and at the
    moment I can go anywhere in the world and type
    http://???.???.??.?? and I can see my little site
    working away. But I don't want to do that I want to
    type http://bestsexywebsiteintheworldever (or
    something to that affect)
    So is it possible to do that, but without having to
    use one of these URL Forwarding Services.
    One way to do this is to purchase a fully qualified Domain Name, then have your ISP point their DNS server to that. They usually want some $$ for that service.
    I don't know about the second question, sorry.

  • How to resolve a host name from IP using JNDI/DNS service provider

    Hi
    I got two questions on JNDI/DNS service provider:
    1) How to resolve a host name when i got an IP
    I understand How I do it inverse.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://"+server+"/"+domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(host, new String[] {"A"});
    2) This example above works when I specify the domain in the provider url.
    If I am not specifing a domain but only the dns server I got an NameNotFoundException.
    What should I do if I don't got the domain?
    get the availible domains and loop on them?

    Hi,
    if your DNS server supports that, you can do a reverse DNS lookup. This works as follows:
    String server = "your.dns.server";
    String domain = "in-addr.arpa";
    String ip = "4.3.2.1";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://" + server + "/" + domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(ip, new String[] {"PTR"});1: Use the pseudo-domain in-addr.arpa
    2: Use the reverse IP address for lookup, i.e. if your host has 1.2.3.4, use 4.3.2.1!!
    3: Request the PTR attribute
    see also [http://en.wikipedia.org/wiki/Reverse_DNS_lookup|http://en.wikipedia.org/wiki/Reverse_DNS_lookup]
    Martin

  • Changing host name of JDI server

    Hi,
    during installation of JDI I used ip-addresses as host names for defining the domain host, the SLD server in domain definition, the dtr server URL in track definition, the CBS server URL in track definition.
    I know that one shouldn´t use ip-addresses at all but we did have some trouble with the network infrastructure (DNS-Server, ...) at the beginning and the start of the project couldn´t be delayed.
    Now, for any reason, the network department gave our server a new ip-address.
    I then opened the CMS configuration tool and tried to change the host names (this time not to ip-addresses because DNS-Server works properly in the meantime).
    Changing domain data is no problem. But when I try to save the changes of my track(s) I get an error message that says I should contact my administrator. I am the administrator
    My Questions:
    How is it possible to change the host names of JDI tracks?
    What is to do at client side? There are already some developers working with the dev. configurations. Is it sufficient to change the according entries in the .confdef file or do the clients have to donwload the new dev. configuration from CMS host?
    Thanks in advance
    Helmut

    Hello Helmut,
    it should be possible to change the host names for tracks. You can get more error message details in the trace file of the Engine. To do so connect to your engine with the J2EE Administration Tool  and check the defaultTrace.trc File in the Log Viewer.
    For more details how to find this trace information have look into the Change Management Server Problem Analysis Scenarios (Link: http://help.sap.com/saphelp_nw04/helpdata/en/81/4bce4016d28031e10000000a1550b0/frameset.htm). In the first Scenario Incorrect Initial CMS Configuration you can also find the general information how to read and find the CMS trace files.
    Please open a CSN message for the component BS-CTS-CMS if can not find the reason for the error message or if it is real problem in CMS.
    Best Regards, Michael

  • Stored procedure for getting host name, host instance and status of that host is it running or stopped.

    Hello all,
    yesterday I got one task in that I have to stored procedure for getting host name, host instance and status of that host is it running or stopped.
    any body knows where exactly, In which table this details are there in BizTalk databases.
    thanks

    Status of the host instance is not stored in the SQL database for you to query the status using stored procedure. You have to either use Powershell or WMI to get the status.
    In SQL, following table contains the details about the host like Name, LoginName, IsDisables etc but status of the host instance is not stored in the database.
    SELECT * FROM BizTalkMgmtDb..adm_HostInstance
    Powershell to get the status:
    http://axonolympus.nl/?page_id=186&post_id=969&cat_id=6&lang=en
    WMI to get the status:
    https://msdn.microsoft.com/en-us/library/aa561820.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/aa578621.aspx
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Change DNS host name automatically when one device is down

    Hi all
    I am first copying below the question which I have posted in a thread related to DNS few days back .
    You cannot vote on your own post                    
    Hi
    our network team has setup Bluecoat proxy server in our main office and DR site . We have configured GPO to populate the details of proxy server hostname in the proxy setting  eg : Proxy server .  IP1 is the IP address for the device in Head office
    and IP2 is the IP address assigned for device in DR site. currently  we have given a DNS entry as
    Proxyserver - IP1.
    So DNS resolves the IP address of device in Head office and authentication and internet access works.
    But we want to use the DR device  to be used automatically   (only )when head office device is not reachable. But how to configure the settings for DNS I am not sure.
    I don't want to use round robin as it will send the traffic to both head office and DR in a load balancing fashion .
    for this request I had received an advice to use a script to monitor the first device continuously and if not reachable  then change the Hostname in DNS to that of second device  .
    Let me know if anyone can help me on this.
    Thanks in advance
    Midhin 

    Hi Midhin,
    Agree with Jrv, I also recommend you can consult proxy vendor for a better solution.
    In addition, if you still want to update host name in DNS via Powershell, please refer to the script to update A record in DNS:
    $Zone = "dns zone"
    $oldobj = Get-DnsServerResourceRecord -ZoneName $Zone -RRType "A" -Name "hostname"
    $newobj = Get-DnsServerResourceRecord -ZoneName $Zone -RRType "A" -Name "hostname"
    $NewObj.RecordData.IPv4Address = "newipaddress"
    Set-DnsServerResourceRecord -NewInputObject $NewObj -OldInputObject $OldObj -ZoneName $Zone
    If there is anything else regarding the powershell script issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • OracleVM Manager template 2.2.0 trying change the host name

    Hi,
    I have installed the OracleVM Manager 2.2.0 template
    into an OraclVM Server 2.2.1.
    Reading the OracleVM Manager 2.2.0 install
    instructions "Readme_for_Media_Pack_B59146-01.txt" and doing
    the installation in the interview area, I am asked
    to provide the fully qualified domain name as the
    name of the OracleVM Manager.
    Therefore, I provided something like this.
    ovmmanager.mydomain.mytopdomain
    Later, when I was in the OracleMV Manager,
    I noticed the following.
    Correct information was written in my /etc/hosts file.
    192.168.1.160 ovmmanager.mydomain.mytopdomain ovmmanager
    The case seems however, that unusual information
    was written to the /etc/sysconfig/network file.
    HOSTNAME=ovmmanager.mydomain.mytopdomain
    When I type "uname -a", the results are shown.
    ovmmanager.mydomain.mytopdomain
    I say, "unusual", because most people prefer a single
    name "ovmmanger" to be the host name.
    I have tried to permanently change the host name of the computer by
    changing the contents of the /etc/sysconfig/network file to the following.
    HOSTNAME=ovmmanager
    Next, at the command line I would type the following.
    hostname ovmmanger
    When I type "uname -a", the results are shown.
    ovmmanager
    However, every time I do an 'xm shutdown' to the
    OracleVM Manger (the ovmmanger), and then later do an
    'xm create vm.cfg' to start the ovmmanger,
    when I type a "uname -a", the results are shown.
    ovmmanager.mydomain.mytopdomain
    When I look at the contents of the /etc/sysconfig/network file
    the contents are back to the original contents.
    HOSTNAME=ovmmanager.mydomain.mytopdomain
    instead of my preferred contents
    HOSTNAME=ovmmanager
    My first question is the following.
    By design, does the OracleVM Manager 2.2.0 template
    supposed to have a host name to be a
    fully qualified domain name?
    ovmmanger.mydomain.mytopdomain.
    My second question is the following.
    If the situation is satisfactory to have just
    ovmmanger
    as my host name, then how do I prevent the host name renaming
    process to reoccur every time I do an 'xm create vm.cfg' to start
    the OracleMV Manager?
    Thank you
    AIM

    First Question: No, it does not have to be a full qualified hostname. As long as the hostname is resolved in your network short qualified is fine.
    Second Question: You don't have to do anything. In OVM Template design the configuration tool is just called the first time your template is started. All succeeding startups will not go through the configuration again. (There is however an option to reenable/reset the VM that the configuration is called again).
    Regards
    Sebastian

  • Replacing Host Name and Port number throughout Environments

    So I am currently working on a project that have several classes using simple JDBC code. I'm switching all of it to use JNDI instead of what is currently being used. I'm using Weblogic and the plan is to have the code run in a cluster.
    Here is a code Snippet of some of the code.
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://hostname:port");
    My problem lies in the the "t3://hostname:port" String. I don't want to hardcode that since I know its bad code practice but my question is what is the best way to replace that with the Host Name and Port number as I move environments. Should I have a Class with a Static Variable and just reference that through the other classes or should I put it in some Property file and read the value from there? Any insight into this would be greatly appreciated.
    Thank you.

    would it be something like this?
    Properties properties = new Properties();
              try {
         properties.load(new FileInputStream("src/jndi.properties"));
         String url = properties.getProperty("url");
         System.out.println(url );
         } catch (IOException e) {
         }

  • Changing HOST Name in Oracle 10G AS

    Hi,
    I am using "Oracle 10g Application Server". I have installed oracle 10G AS in Windows 2003 Server(32-bit) ,2G RAM
    Machine is UTI ...Every Thing is Working Fine ..... After the Successful Installation of 10G AS Suddenly i got requirement to the Change host (UTI to UTTI)
    so i have changed the host Name to UTTI after that Oracle 10G AS is not Working , i know that every thing is registered with host name as UTI
    is it any possible Solution to make it Working Fine
    Any Advice on this .
    Thanks for Your Valuable Information
    SHAN

    user609980 wrote:
    I am using "Oracle 10g Application Server". I have installed oracle 10G AS in Windows 2003 Server(32-bit) ,2G RAM Good question. One that is appropriate for the App Server forums, not the Database forums.
    And answered in the docs.
    Which docs? Well, that depends on the VERSION of the app server. Not the BRAND as you specified. (Assuming 10g R2, 10.1.2.x, you would look under App Server 10g R2 docs at http://tahiti.oracle.com, click on the System Management tab, and look at Chapter 8 of the "Oracle Application Server >> Administrator's Guide"

  • The host name of macmini-c42c030d62c6.local has changed to macmini-c42c030d62c6.local

    I have received many emails saying: "The host name of macmini-c42c030d62c6.local has changed to macmini-c42c030d62c6.local. Some services may not work correctly until they have been updated to use the new configuration. If I click on macmini-c42c030dd62c6.local I have 2 options: connect and copy. I click on connect and it shows connecting to the sewrver: Connecting to afp://macmini-c42c030dd62c6.local...." then it shows "it had been a problem to connect to the server macmini-c42c030dd62c6.local (it is possible the server doesn't exist or it is not available in this moment. Check the name of the server or IP Address, net connection and try again

    This question is outside my experience and I assume that it has nothing to do with the subject of this forum, creating podcasts. May I suggest you ask it in the OSX Server forum if that seems to be appropriate (even if it is to do with Podcast Producer I still have to refer you there).

  • Change my Host Name in Solais 10

    Please, when I run smc(Solaris Management Console) I can see in System Information, that my Host Name is unknown. How can I change that?

    It's strange that you don't have etc/nodename, it must be in etc/. May be you'll try to create it? Besides, I think this article can help you:
    Setting Up a Solaris DHCP Client
    One of the problems that can arise when trying to use a Solaris box as a DHCP
    client is that by default, the server is expected to supply a hostname, in
    addition to all the other stuff (like IP address, DNS servers, etc.). Most cable
    modems and home routers don't supply a (usable) hostname, so it gets set to "unknown".
    This page describes how to get around that. (Where this page says "cable modem",
    "DSL modem" can be substituted.)
    This page assumes that le0 is the interface you using for your DHCP connection.
    Substitute hme0 or whatever interface you're actually using in the examples
    below.
    Setting up DHCP
    There are two ways of using DHCP:
    DHCP has limited control
    DHCP has full control
    The first case may be where you want to use your own /etc/resolv.conf and so on,
    with a minimum of hassle.
    The second case would be the normal situation, especially if your cable modem
    provider has a habit of changing DNS name server IP addresses on you (like mine
    does!), so I'll concentrate on that here. I have a script to automate the first
    method, should you want to use it. You'll need to change the DEFAULT_ADDR and
    INTERFACE variables as required.
    The first thing to do is to create an empty /etc/hostname.le0, like this:
    /etc/hostname.le0Creating this file ensures that the interface gets plumbed, ready for the DHCP
    software to do its stuff.
    Next, you create /etc/dhcp.le0. This file can be empty if you want to accept the
    defaults, but may also contain one or both of these directives:
    wait time, and
    primary
    By default, ifconfig will wait 30 seconds for the DHCP server to respond (after
    which time, the boot will continue, while the interface gets configured in the
    background). Specifying the wait directive tells ifconfig not to return until
    the DHCP has responded. time can be set to the special value of forever, with
    obvious meaning. I use a time value of 300, which seems to be long enough for my
    cable provider.
    The primary directive indicates to ifconfig that the current interface is the
    primary one, if you have more than one interface under DHCP control. If you only
    have one interface under DHCP control, then it is automatically the primary one,
    so primary is redundant (although it's permissible).
    With these files in place, subsequent reboots will place le0 under DHCP control:
    you're ready to go!
    Unknown hostname
    Actually, there's one snag: most (if not all) cable modem DHCP servers don't
    provide you with a hostname (even if they did, odds are it won't be one you want
    anyway!). This wouldn't be a problem, except that the boot scripts (/etc/init.d/rootusr
    in particular) try to be clever, and set your hostname to "unknown" in this case,
    which is not at all useful!
    The trick is to change your hostname back to the right one, preferably without
    changing any of the supplied start-up scripts, which are liable to be being
    stomped on when you upgrade or install a patch. You've also got to do it early
    enough in the boot process, so that rpcbind, sendmail and friends don't get
    confused by using the wrong hostname. To solve this problem, put this little
    script in to /etc/init.d/set_hostname, with a symbolic link to it from /etc/rc2.d/S70set_hostname.
    Starting with Solaris 10, the preceding paragraph can be ignored. Instead, just
    make sure that the hostname you want to use is in /etc/nodename; the contents of
    that file will then be used to set the hostname. (Note that it is essential that
    the hostname you put into /etc/nodename is terminated with a carriage return.
    Breakage will happen if this is not the case.) Also, from Solaris 8 it is
    possible to tell the DHCP software not to request a hostname from the DHCP
    server. To do this, remove the token 12 from the PARAM_REQUEST_LIST line in /etc/default/dhcpagent.
    (/etc/default/dhcpagent describes what the default tokens are; 12 is the
    hostname, 3 is the default router, 6 is the DNS server, and so on.)
    With these modifications in place, reboot, and you'll be using your cable modem
    in no time!
    If you've got more than one machine, and you want to access the Internet from
    all of them, you might also find my Solaris NAT page useful.
    If this page has been useful to you, please consider buying a copy of my book,
    Solaris Systems Programming.
    Send any questions or comments to: [email protected]
    And this is the script:
    #!/sbin/sh
    # Name: set_hostname
    # SCCS Id: @(#)set_hostname 1.2 07/26/04
    # Description: This file is a script for re-setting your hostname to the
    # right value if you use DHCP (which has a habit of setting
    # your hostname to "unknown" if you use a cable modem).
    # Copyright Љ 2000-2004 by Rich Teer. All rights reserved.
    HOSTNAME=`cat /etc/nodename`
    echo "Setting hostname to $HOSTNAME... \c"
    uname -S $HOSTNAME
    echo "Done."
    It's another variant, more complex:
    #!/usr/bin/sh
    # set_hostname
    # Setting DHCP hostname when not provided from DHCP-server.
    # Make sure you have a "clean" copy of /etc/hosts (fx. /etc/hosts.orig)
    # As this script will clean up and set the hostname in /etc/hosts.
    # The script can be run in hand, or as a startup script in:
    # Solaris 8/9: /etc/init.d; /etc/rcX.d
    # Programmed by: Yngve Berthelsen
    # Date: 20050216
    # E-Mail: [email protected]
    # Last updated: 20050216
    # History:
    ### Variables used in script
    NODENAME="/etc/nodename"
    HOSTALIAS=`cat /etc/nodename|nawk ' BEGIN { FS="." }; { print $1 }'`
    HOSTFILE="/etc/hosts"
    ORGHOST="/etc/hosts.orig"
    HOSTNAME=`/usr/bin/hostname`
    NIC="hme0" # Change hme0 to the DHCP interface NIC
    DHCPNIC="/etc/dhcp.$NIC"
    IPADDRESS=`ifconfig $NIC|grep inet|nawk '{ print $2 }'`
    ### Functions to call
    SetHostname()
    echo "Setting DHCP Hostname: $NODENAME"
    /usr/bin/uname -S $NODENAME
    print "$IPADDRESS\t$NODENAME\t$HOSTALIAS" >> $HOSTFILE
    /usr/bin/hostname $NODENAME
    return
    # main
    case "$1" in
    'start')
    if [ -f $DHCPNIC ]
    then
    if [[ $HOSTNAME == "Unknown" ]]
    then
    SetHostname
    elif [[ $HOSTNAME == "unknown" ]]
    then
    SetHostname
    fi
    fi
    'stop')
    if [ -f $DHCPNIC ]
    then
    cp -frp $ORGHOST $HOSTFILE
    fi
    echo "Usage: $0 { start |stop }"
    exit 1
    esac
    exit 0
    ### This script is submitted to BigAdmin by a user of the BigAdmin community.
    ### Sun Microsystems, Inc. is not responsible for the
    ### contents or the code enclosed.
    ### Copyright 2007 Sun Microsystems, Inc. ALL RIGHTS RESERVED
    ### Use of this software is authorized pursuant to the
    ### terms of the license found at
    ### http://www.sun.com/bigadmin/common/berkeley_license.html
    I use the first, "short" script, it works.

  • Connect Database Host Name in Oracle Rac Database

    Hi All,
    I am using Oracle SES 11g to create a "Table Source" and a have following question.
    I have to added new table source to crawl, in the field "Database Host Name" i want to connect with Oracle Rac Database Server with two node.
    I am searching in the document and i can't find any relevant on that scenario.
    Can anyone help me in that ?
    Thank you.
    NG

    Check this Rittman Mead Consulting » Blog Archive » Oracle BI EE 11g – Managing Host Name Changes

Maybe you are looking for

  • My Mac Pro Desk Top computer no longer can "see" my second display??

    I've tried reversing the connections on the back of the MacPro but it still doesn't "see" the second display.  I've had these two displays hooked up for years with no problems.  I recently upgraded to Mountain Lion and I just had the MacPro in the Ap

  • Where are my pictures in icloud

    I had to get a new iphone.  All backed up to Icloud...it's been 12 hours and only some of my pictures and videos have downloaded...i went on icloud and don't see my pictures at all.  what's happening?

  • A callback pattern that seems to work

    I have searched for an easy way to create a callback pattern in Java and been stymied by the act that you cannot pass a function as an argument to a method. So I came up with this and just thought I'd throw it out for anyone that may find it useful.

  • Volume of some songs in Ipod Shuffle

    The volume of some songs is equal to the others when played by computer However, it becomes quite low when i listen to ipod shuffle. What can i do?

  • Possible ways to connect SharePoint Office 365 to External databases

    Hi, Is there a way we can connect SharePoint Office 365 to Oracle & MySQL Databases and also is it possible for these databases to feed data to SharePoint Office 365 rather than SharePoint pulling the data from these databases. Thanks