BIT451 · 2082 · 10 marks
What are the salient features of Linux server? Explain the process of online server upgrade.
What are the salient features of Linux server? Explain the process of online server upgrade.[10]
Network and System AdministrationChapter 1: Linux Server Fundamentals and AdministrationLinux server features and characteristics
Model Answer: Salient Features of Linux Server and Online Server Upgrade
Salient Features of Linux Server (5 marks)
1. Open Source
- Source code is freely available for modification and distribution
- Community-driven development ensures continuous improvement
- No licensing costs
2. Portability
- Runs on diverse hardware platforms (mainframes, servers, desktops, embedded systems)
- Easy to migrate between different systems
- Consistent behavior across platforms
3. Multi-user and Multitasking
- Multiple users can work simultaneously on the same system
- Multiple processes can run concurrently without interfering with each other
- Efficient resource sharing and management
4. Security
- User authentication and authorization mechanisms
- File permission system (read, write, execute)
- Firewall capabilities and encryption support
- Regular security updates from community
5. Stability and Reliability
- Can run for years without requiring restart
- Robust error handling and recovery mechanisms
- Minimal downtime and high availability
6. Scalability
- Handles increasing workloads efficiently
- Can manage large numbers of users and processes
- Suitable for both small and enterprise-level deployments
Process of Online Server Upgrade (5 marks)
Definition
Online server upgrade refers to updating or patching a Linux server while it remains operational, without causing service interruption to users.
Step-by-Step Process:
Step 1: Planning and Preparation
- Identify required updates (security patches, kernel updates, software upgrades)
- Create backup of critical data and configurations
- Schedule upgrade during low-traffic periods if possible
- Notify users about potential performance impact
Step 2: Update Repository Information
sudo apt update # For Debian/Ubuntu
# or
sudo yum update # For RedHat/CentOS
- Refreshes package lists from repositories
- Identifies available updates
Step 3: Download Updates
- Download new packages without installing immediately
- Verify package integrity and dependencies
- Ensure sufficient disk space available
Step 4: Install Updates
sudo apt upgrade # Non-disruptive updates
# or
sudo apt dist-upgrade # Major version upgrades
- Install updates while system remains running
- Most services continue operating
Step 5: Service Restart (if required)
- Some updates require service restart
- Restart individual services rather than entire system:
sudo systemctl restart service_name
- Minimize downtime by restarting only affected services
Check
- Verify all services are running correctly
- Check system logs for errors
- Test critical applications and functionality
- Monitor system performance
Step 7: Rollback Plan
- Keep previous version available if issues occur
- Document changes made during upgrade
- Have recovery procedure ready
Advantages of Online Upgrade:
- Continuous service availability
- No scheduled downtime
- Improved user experience
- Cost-effective for production environments
Note: The specific commands and procedures may vary depending on the Linux distribution (Ubuntu, CentOS, Fedora, etc.) and the type of upgrade being performed.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.