Getting error "Network path Not found" after running dir command from Windows NFS client



Weird Problem with Virtual PC 2007


Had a weird problem with Virtual PC 2007 where the blue screen would flash up when I ran the program, yet the console window would not appear even though Virtual PC was running in the task manager and the system tray. The Virtual PC console had effectively disappeared. All this was bad enough, but this happened to me when I was visiting a customer site and just about to demo some cool new features of SQL Server 2008 ! I had even checked my demos before setting out that morning, so this was very weird (and not to mention embarrassing) ! After uninstalling and reinstalling and scratching my head for a while, I came across the solution here...

https://www.essjae.com/blog/default.asp?id=43


Windows Failover Clustering Overview


The host node in the failover cluster performs a "looks alive" check every 5 seconds. An IsAlive check is performed every 60 seconds using SELECT @@SERVERNAME. If this fails the IsAlive retries 5 times and then attempts to reconnect to the instance of SQL. If all fail, then the SQL Server resource fails. Depending on the failover threshold, configuration of SQL resource, Windows Clustering will either attempt to restart on same node or failover to another available node.

During failover, Windows Clustering starts the SQL Server service for that instance on the new node, and goes through the recovery process to start the databases.  After the service is started and the master database is online, the SQL Server resource is considered to be up. User databases will then go through the normal recovery process: any completed transactions in the t-log are rolled forward, and any incomplete transactions are rolled back. The length of the recovery process is dependent on how much activity must be rolled forward or rolled back upon startup.

Set the recovery interval of the server to a low number to avoid long recovery times and to speed up the failover process. SQL Server generates automatic checkpoints based on the "recovery interval" setting. Long running transactions can lead to much longer restart times than specified in the recovery interval option.

Failover/Failback Strategies

The cluster group containing SQL Server can be configured for automatic failback to the primary node when it becomes available again. By default, this is set to off.

To Configure:

  • Right-click the group containing SQL Server in the cluster administrator, select 'properties' then 'failback' tab.
  • To prevent an auto-failback, select 'Prevent Failback', to allow select 'Allow Failback' then one of the following options:
    • Immediately: Not recommended as it can disrupt clients
    • Failback between n and n1 hours: allows a controlled failback to a preferred node (if it's online) during a certain period.

Configure Node Failover Preferences

When you use more than 2 nodes, it's important to consider which nodes should own resources in the event of a failover. For example, in an n+1 configuration, each SQL Server group should have the idle node second in the list of preferred owners. N.B. Do not use cluster admin to remove nodes from the resource definition. USe SQL Server setup for that functionality.

To Configure:

  • Right-click SQL Server group in the cluster administrator and select properties
  • On the 'General' tab, the preferred owners list box contains all cluster nodes that can potentially own resources in that group, and the current order in which they will failover
  • Click 'Modify' to change this order

Configure Thresholds for a Resource

  • Right-click the cluster resource and then select 'Propereties'
  • Click 'Advanced'
  • Select 'Do not restart' if the cluster service should not attempt to restart. Restart is the default
  • If 'Restart' is selected:
    • Affect the Group: uncheck to prevent a failure of the selected resource from causing the SQL Server group to failover
    • Threshold: number of times the cluster service will attempt to restart the resource, and period is the amount of time in seconds between retries
  • Do not modify the 'LooksAlive' and 'IsAlive' settings
  • Unless necessary, do not alter the 'Pending Timeout'. This is the amount of time the resource is either in the online or pending or offline pending states before the the cluster service puts it in either offline or failed state

Configure Thresholds for a Group

  • Right-click the group containing the SQL Server virtual server then click properties
  • Click the failover tab
  • to configure the failover policy, in the threshold box enter the number of times the group is configured to failover within a set span of hours. In the period box, entrer the set span of hours
  • Once the resource group reaches the set number of failovers, it will stay offline. However, other cluster resources, such as cluster IP, could be left online

Cluster Resource Dependencies

Resource Dependency
SQL IP Address (Virtual Server Name) NONE
SQL Network Name (Virtual Server Name) SQL IP Address
SQL Server Disk Resource(s),SQL Network Name
SQL Server Agent SQL Server
SQL Server Full Text Disk Resource(s)
Analysis Services (2005 only) Disk Resource(s),Network Name

 

Cluster Heartbeat

Cluster nodes use the "heartbeat" signal to check whether each node is alive at both the OS level and SQL Server level. The node hosting the SQL Server resources uses the Service Control Manager to check every 5 seconds whether the SQL Server service appears to be running. This "LooksAlive" check does not impact performance but does not perform a thorough check; the check will succeed if the service appears to be running even though it might not be operational. As a result, a deeper check must be performed; this "IsAlive" check runs every 60 seconds.

IsAlive:

  • Runs every 60 seconds
  • Runs an @@SERVERNAME T-SQL query against SQL Server to determine whether the server can respond to requests
  • Does not gaurantee that all user databases are available or are performing within necessary performance/response-time requirements

If IsAlive Check fails:

  • Retried 5 times and then it attempts to reconnect to the instance of SQL Server
  • If all 5 retries fail, the server resource fails
  • Depending on the failover threshold config, the failover cluster will either restart the resource on the same node or it will failover to another available node

The IsAlive query tolerates a few errors, but ultimately it fails if it's threshold is exceeded

During failover of the SQL Server instance, SQL Server resources start up on the new node and SQL Server goes through the recovery process to restart the databases. After the service is started and the master database is alive, the SQL Server resource is considered to be up. User databases will go through the normal recovery process. Completed transactions in the transaction log are rolled forward (the Redo phase), incomplete transactions are rolled back (the Undo phase).

In SQL Server 2005 Enterprise Edition, each user database is available to the user once the Redo phase is complete. For all other editions (and all 2000 editions), each user database is unavailable until the Undo phase completes. Length of recovery process depends on how much activity needs to be rolled forward or back upon startup.

The 'recovery interval' sp_configure option of the server can be set to a low number to avoid longer Redo recovery times and to speed up the failover process. Undo recovery time can be reduced by using shorter transactions so that uncommitted transactions do not have much to roll back.

Recommended Heartbeat Configurations

  • Two or more independent networks must connect the nodes of the cluster to avoid a single point of failure
  • Use of 2 LAN's is typical (MS PSS does NOT support the config of a cluster with nodes connected by only one network)
  • At least two of the cluster networks must be configured to support heartbeat communications between the cluster nodes to avoid a single point of failure
  • To do so, configure the roles of these networks as either "Internal Cluster Communications Only" or "All Communications" for the cluster service
  • Typically, one of these networks is a PRIVATE INTERCONNECT dedicated to internal cluster communication.
  • Each cluster network must fail independently of all other cluster networks.
    • The cluster networks must not have a component in common that can cause both to fail simultaneously.
    • The use of a multiport network adapter, for example to attach a node to two cluster networks would not satisfy this requirement in most cases as the ports are not independent 
  • Remove all unnecesary network traffic from the network adapter that is set to INTERNAL CLUSTER COMMUNICATIONS ONLY (also known as the "heartbeat" or "private" network adapter, to eliminate possible communication issues
  • Clustering communicates using Remote Procedure Calls (RPC) on IP sockets with User Datagram Protocol (UDP) packets

Recommended Configuration for Private Adaptor in Windows 2000 and Windows 2003


Windows Memory (PAE/AWE/3GB)


PAE (Physical Address Extension)

PAE is the added ability of the IA32 processor to address more than 4GB of physical memory. The following OS's can use PAE to take advantage of physical memory beyond 4GB:

  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacentre Server
  • Microsoft Windows Server 2003 Enterprise Edition
  • Microsoft Windows Server 2003 Datacentre Edition

To enable PAE, use the /PAE switch in your server's boot.ini file.

N.B. In Windows Server 2003, PAE is enabled automatically if your server is using hot-add memory devices.In all other cases, you must add the /PAE switch to boot.ini

Typically, a process running under Windows 2000 or Windows 2003 can address up to 2GB of memory address space (3GB if the /3GB switch is used in boot.ini) with some of the memory being physical memory and some being virtual. The more programs (and therefore, more processes) you run, the more memory you commit up to the full 2GB of address space. When this occurs, the paging process increases dramatically and performance may be negatively affected.

Windows 2000 and 2003 memory managers use PAE to provide more physical memory to a program. This reduces the need to swap the memory of the page file and results in increased performance. The program itself is not awareof the memory size, the memory management and allocation of the PAE memory is handled by the memory manager independently of the programs that run.

When the /3GB switch is used is conjunction with the /PAE switch, the OS does not use any memory in excess of 16GB. This is caused by kernel virtual memory space considerations. If the system restarts with the /3GB switch in boot.ini, and the system has more than 16GB available (physical memory), the additional RAM is not used by the OS. Restarting without the /3GB switch enables use of all the physical memory.

AWE (Address Windowing Extensions)

AWE is a set of API's to the memory manager's functionsthat enables programs to address more memory than is available through standard 32-bit addressing. It enables programs to reserve physical memory as non-paged memory to the program's working set of memory. Enables memory intensive programs, such as RDBMS, to reserve large amounts of physical memory for data without having to be paged in and out of a paging for for usage. Data is swapped in and out of of the working set and reserved memory is in excess of the 4GB range. Additionally, the range of memory in excess of 4GB is exposed to the memory manager and the AWE functions by PAE. Without PAE, AWE cannot reserve memory in excess of 4GB.

In Summary:

  • PAE is a function of the Windows 2000 and Windows Server 2003 memory manager that provides more physical memory to a program that requests memory
  • The program is not aware that any of the memory that it uses resides in the range greater than 4GB
  • AWE is an API that enables programs to reserve large chunks of memory
  • Reserved memory is non-pagable and is only accessible to that program
  • You can't allocate more than 4GB of memory to an application on Windows Server 2000 because PAE is not available. Also cannot use the /3Gb switch in the boot.ini file with Windows Server 2000
  • Need to use Windows 2000 Advanced Server or Windows 2000 Datacentre.
  • PAE (36-bit physical addressing mode) allows up to 8GB of physical memory on Windows 2000 Advanced Server and 32GB on Windows 2000 Datacentre
  • Maximum amount of memory supported on Windows Server 2003 is 4GB. Windows Server 2003 Enterprise Edition SP2 supports 64GB of physical RAM and Windows 2003 Datacentre SP2 supports 128GB. You can use the /3GB switch in boot.ini in all versions of Windows Server 2003

Memory Limits for Windows Releases
Operating Systems and PAE support


Techdays 2012 WSV303 IIS 8 簡報與範例程式檔下載


Techdays Taiwan 2012 ???????,?????? WSV303:  Windows Server 2012 Internet Information Services (IIS) 8 ??????,????? IIS 8 ??????,??: ?? IP ??????????? CPU???????????????????????????????,??????????????????:

???????: https://sdrv.ms/QKYAE8
???????: https://sdrv.ms/QOLUxC

???????????????????


用 Windows Server 2012 打造 NAS (0) - 緣起


Windows Server 2012 ?????? Storage ??,???????? NAS ? OS????????????? Mini-ITX ?????????????????? NAS??????????????,??????????????? Windows Server 2012 ???????????????? Windows Server 2012 ?? NAS ???,??????????

????:
? Windows Server 2012 ?? NAS (1) - ???
? Windows Server 2012 ?? NAS (2) - ???? (Storage Space) ?


用 Windows Server 2012 打造 NAS (1) - 組裝篇


?????????,????????? WD Sentinel DX4000,?????????????????,?????????????? Windows Storage Server 2008 R2,??? Windows Server 2012 ???,?????????????

????????? NAS ?,????????????,????????????????????????????? CFI-A7879


????: https://www.chyangfun.com/products_info/mini_itx/mini_img/A7879.jpg

???????? NAS Case ?????????? NAS ??,?????????? N400 ??


????: https://www.hkepc.com/forum/attachments/month_1201/1201050008b25edba18f260a20.jpg

???????,????????????,????????:

  1. ??: ???? N400 NAS ??
  2. ??: ???? 250AB-44K ????? 80-plus ??? OEM
  3. ???: ???? E35M1-I (AMD APU E-350, 6 x SATA 6Gbps)
  4. ???: ??? 2GB DDR3 x 2
  5. ??:
    • Intel SSD 330 120GB (OS)
    • WD Green 3TB x 2

?? WD ????????????? 12,000 ??,????????? NAS ???

???:
2012-09-10-13h04m31_small

???:
2012-09-11-19h05m33_small2012-09-11-19h05m49_small

??????????
2012-09-12-19h31m37_nEO_IMG

????????? Windows Storage Server 2012 ?????? NAS ???,???????? NAS ????????

???: ? Windows Server 2012 ?? NAS (2) - ???? (Storage Space) ?


用 Windows Server 2012 打造 NAS (2) - 存放集區 (Storage Space) 篇


????? Storage Space ???????? Building Windows 8 ???????? Virtualizing storage for scale, resiliency, and efficiency ??,????? RAID ??????????????RAID-0 ? RAID-1 ????????????????????,?????? RAID ????????,???? RAID ?????????????????????????? Windows Server 2012 ? Storage Space ?????????

?? Windows ????????????:?? (Disk) ???? (Volume),???????????????/?? RAID ??????,???? Fibre Channel/iSCSI ?? SAN ??? LUN????????????? (Partition),???? NTFS ??????????????????????
Disk Management 

???? (Storage Space) ? RAID ?????????,???????????????????(????)??,????????????????? RAID ????????????????????? (RAID 0/1/5/10/50..),??????????????????????,?????????????????????

????: Virtualizing storage for scale, resiliency, and efficiency

???????????????????????,??????????? RAID-0 ? RAID-1 ??????????,????? RAID ??????????,???????????????????????? NAS ???????,????? WD Green 3T ???????????????,Simple ????? RAID-0,Mirror ????? RAID-1,????????????????????
Storage Space-IchigoNAS

???????????????????,?????????:

  1. ??????
  2. ??????
  3. ??????????????????

???????,???? Windows Server 2012 ????????,?????????,?????????,??????????????,????????????? Primordial ???,???????????????????????????
Storage Space-1

????????????????????????? Storage Spaces ??????????????????????,?????????????????,?????????????????????
Storage Space-2

??????????????,??????????????,?????????????:?????? (Hot Spare),??????????,?????????????????????,??????????????????????????,????????????????????,??????????????????    
Storage Space-3

?????????????????,???????????????? 6TB ?????  
Storage Space-4

?????????,????????????:?????????????(V),?????????????????????????????  
Storage Space-5

??????????,?????????????,???????????????,???????????
Storage Space-6

?????????????? Storage Pool 1,????????
Storage Space-7

????????????,??????????????
Storage Space-8

??????????,Windows Server 2012 ????????????,Simple/Mirror/Parity

  1. Simple: ? RAID-0 Stripe Set ??,????????????????????,?????????????????,???????????????????,???????
  2. Mirror: ? RAID-1 Mirror Set ??,??????????????,?????????????????,????????????(4/6/8….) ??? RAID-10 (1+0)??? Windows Server 2012 ? Mirror ??????????,????????????? 3 ????????? 3-way Mirror,??????????????,?????????????????????
  3. Parity: ? RAID-5 Parity Set ??,?????????? 3 ???????,?????????????? RAID-0 ???,???????

????????????????????????????,??? Simple ??
Storage Space-9 

??????????,??? (Thin) ???? (Fixed) ??????????? Hyper-V ????? (VHD) ?????,???????????????????,??????????????????,???????????????????????,???? SAN/NAS ????? Thin Provisioning,??????????? Storage Virtualization????????
Storage Space-10

?????????????,?????????????????,??????????????? 6TB,?????????? 100TB ?????,??????? 6TB ?????????????????????????????,?????????????,???????????????????????,???????????
Storage Space-11

?????????????????????,???????????????
Storage Space-12

?????????????????????????????????????????????,??????????????,??????? Windows ??????????? (Partition),???? NTFS/FAT32/ReFS ????????????????????
Storage Space-13

Windows Server 2012 ????????????????? NAS/File Server,?????????????????????????,?????????????? (Thin Provisioning) ????? (Simple/Mirror/Parity) ?????????????