NavigationGeek Stuff
Current Projects
Search |
System AdministrationAdding a simple GUI to the console in LinuxThere's probably a lot of scenarios in general Unix administration wherein you'd like to create a simple GUI for people to do tasks. This way you can give non-technical people the ability to do things like check printer queues or do add users or whatever. Obviously, writing a shell script with regular text output is one option, but the 'dialog' tool is another.
Useful VMWare Server console cli commandsThere are some commands that come with VMWare Server that are useful for doing administration via the commandline. This is helpful when you can't connect via the console app and need to restart a vmware session. vmware-cmd -l Get state of vmware server vmware-cmd stop/start/suspend/reset vmware-cmd
Adding a disk via CLI in VMWare Servercd to where the .vmx (the vmware server config) is stored for the vm you want to add the disk to. Create the disk. vmware-vdiskmanager -h gives what the options are, and are pretty self-explanatory. From what I can see, your VM must be running to do the next two Next, attach the disk image to the VM, in order to do this properly,you'll have to know which ID's are available on your scsi tree:
Create Raid-5 Set using md devices in LinuxIn order to create a raid-5 set in Linux, you can do the following: 1. Create partitions using fdisk or parted on your disks. For Raid-5, you need at least 3. If you create the partitions with the type of 0xfd, you don't need to create a mdadm.conf file. mdadm -A -s is ran on system startup and automagically finds these things. 3. Add the following lines to /etc/mdadm.conf: DEVICE /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
Using Logical Volume Management in LinuxI haven't done much with LVM in Linux. In Red Hat 4, it became possible to use it to manage your volumes. In Red Hat 5, it's the default method for dealing with disks. I've done a fair amount with Veritas Volume Manager (VxVM) under Solaris, however, it's been awhile. But, the concepts I learned under VxVM are similar to that of the Linux LVM. One thing that appears to be different about Linux LVM vs VxVM is that LVM only creates raid 0/1 sets and NOT raid 5 sets. If you need Raid 5, you have to use a md device.However, md sets can create 0/1/5 raid sets.
The OSI ModelHere's the OSI Model in networking: 1. Application layer Here's how I remember it: 1. A I seem to remember it because it seems like it should be a dirty joke, even though it isn't.
|