General :: Script For Getting Server Information
Apr 20, 2011
I am new to Scripting. My task is to create a script that would pull the old server(unix) and new server(linux) information and should display all the task information for migration/cutover purpose to the other areas. We already have a script that gives information about ip, subnet, gateway and other information as follows:
#readip ad30db01
Server IP Subnet Gateway VLAN
10.x.x.x 255.x.x.x 10.x.x.1 100
There is a main server which has info about all the servers and we execute the readip from the main server which gets info about any old or new server. So, in my script, I am calling this script, and I want to display only few contents of the readip output as follows:
Hostname: (I should display the server ip from the read ip only out)
Subnet: Should display the subnet from the readip output
Gateway: Same
Vlan: Same
View 1 Replies
ADVERTISEMENT
Aug 9, 2009
If the server restarts, does the information in iptables get lost? I have seen a number of pages where people recommend readding lines or creating bash scripts to get it to work again. What about files like squid.conf, ncsa_auth files, etc.?
View 10 Replies
View Related
Apr 5, 2011
We do have primary & backup DNS both are running in Linux. I'm planning install the 3rd DNS & move the DNS02 to this server(DNS03)& remove the DNS02 later. Ho can I do move all the information & configuration of DNS02 to the new server? configuring the DNS03 & removing DNS02.
View 13 Replies
View Related
Sep 24, 2010
First, (for samba) how do I determine whether my computer "gets IP address information from a dhcp server on the network," and whether "the dhcp server provides info about WINS servers ("NetBIOS name servers") present on the network," and consequently whether a change to my smb.conf file, "so that DHCP-provided WINS settings will automatically be read from /etc/samba/dhcp.conf," and whether the dhcp3-client package must be installed?
View 2 Replies
View Related
Jan 24, 2010
I have configured the proxy server. I want to observer users's download information. What should I need to do? Shall I install squint? what is the process? How do I monitor the users?
View 1 Replies
View Related
Jul 30, 2011
How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?
View 1 Replies
View Related
Jun 26, 2010
I'm running the current release of Debian with the 2.6.26-2 kernel. This is an upgrade from an older (2.4 kernel) series redhat release. One of the things I had working in the older system was a dns server with accompanying monthly update of the root hints file. I tried working through a dns how-to to set this up again, but it seems much has moved around since I last played with this. All of the files listed in the how-to are not where it says they should be. I am looking for a better reference on keeping the dns server running with current server information.
View 1 Replies
View Related
Sep 3, 2009
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
View 1 Replies
View Related
Jun 2, 2010
On Linux server (Trixbox PBX) how to get SIP sitting information form server. It was configure before on X-lite on pc, mistaken its removed from sitting on pc. How to get SIP setting information form server.
View 9 Replies
View Related
May 28, 2010
When I try to hit my jsp pages all that gets displayed is the source code.I cannot find any log files that give me any information. It seems as though apache is not forwarding requests to tomcat6 but I cannot verify this. I need some direction on what is happening here. I'm lost and have run out of options.Would JAVA classpaths cause this type of behaviour if they are wrong?
View 2 Replies
View Related
May 17, 2010
How do you setup Secondary or Slave Servers in NIS? Will the domain of the slave server be the same as the Master Server?
View 1 Replies
View Related
Apr 7, 2009
We want to upgrade our servers running RHAS v3u9 to RHEL 5.3. What is the best way to do this without losing any information.
View 3 Replies
View Related
Oct 3, 2009
Consider the two runs of finger command for two different users:
Code:
[root@localhost ~]# finger root
Login: root Name: root
[code]...
View 3 Replies
View Related
May 3, 2010
i'm trying to use the database that was used by vpopmail and vqadmin with postfix and dovecot. By setting up dovecot to use mysql, i can query username and password for authentication but how do i create a user and edit its information in the database? Poastfixadmin only use database that was created along when installing it.
Any viable option aside from recode postfix to meet my criteria?
View 1 Replies
View Related
Jul 19, 2011
I'm working on program that is going through setting different baud rates onto a config file. After I set a new value i want to check if it's the correct one by reading from the serial port on the server unit. I know what to expect if it's the correct baud rate so that's no problem, but searching through the internett i've yet to find a compact solution to my problem.
View 1 Replies
View Related
Jul 18, 2011
Is SUBJ possible? For example: I have 1 disk with ext2 (ext3) partition and information written on it. I want to make a mirror using the disk. I put this one and another unformatted one into a server, create an appropriate /etc/raiddraive, and do mkraid. Shall I get a mirror witn intact information from the first disk? If not, are there any ways to do so?
View 1 Replies
View Related
Feb 7, 2011
I have an apache2 php5 on an ubuntu 10.04 it was working fine except today and does not open web site now. I tried to open phpinfo.php but it takes long time and at the end it loads php informations just until date module. I installed php5-cli to find out what does not work properly then I used:
Quote:
# php5 -i
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so' - /usr/lib/php5/20090626+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib
[Code]....
View 6 Replies
View Related
Apr 9, 2011
I like the server login information that gets displayed when you login to a 10.04 server. It lists disk usage, CPU usage, Temperature etc...
Unfortunately I had problems installing 10.04 from a USB. At the end of the process the master boot record was stored on the USB and not the hard disk.
But now when I login to my server I don't get the server information.
View 1 Replies
View Related
Mar 18, 2010
I wanted to set up Computer Lab. loading Fedora 11 OS and one system acting as a Server to store Users(Student) Login Informations. When students do a programs, all programs (eg, C++ programs) files should be saved in the local fedora system but when login to the system, the login should be validate by a Server System.
View 5 Replies
View Related
Jan 25, 2010
Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.
You can see it in action here: [url]
I've attached the actual php file.
Two questions:
1) What more can I add to it to give me even more information?
2) I want to add hddtemp but it requires sudo to run. How can I get around this?
View 4 Replies
View Related
Jul 31, 2010
When I view a file in Linux with the 'less' command, I often only get a ":" prompt in the bottom left corner. There's no clue about how long the file will be, or at which location I am currently. When reading manpages with 'man', there's a file title and line number in that corner. And once I hit the end of the file, there's even a percentage shown. I've learned about 'less -m' but it's not that powerful. So what does 'man' differently from 'less'? They appear to be the same viewing programme, except for that file information difference.
View 7 Replies
View Related
Feb 18, 2011
tcl and information on how to run the program. I have installed it under ubuntu but cannot find any reference to it.
View 1 Replies
View Related
Aug 5, 2010
In top, I can see programs that are sleeping but are taking up memory and CPU. If a program is sleeping then how is this possible? Maybe it might have some memory reserved but then what about CPU? Also, it says there are four users, but I can see only two users, myself and root. How can I find out who the other two users are?
View 1 Replies
View Related
Sep 23, 2010
Problem: After restarting DNS decided that on of 2 existing HDD (in Standard, not in RAID, etc.) is new and asked to format it.
DNS indicated problem HDD by Purple LED instead of Blue LED.
What I tried to do:
- re-started device few times (thru web interface and pressing 'button')
- insert this HDD in the place of another (working good) one - the same result
View 1 Replies
View Related
Nov 2, 2010
How to get under linux (without Wine) such information about Windows EXE/DLL file:
CompanyName
FileVersion
ProductVersion
[code]...
View 11 Replies
View Related
Feb 4, 2011
What is the command to view HBA information?
View 2 Replies
View Related
Dec 2, 2010
Trying to build a RAC server. I have 5 ips that the Network Team has provided with. They are like this:
LAN IP (IP & Cable, which means physical card is present)
TSM IP (Tivoli Storage Manager-Backup) (IP & Cable)
ISO1 (Heartbeat 1) (IP & Cable)
[code]....
View 2 Replies
View Related
Sep 21, 2010
how possible it is if at all to get information out from remote printers?Mainly i'd like to know the printer trays the printer has available and how the printer has assigned names to those trays, in order for me to send print jobs to specific print trays and know that i'm using the correct tray name whereas currently its a guess and thus probably not workingI have lpr and have printcap file set-up and have no problems in printing, I just want to be able to specify more options and in order to do this i feel i need to probe the printer somehow to find out what options are available?
View 2 Replies
View Related
Feb 26, 2010
If we login in to linux we are getting the following last login information
login as: root
root@192.168.3.16's password:
Last login: Fri Feb 26 16:09:20 2010 from 192.168.3.187
[root@dblinux ~]#
tell me where this information is stored exactly.
View 3 Replies
View Related
Aug 4, 2010
How can I see hardware information for my sound card in Linux?
View 3 Replies
View Related