SunSerialPortConfigurationAPCUPSD User Manual. Adam Kropelin. Kern Sibbald. Apcupsd is a UPS control system that permits orderly shutdown of your. May 3. 1, 2. 01. 6 1. This manual documents apcupsd version 3. Copyright 2. 00.
Linux Network Configuration Networking, setup and administration. This Linux tutorial covers TCPIP networking, network administration and system configuration basics. Adam Kropelin. Copyright 1. Kern Sibbald. Copying and distribution of this file, with or without modification. Apcupsd. the copyright notice, and this notice are preserved. Apcupsd source code is released under the GNU General Public License. Please see the file COPYING in the main source directory. For more information on the project, please visit the main web site. No person should rely on the contents of the APCUPSD Manual the manual. APC Technical Support. The manual is provided on the terms and understanding that the authors, contributors and editors are not responsible for the. The the authors, contributors and editors, expressly disclaim all and any. Without limiting the. This is the manual for apcupsd, a. UPSes Uninterruptible Power. Supplies made by American Power Conversion Corporation APC. If you have an. APC made UPS, whether sold under the APC nameplate or OEMed for example, the HP. Power. Trust 2. 99. TULARC/pc/motherboards/A/AMERICAN-PREDATOR-CORPORATION-486-PREDATOR-I-PLUS-1.png]];var lpix_1=pix_1.length;var p1_0= [[800' alt='Sun Serial Port Configuration' title='Sun Serial Port Configuration' />A, and you want you get it working with a computer running. Linux, Unix, or Windows, you are reading the right document. This manual is divided into parts which increase in technical depth. If you have just bought a state of the art smart UPS. USB or Ethernet interface, and you are running a current. Red Hat or SUSE Linux, then apcupsd is. Basic. Users Guide. If your operating system is older, or if you have an old fashioned. UPS, youll have to read about serial installation see. Installation Serial Line UPSes. If you need more. UPS setup youll need to read the sections on. Finally. there are a number of technical reference sections which. You should begin by reading the Quick Start see Quick Start for. Beginners instructions. On current hardware and software getting it. The following is a help guide to the steps needed to get apcupsd. Check to see if apcupsd supports your UPS and cable see. Supported UPSes and Cables. Check to see if apcupsd supports your operating system see. Supported Operating Systems. Plan your configuration type see Choosing a Configuration. Type. If you have just one UPS and. If you have more than one machine being. UPS, or more than one UPS supplying power to. Figure out if you have one of the easy setups. ProductInfo/commecho.png' alt='Sun Serial Port Configuration' title='Sun Serial Port Configuration' />If you have a USB. UPS, and a supported operating system and you want to use one UPS. APC supplies the cable. UPS along with the UPS. All you need to do. USB subsystem is working see USB. Configuration if so, you can go to the build. If you have a UPS designed to communicate via SNMP over. Ethernet, that is also a relatively easy installation. Details. are provided in Support for SNMP UPSes. If you have a UPS that communicates via an RS2. Sun Serial Port Configuration' title='Sun Serial Port Configuration' />C serial. Smart. UPS, then things are relatively simple. If you have a vendor supplied cable, find out what cable type. A, stamped in the plastic. If you dont have a vendor supplied cable, or your type is not. Cables. Here is hoping you are good with a soldering. UNIX Commands for DBAs This article contains a brief list of commands that most UNIX DBAs will need on a regular basis. File and Directory Navigation find, grep, alias. ENVIROMUX2D ENVIROMUX5D ENVIROMUX16D Download firmware updates, support files, release notes, USB driver, Enterprise Server Environment Monitoring System monitors. The Cisco SMX1T3E3 1port T3E3 enhanced service module SMX is a softwareconfigurable T3E3 product for Second Generation Integrated Services Routers ISR G2. EDIT Polanskiman this topic is deprecated and is permanently closed. When posting in the forum please give this information Hardw. Now you are ready to read the Building and Installing see. Building and Installing apcupsd. If you are. installing from an RPM or some other form of binary package, this. Tweak your etcapcupsdapcupsd. Often it. will not be. Change the BIOS settings see Arranging for Reboot on. Power Up on your computer. This is not the default. To verify that your UPS is communicating with your computer and. Testing see Testing. View and Download Sun Oracle SPARC T5120 installation manual online. SPARC T5120 Server pdf manual download. TCP Ports TCP 0 Reserved TCP 1 Port Service Multiplexer TCP 2 Management Utility TCP 3 Compression Process TCP 4 Unassigned TCP 5 Remote Job Entry TCP 6. This document explains some basic serial communication techniques. For more information on serial communication concepts and terminology, see the related link Serial. Apcupsd section. If you run into problems, check the apcupsd users email list. This is an excellent resource with. See. http sourceforge. If you still need help, send a message to the apcupsd users email. Read the manual section on Monitoring and Tuning your UPS. UNIX like operating systems as well as several. Windows. Due to lack of API standardization, USB support is not. See Platform Support below for details. In general it is recommended to obtain a prebuilt package for your platform. Given how apcupsd must integrate into the shutdown mechanism of the. In. some cases, binary packages are provided by the apcupsd team Red. Hat. Mandriva, Su. SE, Windows, Mac OS X. For other platforms it is recommended to. Note that some vendors continue to distribute. These packages should not be. LINUXWINDOWSWindows NT 4 24Windows 9. ME2. 00. 0 24Windows XPVista including 6. Windows Server 2. Windows 7 2OTHERSapcupsd supports nearly every APC brand UPS model in existence and enough. The UPSTYPE lt keyword field is the value you will put in. UPS. you have. Well describe the possible values here, because theyre. UPSs single most important interface. The apcsmart protocol uses an RS2. APC calls this language UPS Link. Openwrt Serial Port Programming there. Originally. introduced for Smart UPS models thus the name apcsmart, this. UPS is in decline, rapidly being replaced in APCs product. USB and MODBUS UPSes. A USB UPS speaks a universal well defined control. USB wire. Most of APCs lineup now uses this method. The most recent APC UPSes support only a. USB interface. MODBUS see below is required. This is the keyword to specify if you are using your. UPS in Slave mode i. UPS, but to another machine which is, and it is connected to. Master via an ethernet connection. You must have apcupsds. Network Information Services NIS turned on for this mode to work. SNMP UPSes communicate via an Ethernet NIC and. Simple Network Management Protocol. A dumb or voltage signaling UPS and its computer. RS2. 32. C. serial connection. Not much can actually be conveyed this way other than. Voltage signaling UPSes are obsolete you. If you. have a choice, we recommend you avoid simple signalling UPSes. PCNET is an alternative for SNMP available on APCs. AP9. 61. 7 family of smart slot modules. The protocol is much simpler. SNMP. modbus. MODBUS is the newest APC protocol and operates over RS2. USB. MODBUS is APCs replacement for the aging apcsmart aka UPS Link. MODBUS is the only way to access detailed control and status. SMT series UPSes. There are three major. The first is a standalone. UPS, which powers a. This is the most common configuration. If youre. working with just one machine and one UPS, skip the rest of this. Your choices become more interesting if you are running a small. Under those circumstances, it may not. UPS with every single. The second type of configuration is the NIS Network Information. Server server and client. In this configuration, where one UPS. UPS. Note that NIS is not related to Suns directory service. NIS or Yellow Pages. The third configuration is where a single. UPSes. In this case, there are several. UPS. One instance of apcupsd will run in standalone mode, and. This type of configuration may be appropriate for large server. Here is a diagram that summarizes the possibilities If you decide to set up one of these more complex configurations. Apcupsd supports USB connections on all major operating systems. Linux, Free. BSD, Open. BSD, Net. BSD, Windows, Solaris, and Mac OS X. Darwin. If you plan to use a USB connection, please read the. You can skip this section. UPS has a serial RS2. C or Ethernet interface or if you. Problem. Linux 2. RH 9, RHEL 3. do not bind the USB device to the proper driver. This is evidenced. UPS correctly but it will have. This affects RHEL3. Workaround. Upgrade linux kernel to 2. Alternately. you apply the linux 2. USB reject. patch patches to your kernel and rebuild. These patches can be found in the examples directory in the. Problem. Mandrake 1. Unix Commands for DBAs. This article contains a brief list of commands that most UNIX DBAs will. File and Directory Navigation. The pwd command displays the current. The ls command lists all files and. If no location is defined it acts on the current directory. The a flag lists hidden. The l flag lists file details. More Examples ls al pg do a full directory listing. ORACLEHOMEreports. Verify that. the spoolcmd. List files with hidden. Very useful when you cannot delete a file for an unknown. Shows the. files in a list just. The option h comes handy to. The parameter r shows the. R The R operator makes the ls. The cd command is used to change. The touch command is used to create a new. The rm command is used to delete files. The R flag tells the command to recurse through. R archive. The mv command is used to move or rename. The. represents the current directory. The cp command is used to copy files and. The mkdir command is used to create new. The rmdir command is used to delete. Show all processes owned by. The find command can be used to find the. The flag represents the staring. Wildcards such as dbms can be used for the. Search everywhere for the specified filefind. DISPLAY print pg Search all files for the text string DISPLAY takes a while to run Display only the lines in etcoratab where the lines do not v. Tip for Oracle Users. Oracle produces many extraneous files trace files, log files, dump. Unless they are cleaned periodically, they can fill. To ensure that doesnt happen, simply search for the files with. A. simple command does the trick find. The which command can be used to find the. The which command searches. PATH setting for occurences of the specified executable. The PS1changes your prompt. PS1DiegoMaster DiegoMaster. You can also place special symbols in the variable to show special. For instance the symbol u shows the username who logged in and. If we use these symbols, the prompt can be customized to show. PS1u w oracleoradba. R2db. 1 Here are some other symbols you can use in PS1 shell variable The. The. date in Weekday Month Date formatHThe. TThe. same as but displaying seconds as well. AThe. The. same as A but with the seconds as well The wc utility displays a count of the. The switches for this. README. txt. 85 README. Join. to file. 2 and output to file. The tail. let you see a specified number of lines from the end of the filetail. The head. let you see the specified number of lines from the top of the. The diff. displays the differences between file. Options diff. t ignore white spaces and tabs i ignore case letters AaAnother option, y, shows the same output, but side by side diff. W 1. 20. The alias. Examples alias. al Alias the command ls al to lsalias osecho ORACLEHOME. Here is a list of some very useful aliases I like to define alias lls d. ORACLEHOMEalias osecho ORACLESIDalias tnscd. ORACLEHOMEnetworkadminalias bdumpcd. ORACLEBASEadminORACLESIDbdumpThe echo. DISPLAY display the. DISPLAY variable to screen. With the du. commands, you can display hard disk information. Use 1. 02. 4. byte blocks instead of the default 5. Displays. disk space free on each filesystem. Very useful. The ftp. Invoke the file transfer protocol file exchange program ftp. Once logged in and at the ftp prompt, you have many options bin. Change transfer mode to ascii modesend myfile. Transfer myfile from your local machineget fred Receive the. Transfer all files in current directory of the host to your local. Check the. directory of your local machinepwd Check. The ln. command let you create a link to a file. You use this during the Oracle. Software installationln. K1. 0dboraln s etcinit. S9. 9dboraln s etcinit. S9. 9dbora. The sed. Its helpful to do a global search. Place the html command lt br at the end of. Good for formatting the ouptut of unix. The awk. command it has its own scripting language For example, to display only the 6th field of the output from who am. Field 6 is the IP address of your own terminal session PC. This can be used to automatically set the DISPLAY environment variable. The cksum. command provides a checksum of a file. Its very useful for comparing. Thesplitcommand can split up a file into. Splits bug. 12. 34. The g commands allows you to compress files. The g command results in a compressed copy of the original. The gunzip command reverses. The compress command results in a. Z extension. The uncompress command. The rsync. is a great file copier or command to SYNC directories, Here are some. Only get diffs. Do multiple times for troublesome downloads rsync P. Locally copy with rate limit. Its like nice for IO rsync. Mirror web site using compression and encryption rsync az e. Synchronize current directory with remote one rsync auz e. The ssh. command lets you connect to a remote box. The scp command. Run command on HOST as USER default commandshell ssh. USERHOST command Run GUI command on HOSTNAME as USERssh. Y USERHOSTNAME xeyes. Copy with permissions to USERs home directory on HOST scp p r. USERHOST file dir Forward connections to HOSTNAME 8. HOST 8. 0 ssh g L. HOST Forward connections from HOST 1. HOST File Permissions. The umask value is subtracted from the default permissions 6. Default permission. Owner Group World Permission 7 urwx 7 grwx 7 orwx read write execute. Rx 5 gRx 5 oRx read execute. Character eqivalents can be used in the chmod command chmod orwx Rx log. The. R flag causes the command ro recurse through any subdirectories. R oinstall. dba Finally the chgrp. The following example changes the ownership on every single file in. OS Users Management. OS users useradd G oinstall g dba d usrusersmyuser m s binksh myuser. The G flag specifies the primary group. The g flag specifies the secondary group. The d flag specifies the default directory. The m flag creates the default directory. The s flag specifies the default shell. The r flag removes the. Process Management. OS connections whowho head 5who tail 5who grep i orawho wc l. The head 5 command restricts the output to the first 5 lines. The tail 5 command restricts the output to the last 5 lines of. The grep i ora command restricts the output to lines. The wc l command returns the number of lines from who, and. Some users could be just logged on but actually doing nothing. You. can check how long they have been idle, a command especially useful if. HNAME. IDLE PID COMMENToracle. Jan 8. 1. Jan 8 1. 5 5. 7. Dec 2. 6. 1. 3 4. Oct 2. 3. 2. The new column IDLE shows how long they have been idle in hh mm format. Note the value old in that column It means that the user has been. The PID column shows the process ID of their shell connection. The ps. command lists current process information psps ef grep i ora. Specific processes can be killed by specifying the process id in the kill. Lets see what happens when we want to kill the session of the user SH.
10/31/2017
Posted by admin