The following examples illustrate how to use the virtual disk manager. You run the virtual disk manager from a command prompt.
Tag Archives: linux command
Linux Virtual Server Tutorial
The Linux Virtual Server Project (LVS) allows load balancing of networked services such as web and mail servers using Layer 4 Switching. It is extremely fast and allows such services to be scaled to service 10s or 100s of thousands of simultaneous connections. The purpose of this tutorial is to demonstrate how to use various features of LVS to load balance Internet services, and how this can be made highly available using tools such as such as heartbeat and keepalived. It will also cover more advanced topics which have been the subject of recent development including maintaining active connections in a highly available environment and using active feedback to better distribute load.
Linux CD / DVD Locked and Drive Is Not Opening / Ejecting CD
You might also try disallowing the kernel from locking the cdrom. Sometimes a rogue process will hold onto the drive for no real reason. This way is often much cleaner than killing the process.
# Temporarily unlock the cdrom
echo 0 > /proc/sys/dev/cdrom/lock# Permanently unlock the cdrom
echo “sys.dev.cdrom.lock=0″ >> /etc/sysctl.conf
via Linux CD / DVD Locked and Drive Is Not Opening / Ejecting CD.
Reassign a vswif to a new vmnic
VMware doesn’t like having two service console connections with different IP addresses in the same subnet, so I have two options.
1. Create a service console connection in a different subnet and access the host from that subnet using the VIclient.
2. Enter the commands directly on the host console.I recommend option two. Keep in mind that this process temporarily disrupts network communications to the host via the service console IP.
After obtaining physical access to the host’s console (or network access via a DRAC or ILO), log in and su – to establish root.
SSH Filesystem
This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there’s nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh.
The idea of sshfs was taken from the SSHFS filesystem distributed with LUFS, which I found very useful. There were some limitations of that codebase, so I rewrote it. Features of this implementation are:
- Based on FUSE (the best userspace filesystem framework for linux 😉
- Multithreading: more than one request can be on it’s way to the server
- Allowing large reads (max 64k)
- Caching directory contents
via SSH Filesystem.