Sponsored Content
Full Discussion: DataBase Online Or Not
Special Forums UNIX and Linux Applications DataBase Online Or Not Post 302240845 by Reboot on Friday 26th of September 2008 07:19:49 PM
Old 09-26-2008
Hiii...
I am also System Admin, but usually we take offline backup by taking database and Applications offline and we do something like this:

We use following command :
#ps -ef | grep pmon | grep -v grep #Check pmon process.

and if this shows some output, that means Database is online, else it is offline.....


To make database offline,we do following :

1. Get sql prompt :
#sqlplus "/as sysdba"
2. Shut down database:
SQL> shutdown immediate

3. Exit from sql prompt :
SQL> quit


And then again check "pmon" process.

Hope this will help you...

Cheers...

Last edited by Reboot; 10-04-2008 at 05:07 PM..
 

2 More Discussions You Might Find Interesting

1. Programming

How to reconnect to online database?

HI, I am using perl LWP for connecting to online databases. some times i will get connection fail. I want to keep track of that error and again i want to connect. i.e when i get connection fail the program should not stop it should try to connect. I can check connection fail has... (1 Reply)
Discussion started by: vanitham
1 Replies

2. Shell Programming and Scripting

CRON Job to copy database and replace existing database

I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies
ncweb(1M)																 ncweb(1M)

NAME
ncweb - launch the Network Interfaces Configuration and Network Services Configuration tools of HP System Management Homepage (HP SMH) SYNOPSIS
DESCRIPTION
The Network Interfaces Configuration and Network Services Configuration tools are system management tools that manage a system by configur- ing network interfaces and network services on HP-UX installed systems. These tools provide both Web-based user interface (GUI) and termi- nal user interface (TUI). The command can launch both the terminal user interface (TUI) and the Web-based interface (GUI) of the Network Interfaces Configuration and Network Services Configuration tools. In the case of TUI, the command launches the Networking and Communications window, from where the user (superuser) can select Network Interfaces Configuration or Network Services Configuration. In the case of GUI, the command launches the Tools page of HP SMH, from where the user (superuser) can select Network Interfaces Configuration or Network Services Configuration. You must have superuser privileges to access the Network Interfaces Configuration and the Network Services Configuration tools. With the Network Interfaces Configuration tool, you can configure the following network interfaces: o Auto Port Aggregation (APA) o Network Interface Cards (NIC) o Remote Direct Memory Access (RDMA) o Virtual LAN (VLAN) o Tunnels Note: APA and VLAN network interfaces are displayed only if the products are installed on the HP-UX system. With the Network Services Configuration tool, you can configure the following network services: o Bootable Devices o DHCPv6 o DNS (BIND) o Hosts o NIS o Name Service Switch o Network Services o Networked File Systems o Routes o System Access o Time When you run it attempts to connect to a Mozilla Web browser running on the X server defined by the environment variable. If finds a run- ning Mozilla client, it uses that client. Otherwise, initiates a new Mozilla session. The new session is initiated only if the Mozilla process is running in the same system as that referenced by the variable, unless the option is used. Note: By default, invokes the Mozilla Web browser. To support any other browser (for example, Netscape), set the environment variable as shown below: The command opens the terminal user interface if any of the following conditions are true: o The command is invoked with the option. o The environment variable is not set. The command opens the Web-based interface if all the following conditions are true: o The command is invoked with option. o The environment variable is set. o The command is available on the system. If the command cannot open the Web-based interface, the command opens the terminal user interface. Options recognizes the following options: Force a client browser to be used in less secure ways. The option forces the use of a client browser, even when the X-traffic between the X-server and the Mozilla browser is not secure. Use the option only when the network traffic between the host where Mozilla is running and the host in the environ- ment variable is secure. The option causes to invoke the Web-based interface of the Network Interfaces Configuration and Network Services Configura- tion tools. If cannot start the Web browser, it starts the terminal interface. Generate a temporary login bypass key. The bypass key enables the privileged user to access the Web interface without having to provide login information again. The option causes to invoke the Web-based interface of the Network Interfaces Configuration and Network Services Configura- tion tools. Open the terminal user interface for managing network interfaces and network services regardless of the current setting of the environment variable. Other Ways to Start the Tools You can also start the Network Interfaces Configuration and Network Services Configuration tools using one of the following methods: o Invoke and select the functional area to launch the terminal user interface or press on the keyboard to launch the Web-based interface. o Type the URL in the address bar of the Web browser to open the Web-based interface. The hostname is the name of the server. o Open the HP-UX Systems Insight Manager on the server and select the Network Configuration tool from the Online Help The online help is available after the Network Interfaces Configuration tool or Network Services Configuration tool is open. The online help provides information on how to use the tool. RETURN VALUES
Upon completion, returns one of the following values: Successful Error Occurred AUTHOR
was developed by Hewlett-Packard. SEE ALSO
sam(1M), smh(1M). ncweb(1M)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy